-
Notifications
You must be signed in to change notification settings - Fork 3.4k
az acr login fails with ValueError on az-cli 2.75.0 #32003
Copy link
Copy link
Open
Labels
Auto-AssignAuto assign by botAuto assign by botAuto-ResolveAuto resolve by botAuto resolve by botMachine Learning ComputePossible-SolutionService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.Similar-IssuebugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.
Metadata
Metadata
Assignees
Labels
Auto-AssignAuto assign by botAuto assign by botAuto-ResolveAuto resolve by botAuto resolve by botMachine Learning ComputePossible-SolutionService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.Similar-IssuebugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.
Describe the bug
When using the latest Azure CLI (az-cli==2.75.0) on a newly deployed Linux Azure Machine Learning Workspace Compute Instance (25.07.12) to log in to Azure Container Registry, the following error occurs:
ValueError: API version 2025-03-01-preview does not have operation group 'registries'Related command
az acr login --name <your_registry_name>Errors
ValueError: API version 2025-03-01-preview does not have operation group 'registries'Issue script & Debug output
NA
Expected behavior
Login to ACR should succeed without errors.
Environment Summary
azure-cli 2.75.0
core 2.75.0
telemetry 1.1.0
Extensions:
azure-cli-ml 1.41.0
ml 2.38.0
Dependencies:
msal 1.33.0b1
azure-mgmt-resource 23.3.0
Python location '/anaconda/envs/azureml_py38/bin/python'
Config directory '/home/azureuser/.azure'
Extensions directory '/opt/az/extensions'
Python (Linux) 3.10.11 (main, May 16 2023, 00:28:57) [GCC 11.2.0]
Legal docs and information: aka.ms/AzureCliLegal
Additional context
The same workflow works on az-cli==2.64.0 in Compute Instance Linux 24.12.31
Likely related to dependency or SDK/API version mismatch in the 2.75.0 release.
Could be a breaking change introduced in the new CLI release.