az acr login fails with CONNECTIVITY_REFRESH_TOKEN_ERROR

Nicolas ESPIAU 51 Reputation points
2022-11-18T11:59:24.553+00:00

Hello folks,

I'm trying to perform a simple az acr login but I get the following error:

Unable to get AAD authorization tokens with message: 2022-11-18 11:35:49.652243 An error occurred: CONNECTIVITY_REFRESH_TOKEN_ERROR  
Access to registry 'REGISTRYAME.azurecr.io' was denied. Response code: 403. Please try running 'az login' again to refresh permissions.  
Unable to get admin user credentials with message: Admin user is disabled.  

I performed an az login first, it worked.
I checked my roles, I'm owner of the registry and I also added ACR push and ACR pull permissions.

I'm stuck here, what's happening?

I'm using AZ CLI 2.42.0 on Ubuntu.

Thanks!

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

1 additional answer

Sort by: Most helpful
  1. Nicolas ESPIAU 51 Reputation points
    2022-11-21T09:19:42.277+00:00

    I'm closing this issue, it's working again this morning.

    0 comments No comments