How to update the SKU of the Azure container registry that is automatically created when creating an Azure Machine learning workspace

홍동균 20 Reputation points
2024-08-19T23:37:27.2966667+00:00

I am using Azure Mahcine Learning product and I have confirmed that Azure container registry resource group is automatically created when workspace is activated.

However, I am not using ACR specifically at the moment, so I want to change SKU to Basic from Premium, but I have confirmed DenyAssignmentAuthorizationFailed error as below.

Is there any other way to change SKU?

1After the above operation, deny assignment is checked.

image (1) I also confirmed the same result with Azure CLI.

$ az acr update --name ~~ --sku Basic
(DenyAssignmentAuthorizationFailed) The client '~~' with object id '~~' has permission to perform action 'Microsoft.ContainerRegistry/registries/write' on scope '₩₩~'; however, the access is denied because of the deny assignment with name 'Azure Machine Learning Services User RG access Denier~~
Code: DenyAssignmentAuthorizationFailed
Message: The client ~~
Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,888 questions
{count} votes

Accepted answer
  1. romungi-MSFT 45,721 Reputation points Microsoft Employee
    2024-08-20T05:58:05.24+00:00

    @홍동균 The message indicates a restriction on the RG to update the resources.

    This seems to the name of the rule, "Azure Machine Learning Services User RG access Denier"

    I have tried the update on my container registry attached to ML workspace and it works to update the registry SKU.

    User's image

    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Marcin Policht 23,545 Reputation points MVP
    2024-08-19T23:50:58.1433333+00:00

    Follow https://stackoverflow.com/questions/67552090/delete-and-recreate-the-registry-for-an-azure-machine-learning-workspace


    If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.

    hth

    Marcin


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.