Closed kevinevans1 closed 10 months ago
resolved by installing the ACR helper https://github.com/Azure/acr-docker-credential-helper
@kevinevans1 - That credential helper is not being maintained and should not be required. Could you please open a support ticket so that we can follow up.
@sajayantony re-opened as requested
Hi @kevinevans1,
Please open a [support ticket](https://azure.microsoft.com/support/create-ticket/) with our team to investigate as this board is primarily used to provide roadmap updates. Closing this issue here so we can track through the support ticket.
Behaving the same for me. I was struggling for a few hours to login, finally succeeded using the helper. OS: Ubuntu 22.04.3 LTS az-cli version
$ az -v
azure-cli 2.53.1
core 2.53.1
telemetry 1.1.0
Dependencies:
msal 1.24.0b2
azure-mgmt-resource 23.1.0b2
Python location '/opt/az/bin/python3'
Extensions directory '/home/leo/.azure/cliextensions'
Python (Linux) 3.10.10 (main, Oct 24 2023, 06:10:14) [GCC 11.4.0]
Legal docs and information: aka.ms/AzureCliLegal
Describe the bug Unable to login into azure container registry using the 'az acr login command'
To Reproduce Steps to reproduce the behavior:
error getting credentials - err: exit status 1, out:
no usernames for acrlab10.azurecr.io` Login failed.'Expected behavior Should be able to login to azure container registry using azure AD RBAC
Screenshots screen shot attached
Any relevant environment information