Azure ML CLI v2 submit ML Job failed. command: az ml job create -f jobs/basics/hello-mlflow.yml --web #22931
Labels
Auto-Assign
Auto assign by bot
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
CXP Attention
This issue is handled by CXP team.
Machine Learning
az ml
Milestone
az version
{
"azure-cli": "2.37.0",
"azure-cli-core": "2.37.0",
"azure-cli-telemetry": "1.0.6",
"extensions": {
"ml": "2.5.0"
}
}
Related command
az ml job create -f jobs/basics/hello-mlflow.yml --web
Describe the bug
When follow the document https://docs.microsoft.com/en-us/azure/machine-learning/how-to-train-cli to submit ML job to China Azure ML Workspace, Command az ml job create -f jobs/basics/hello-mlflow.yml --web raised the error: Error with code: Unable to determine account name for shared key credential.
To Reproduce
Expected behavior
In the code “/azure/ai/ml/_azure_environments.py” in the CLI v2, it sets the storage URL in Azure China to :
ENDPOINT_URLS.STORAGE_ENDPOINT=".core.chinacloudapi.cn”
But it should be
ENDPOINT_URLS.STORAGE_ENDPOINT="core.chinacloudapi.cn”
I manually changed the code and now AML SDK v2 can run in Azure China.
Environment summary
Additional context
The text was updated successfully, but these errors were encountered: