Service principal creation failed by privilege access

Infra 0 Reputation points

We are trying to create a main service for Atlas MongoDB to provide access to our API in Kubernetes, however, we saw that our permission was not necessary to be able to create the account, when trying to add the permission (Global Administrator) we saw that We didn't have permission on any of the accounts (including owners), would you be able to help us?


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

1 answer

Sort by: Most helpful
  1. Shweta Mathur 28,846 Reputation points Microsoft Employee

    Hi @Infra ,

    Thanks for reaching out.

    Above information is not suffixed to troubleshoot the issue.

    Could you please confirm are you trying to create a service principal with role?

    Also, could you please confirm do you have User Access Administrator or Role Based Access Control Administrator permissions, or higher, to create a service principal in your subscription.

    Refer this to create a service principal -

    Hope this will help.



    0 comments No comments