Issue with Azure Service Principal and ACR Authentication

Ajay Bahuguna 20 Reputation points
2025-01-15T09:33:36.3733333+00:00

I’ve created an Azure Service Principal and assigned the following roles: ACR Push, ACR Pull, and Contributor. The commands I used are:

1: az ad sp create-for-rbac --name "

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

1 answer

Sort by: Most helpful
  1. LISBOA 75 Reputation points Microsoft Employee
    2025-02-22T07:52:00.1733333+00:00

    Hello Ajay Bahuguna,

    I hope you are doing well.

    From your statement all seems working.

    Anyway, please visit the links below:

    https://learn.microsoft.com/en-us/azure/container-registry/container-registry-auth-service-principal

    https://learn.microsoft.com/en-us/azure/container-registry/container-registry-authentication?tabs=azure-cli

    Let us know if you need anything else. Or if it's ok, please accept the answer.

    0 comments No comments

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.