Capability to ignore Resource Not Found errors in "az aks update-credentials"
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
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
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Azure/aks-pm.
aks
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?
Hi @mbifeld, thanks for the follow up. I am not blocked by it right now. However, it might be helpful in edge cases.