Having some trouble with one of our DevOps pipelines. In the pipeline, we install the Azure MLv2 CLI extension and then use the extension to make a call to our AzureML workspace. The pipeline was working fine yesterday, but now results in an error saying that 'ml' is misspelled or not recognized. There is an additional message about a name import that might be causing the issue. Here is the full error message:
ERROR: 'ml' is misspelled or not recognized by the system.
Examples from AI knowledge base:
az extension add --name anextension
Add extension by name
az extension list-available
List all publicly available extensions
https://learn.microsoft.com/en-US/cli/azure/extension#az_extension_add
Read more about the command in reference docs
cannot import name 'case_insensitive_dict' from 'azure.core.utils' (/opt/az/lib/python3.10/site-packages/azure/core/utils/init.py)
Azure CLI Versions:
WARNING: You have 2 updates available. Consider updating your CLI installation with 'az upgrade'
azure-cli 2.37.0 *
Please let us know how we are doing: https://aka.ms/azureclihats
core 2.37.0 *
and let us know if you're interested in trying out our newest features: https://aka.ms/CLIUXstudy
telemetry 1.0.6
Extensions:
ml 2.5.0
azure-devops 0.25.0
Dependencies:
msal 1.18.0b1
azure-mgmt-resource 21.1.0b1
Python location '/opt/az/bin/python3'
Extensions directory '/opt/az/azcliextensions'
Python (Linux) 3.10.4 (main, May 23 2022, 14:03:08) [GCC 9.4.0]
Trying to update the CLI version also results in an error