How can i "Run the following commands to add the service principal."

Kurokawa Ryo 0 Reputation points
2024-03-26T05:12:09.2966667+00:00

I am fighting with this tutorials.

https://github.com/Azure/mtm-labs/blob/main/container/prerequisites/acr.md#give-the-marketplace-access-to-your-acr

I'm tring this command.

Run the following commands to add the service principal.

 az ad sp create --id 32597670-3e15-4def-8851-614ff48c1efa

error says
Insufficient privileges to complete the operation.

Im owner of my subscription and I have arole of application administrator in Entra ID.

what else do ineed to complete this ?? help me

Azure Container Registry
Azure Container Registry
An Azure service that provides a registry of Docker and Open Container Initiative images.
465 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Deepanshukatara-6769 11,700 Reputation points
    2024-03-26T05:27:19.6966667+00:00

    Hi,

    “Application Developer” is an azure ad role and is what users will need to create app registrations, please check these docs for detailed ref https://learn.microsoft.com/en-us/azure/active-directory/roles/permissions-reference and https://learn.microsoft.com/en-us/entra/identity/role-based-access-control/permissions-reference

    User's image

    If it helps , please accept answer.


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.