Azure ML Resource not getting deleted

Samrat Dasgupta 0 Reputation points
2025-04-26T16:29:41.04+00:00

Azure ML Worskspace not getting deleted.

I tried to create a compute cluster, it was in creation state for over an hour. When I got worried about billing and tried to delete the resource group, it deleted everything but the Azure ML workspace.

Since then , I have also tried to delete the workspace without any luck.

Since the clusters are 'Creating' state for ever, I cannot delete them, if they are the reason for the issue. Microsoft support is just on wait.. and I am on a basic plan, so cannot raise the issue.

What do I do ? I am worried if they charge me for the 2 clusters [each have 2 nodes showing unprovisioned state]... Please help on what I need to do

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

1 answer

Sort by: Most helpful
  1. Sina Salam 19,371 Reputation points
    2025-04-26T23:20:53.5966667+00:00

    Hello Samrat Dasgupta,

    Welcome to the Microsoft Q&A and thank you for posting your questions here.

    I understand that your Azure ML Resource is not getting deleted.

    Regarding your explanations, so sorry to hear about the trouble you're experiencing. This is what you need to do:

    1. Go to the Azure Machine Learning studio in the Azure portal.
      • Navigate to the "Compute" section.
      • Find the compute clusters that are stuck in the "Creating" state.
      • Select the compute cluster, and you should see an option to cancel or delete it. This should help to delete the Stuck Compute Clusters.
    2. If the workspace is still not deleting, you can try using the Azure CLI to delete it:
         az ml workspace delete --resource-group <your-resource-group> --workspace-name <your-workspace-name> --all-resources
      
      Ensure you have the Azure CLI installed and authenticated with az login
    3. Concerning your billing, compute clusters in an unprovisioned state should not incur charges. Azure ML compute clusters auto-scale to 0 nodes when idle, meaning you shouldn't be billed for them when they are not in use. However, to be certain, you can monitor your billing through the Azure portal and even on a basic plan, you can still reach out to Azure support through the Azure portal or Priority Customer Support.

    I hope this is helpful! Do not hesitate to let me know if you have any other questions or clarifications.


    Please don't forget to close up the thread here by upvoting and accept it as an answer if it 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.