azure-cli-extensions
azure-cli-extensions copied to clipboard
az ml 2.7.0 online-deployment update does not honour json output
Related command
$deployment = $(az ml online-deployment update --file deployment.yml --resource-group $ResourceGroupName --workspace-name $WorkspaceName --output json | ConvertFrom-Json)
Extension name (the extension in question)
ml
Description of issue (in as much detail as possible)
On Linux, under bash, az ml online-deployment update
appears to print progress dots, despite --output json
. These cannot be parsed as JSON causing an error in my PowerShell script:
ConvertFrom-Json : Conversion from JSON failed with error: Input string '...............................................................................................' is not a valid number. Path '', line 1, position 95.
Downgrading to 2.6.x mitigates this issue.
route to CXP team
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @azureml-github.
I'm not working this Azure ML at the moment. Closing.