Unable to delete Azure Machine Learning Services resources due to Deny Assignment

James 1 Reputation point
2023-08-13T16:32:33.9733333+00:00

How can I remove a Deny Assignment from Azure Machine Learning Services so that I can delete a workspace resource group, storage account, and container registry? I have already checked Blueprints as resources suggest, but there are no Assigned blueprints. The Deny Assignment is read-only.

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
3,336 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Manu Philip 20,206 Reputation points MVP Volunteer Moderator
    2023-08-13T17:28:42.1866667+00:00

    You may try Azure CLI to delete the resources as indicated below:

    az ml workspace delete --name
                           --resource-group
                           [--all-resources]
                           [--no-wait]
                           [--permanently-delete]
                           [--yes]
    

    For example, the following command to be used to permanently delete all the resources

    az ml workspace delete --name <name> --resource-group <rg name> --all-resources --permanently-delete


    --please don't forget to upvote and Accept as answer if the reply is helpful--


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.