2

I am having a visual studio subscription. From that I am having a benefit of accessing azure devops. I have used docker container registry for image build and push, and it is successful. Now I have changed to Azure container registry, this time image build is successful, but push failed saying unauthorized access. See below error
The push refers to repository [(registryname).azurecr.io/(myname)/myfirstproject]. unauthorized: authentication required

I have tried to select Service Principal Authentication option, but saying

**Failed to create an app in Azure Active Directory. Error: Insufficient privileges to complete the operation.**

So, I have used Managed Identity Authentication option, but the push image failed.

Is it like I have to use Service Principal Authentication option only to push the image in ACS or am I missing anything. I can provide more information if required. Thanks in advance.

3

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.