I am creating an AKS cluster having Azure managed integration with Azure Active Directory as mentioned in product docs –
docs
As per the documentation, a pre-registered app with the name "Azure Kubernetes Service AAD Server" should get created in App Registration. But it is not getting created in my case.
Command used to create cluster :
az aks create -g myGroup -n myCLusterName --enable-aad --aad-admin-group-object-ids myAADGroupId
What could be the issue here ?
2
Answers
From CLI, I was able to extract the application -
az ad sp list --display-name "Azure Kubernetes Service AAD Server"
I tried to reproduce the same in my environment and got below results:
I don’t have "Azure Kubernetes Service AAD Server" service principal in my Enterprise Applications before creating cluster.
Now I created one cluster by running same command as you like below:
Response:
When I checked Enterprise Applications now, I can see "Azure Kubernetes Service AAD Server" service principal like below:
Make sure to remove filters while searching for service principal in Enterprise Applications.