Instructions not working

David Hughes 5 Reputation points
2024-06-02T01:58:41.9066667+00:00

Step 8 on this training isn't working.

david [ ~ ]$ az ml workspace create --name "mlw-dp100-labs" -g "new-group-name3243"

The deployment request mlw-dp100-labs-8429553 was accepted. ARM deployment URI for reference:

https://portal.azure.com//#blade/HubsExtension/DeploymentDetailsBlade/overview/id/%2Fsubscriptions%2F7b58f6c2-8a9c-4674-a576-fc7b8f86df12%2FresourceGroups%2Fnew-group-name3243%2Fproviders%2FMicrosoft.Resources%2Fdeployments%2Fmlw-dp100-labs-8429553

Creating Key Vault: (mlwdp100keyvault653b89a3 ) .. Done (17s)

Creating Storage Account: (mlwdp100storagefc7a7290d ) Done (25s)

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

david [ ~ ]$

This question is related to the following Learning Module

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
3,018 questions
{count} vote

1 answer

Sort by: Most helpful
  1. romungi-MSFT 47,436 Reputation points Microsoft Employee
    2024-06-03T08:20:03.58+00:00

    @David Hughes Following up on your previous comment on an older thread.

    https://learn.microsoft.com/en-us/answers/questions/1687545/i-am-not-able-to-create-a-workspace-on-azure-cloud?comment=question

    1. You would need to install azure cli first by following the steps on this page. Depending on your platform, choose the appropriate tab.
    2. If the Azure ML extension is already installed, you will need to run the command to create the workspace. User's image Download the YAML file locally and save it in a path that is accessible to azure cli and use the local file name with -f parameter as seen above. -g parameter needs the resource group name and --name is the name of your workspace.

    If ML cli extension is not installed, install the ML extension as mentioned here and then follow step 2.

    az extension add -n ml

    I hope this helps!!

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.