I have the same issue. AZ version is 2.7.0.
The CloudShell behaves the same, same error message.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Whenever I try to create a new k8s cluster, following the documentation: https://learn.microsoft.com/en-us/azure/aks/kubernetes-walkthrough, I get an error since yesterday.
This used to work perfectly well, at least until several weeks ago. But now I get this:
> Finished service principal creation[##################################] 100.0000%Operation failed with status: 'Bad Request'. Details: The credentials in ServicePrincipalProfile were invalid. Please see https://aka.ms/aks-sp-help for more details. (Details: token contains an invalid number of segments)
The command I used was (besides the names) what the doc said:
az aks create --resource-group myResourceGroup --name myAKSCluster --node-count 1 --enable-addons monitoring --generate-ssh-keys
It seems someone else bumped into this as well: https://github.com/MicrosoftDocs/azure-docs/issues/56103
I have the same issue. AZ version is 2.7.0.
The CloudShell behaves the same, same error message.
Hello,
Can you confirm the version of AzCLI you're using by running az --version?
Also, are you able to reproduce the same issue by using CloudShell?
Marcos M Martinez