Have a good day everyone, May i know anyone got any clue on the role assignment for ACR when creating AKS cluster
az aks create --resource-group 'P1Test1ResourceGroup' --name 'P1AKSCluster' --node-count '1' --generate-ssh-keys --attach-acr /subscriptions/xxxxxxxxxxxxxxxxxxxxxxx/resourceGroups/P1Test1ResourceGroup/providers/Microsoft.ContainerRegistry/registries/P1ACR1
az :
At line:1 char:1
+ az aks create --resource-group 'P1Test1ResourceGroup' --name 'P1AKSCl ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
Waiting for AAD role to propagate[### ] 10.0000%
Waiting for AAD role to propagate[####### ] 20.0000%
Waiting for AAD role to propagate[########## ] 30.0000%
Waiting for AAD role to propagate[############## ] 40.0000%
Waiting for AAD role to propagate[################## ] 50.0000%
Waiting for AAD role to propagate[##################### ] 60.0000%
Waiting for AAD role to propagate[######################### ] 70.0000%
Waiting for AAD role to propagate[############################ ] 80.0000%
Waiting for AAD role to propagate[################################ ] 90.0000%
ERROR: Could not create a role assignment for ACR. Are you an Owner on this subscription?