Azure / Azure/azure-cli

`az ml workspace create` does not create an ACR

Open
#27,336 3 comments 0 reactions 1 assignee Claimed by @luigiw View on GitHub
act-codegen-extensibility-squad Auto-Assign Auto-Resolve bug customer-reported Machine Learning Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

### Describe the bug

Creating new AML workspace with `az ml workspace create` does not create any ACR. The ACR is created once we have a job running and the ACR is named with a random name which is the major issue for us. The command deploys an arm deployment in our resource group and there we can see that AML, Application Insights, Storage Account, Key Vault and Log Analytics workspace are successfully created. When looking at the Inputs of the deployment we can see that the `containerRegistryOption` is set of `none`.

### Related command

`az ml workspace create -g $(azure.resourceGroup) -n $(azureml.workspaceName) -l $(azure.location)`

### Errors

to much client information, nothing about acr. If really needed will try to provide some of it.

### Issue script & Debug output

none

### Expected behavior

Creating an ACR as described here: https://learn.microsoft.com/en-us/cli/azure/ml/workspace?view=azure-cli-latest#az-ml-workspace-create

### Environment Summary

azure-cli 2.51.0 *

core 2.51.0 *
telemetry 1.1.0

Extensions:
ad 0.1.0
azure-devops 0.26.0
ml 2.19.1

Dependencies:
msal 1.24.0b1
azure-mgmt-resource 23.1.0b2

### Additional context

We use the command in DevOps pipeline.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.