Service principal creation failed by privilege access

Infra 0 Reputation points
2024-06-10T21:12:42.9733333+00:00

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?

azErro.png

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,996 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,623 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Shweta Mathur 29,681 Reputation points Microsoft Employee
    2024-06-12T07:00:21.32+00:00

    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 - https://learn.microsoft.com/en-us/cli/azure/azure-cli-sp-tutorial-1?tabs=bash

    Hope this will help.

    Thanks,

    Shweta

    0 comments No comments