Migrate to AKS Managed AAD Integration Question

Jingnan Xu 0 Reputation points Microsoft Employee
2023-12-18T08:00:22.1733333+00:00

In docs I find an unfamiliar parameter aad-admin-group-object-ids

az aks create -g myResourceGroup -n myManagedCluster --enable-aad --aad-admin-group-object-ids <id> [--aad-tenant-id <id>]

I use az aks show to get more infos about cluster and I find a "principalId", and I use it as aad-admin-group-object-ids, the cmd runs correctly, and in portal I can see a group shows up in "Cluster admin ClusterRoleBinding" page

User's image

The name is the cluster name. But I am still not sure whether the progress is correct.

Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
2,235 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Anveshreddy Nimmala 3,550 Reputation points Microsoft Vendor
    2023-12-20T04:06:00.6066667+00:00

    Hello Jingnan Xu,

    We checked with internal team on this parameter which is used to set the Entra ID (Azure AD) groups that will have Cluster Admin Kubernetes RBAC automatically applied within the cluster. This should not be the cluster’s principal ID, but instead one or more groups that administer the cluster.

    It maps to this field in the UX, You can find the object ID’s for the respective Entra ID groups either through the Entra ID Portal or via [az ad group show](https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Fcli%2Fazure%2Fad%2Fgroup%3Fview%3Dazure-cli-latest%23az-ad-group-show&data=05%7C02%7Cv-annimmala%40microsoft.com%7Cc38d5a734b0240d9991208dc00aaded2%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638385981217172084%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Q1c9eNWIWE5ZZeHZogr1RaQdmFKKS%2FXcDfVyIT6yRIo%3D&reserved=0"Original URL: https://learn.microsoft.com/en-us/cli/azure/ad/group?view=azure-cli-latest#az-ad-group-show. Click or tap if you trust this link.")

    Hope this answer helps you, please like the answer if you are satisfied with the answer.User's image


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.