Open jkyl opened 4 months ago
Thank you for opening this issue, we will look into it.
Hi @jkyl Find similar issue https://github.com/Azure/azure-cli/issues/19640. | ||
---|---|---|
Issue title | Unofficial Azure CLI deb packages are distributed by Linux repositories | |
Create time | 2021-09-22 | |
Comment number | 9 |
Possible solution:
The error message you are seeing is caused by an unexpected keyword argument 'enable_broker_on_windows'. This issue has been reported before and it is related to the installation of unofficial Azure CLI packages from Linux repositories. To solve this issue, you need to uninstall the unofficial Azure CLI packages first with sudo apt remove azure-cli --yes && sudo apt autoremove --yes
and then install the latest official Azure CLI by following the official document: https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-linux?pivots=apt.
Please confirm if this resolves your issue.
Please confirm if this resolves your issue.
No, uninstalling with sudo apt remove azure-cli --yes && sudo apt autoremove --yes
and reinstalling with curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
as suggested does not resolve the issue.
The conda environment / CLI installation where this issue occurs is one configured by Azure ML. It is the default environment enabled on new compute instances. The only modifications I made were (from within the conda env):
az upgrade
az extension add -n ml --allow-preview false
Updating msal
fixed this error for me. Was previously on 1.22
and now on 1.28
pip install --upgrade msal
Thanks @akshayrana30 that fixed it for me too.
Describe the bug
The commands
az ml model list
andaz ml model download
fail with the following error:Other commands may fail too, but these are the ones I encountered.
Related command
az ml model list
az ml model download
Errors
Issue script & Debug output
Expected behavior
I expect
az ml model list
to print the list of models registered to my ML workspace. I expectaz ml model download
to download model artifacts for the specified model name and version.Environment Summary
Additional context
This is on a managed compute instance within an Azure ML workspace. I updated the Azure CLI and the ML extension to
2.59.0
and2.25.0
respectively, and subsequently encountered the error.