How can I properly use the Azure CLI to create an Azure ML workspace?

Andrew Foster 10 Reputation points
2024-05-16T22:02:14.98+00:00

I am trying to deploy an Azure ML workspace using the command:

az ml workspace create -n <workspace_name> -g <resource_group>.

I have already installed the Azure ML extension, and I have created the resource group. Everything I have read thus far indicates that I can now create the workspace programmatically with the CLI as show above. The code appears to create the storage account and key vault successfully. However, I am returned the following error message:

Code: ValidationError

Message: Missing dependent resources in workspace json

Target: workspace

Exception Details: (Invalid) Missing dependent resources in workspace json

Code: Invalid

Message: Missing dependent resources in workspace json

Target: workspace

Has anyone encountered this issue before?

Thanks in advance!

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,636 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Muyiwa Joseph Obadara 15 Reputation points
    2024-05-29T16:56:17.33+00:00
    2 people found this answer helpful.
    0 comments No comments