How to look up AKS managed AAD user ID

akhan 201 Reputation points
2021-03-15T16:58:13.023+00:00

We are switching our current project from legacy to using AKS Managed AAD in terraform. Our code uses the legacy AKS service principal ID/Secret to setup some config. I am now wondering since we dont have to create a SP and it is managed as part of AKS AAD. Is it possible for me to look up the AKS-Managed AAD user ID ?
Thanks

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.
1,878 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,692 questions
{count} votes