Azure Devops: Model Register and package through Azure CLI in Devops pipeline Task

Viewed 123

While Registering the model in Azure devops pipeline task through Inline script, its giving below issue:

Command:

az ml model register -g $(ml.resourceGroup) -w $(ml.workspace) -n model_test --model-path ./Configuration/outputs/ -t model.json

Error:

Encountered authorization while uploading to blob storage. Please check the blob storage account attached to your workspace. Make sure current user is authorized to access the storage account and that the request is not blocked by firewall , virtual network and other security setting.

status code: 403

can someone help e on above issue?

1 Answers

I think I've seen this before. Probably you have an outdated version of the CLI. Pease run:

az upgrade
az extension update -n ml
Related