How to look up AKS managed AAD user ID

akhan 206 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
Azure Kubernetes Service
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
Microsoft Security | Microsoft Entra | Microsoft Entra ID
{count} votes

Your answer

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