Azure Advisor has identified that the service principal on one of our AKS clusters has expired.
I have followed the instructions here: https://learn.microsoft.com/en-gb/azure/aks/update-credentials?WT.mc_id=Portal-Microsoft_Azure_Health#update-aks-cluster-with-new-service-principal-credentials
The command that fails is of the form: az aks update-credentials --resource-group resourcegroupname --name clustername --reset-service-principal --service-principal servicepricipal --client-secret password(obtained from a credential reset)
The update-credentials command fails with usage error: --reset-service-principal | --reset-aad-profile
I have no idea what this means, or how to overcome it. If anyone has any ideas, or suggestions to try, that would be excellent.
Thanks.