azure-cli icon indicating copy to clipboard operation
azure-cli copied to clipboard

Capability to ignore Resource Not Found errors in "az aks update-credentials"

Open imriss opened this issue 5 years ago • 4 comments

Is your feature request related to a problem? Please describe.

When trying to update an AKS cluster with new service principal credentials using az aks update-credentials command, it is blocked with an error about a Resource not Found (a Microsoft.OperationalInsights resource).

Describe the solution you'd like

A way to run this command while ignoring such resource not found errors

Describe alternatives you've considered

Additional context

imriss avatar Nov 07 '20 17:11 imriss

As a workaround, the suggestion to disable monitoring add-on for the cluster helped: az aks disable-addons -a monitoring --resource-group clusterresourcegroup --name clustername (from here: https://github.com/Azure/AKS/issues/1380). However, still it would be helpful to have the capability to ignore Resource Not Found errors. Thanks

imriss avatar Nov 07 '20 23:11 imriss

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Azure/aks-pm.

ghost avatar Nov 08 '20 01:11 ghost

aks

yonzhan avatar Nov 08 '20 01:11 yonzhan

Hi @imriss, sorry this 5-year-old issue never got a meaningful response. Is being able to ignore "Resource Not Found" errors still an active ask?

mbifeld avatar Dec 09 '25 17:12 mbifeld

Hi @mbifeld, thanks for the follow up. I am not blocked by it right now. However, it might be helpful in edge cases.

imriss avatar Dec 20 '25 17:12 imriss