I finished setting up RBAC through AD with kubenetes roles last week. I revisited the page today to find (legacy) on it with a link to this article.
When attempting to upgrade my cluster I get the following message
C:\Users\devgi>az aks update -g <RG> -n <cluster name> --enable-aad --aad-admin-group-object-ids <object id> --aad-tenant-id <tenant id>
Operation failed with status: 'Bad Request'. Details: aadProfile.managed requires Microsoft.ContainerService/AAD-V2 feature flag.
Why is this the case? This feature flag appears to relate to Azure enabled RBAC but I am doing my roles through kubernetes. Why would I need this feature enabled?
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.
@devgibsonsp: Our release including managed-AAD GA is delayed. We just restored required preview flags in our docs.
Sorry, for the inconvenience it may cause. Checkout: https://aka.ms/aks/managed-aad
I'm going ahead closing this issue. Feel free to keep commenting, if needed.
Hi, @TomGeske when are you going to release a fix?
@ElkRom: I think preview flags should be added back to docs. Our deployment to remove those is currently ongoing and it will take a few days to land in all regions.
EDIT:
Just Saw Jorge's reply here: https://github.com/Azure/AKS/issues/1489#issuecomment-670046012
I'll test again tomorrow.
This is blocking AKS deployment via ARM template as well. As part of our build process we call the Azure ARM Validation, which fails with the error below. I've not attempted to skip the ARM validation - and just run the deployment, but can if desired.
There were errors in your deployment. Error code: InvalidTemplateDeployment.
"code": "BadRequest",
"message": "aadProfile.managed requires Microsoft.ContainerService/AAD-V2 feature flag."
}. Details:
Yes, correctly. Roll out is still ongoing. Should finish in a couple of days in all regions.
@TomGeske is there a way to monitor which regions require the feature flag and which don't? Our AKS cluster is West US