Back

Explore Courses Blog Tutorials Interview Questions
0 votes
1 view
in Azure by (5.8k points)

I am trying to run any az ml function and am running into this error:

$ az ml -h

az: error: argument _command_package: invalid choice: ml

I do not see any suggestion so far that gets ml to be a supported function for azure-cli. Looking if anyone can help.

1 Answer

0 votes
by (9.6k points)

Prerequisites are that you have an Azure subscription. Since Azure ML workbench has been updated, you need to add CLI extension in Azure CLI. 

az extension add -n azure-cli-ml

Type y to install the extension. 

Once done, type this to check:

az ml -h

To update:

az extension update -n azure-cli-ml

For more commands, click here.

Browse Categories

...