Can't Connect to ACR from CLI or Docker

Thomas Woodward 101 Reputation points
2020-10-24T12:39:46.137+00:00

I'm trying to do the basics of connecting to the ACR and for some reason I can't connect to the ACR. I've tried connecting from Docker directly and through Visual Studio and each time I get an authentication error. So I tried connecting from from the CLI and I still get an authentication error. It says there's a problem with the AAD which the support page says means I'm not authenticating correctly. I've triple checked the login details. I rain an az acr health-check and it said the ACR didn't exist. Does anyone know what might be causing this? I use my email to authenticate. I appreciate your help.

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

Accepted answer
  1. Thomas Woodward 101 Reputation points
    2020-10-25T02:12:12.677+00:00

    @PierreEriksson That didn't directly solve my problem but it did give me a useful error message which allowed me to solve it. It turns out you the admin user (which I didn't know existed) is disabled by default. So I had to enable it and use the system generated strong password to login. Then everything worked. I was using my credentials because I made sure I had owner privileges, but apparently that doesn't count. Anyway, thanks for the help. You got me going in the right direction!

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. PierreEriksson 1 Reputation point
    2020-10-24T14:51:43.317+00:00
    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.