An Apache Spark-based analytics platform optimized for Azure.
Hi Nagarjuna Reddy,
it sounds like your Azure Databricks workspace deletion got stuck in “Deleting” for a couple of days. That usually happens because Databricks does an asynchronous clean-up of the workspace catalog and its managed resource group (MRG), which is protected by system-level locks. Here’s what you can try:
1. Give it a few more minutes
• Deletion normally takes 5–10 minutes to tear down VNets, VMs, managed disks, etc. If you just verify too early, it may still be cleaning up.
2. Ensure you’re workspace Owner and all clusters are terminated
• Sign in as the workspace creator/owner and confirm no active clusters or jobs remain.
3. Force delete the workspace (and its MRG)
• Azure CLI:
az databricks workspace delete \
--name <YourWorkspaceName> \
--resource-group <YourResourceGroup> \
--force-deletion \
--yes
• PowerShell:
Remove-AzDatabricksWorkspace \
-Name <YourWorkspaceName> \
-ResourceGroupName <YourResourceGroup> \
-ForceDeletion
4. Alternatively, delete the entire resource group with a force-deletion type
• Azure CLI:
az group delete \
--name <YourResourceGroup> \
--force-deletion-types Microsoft.Databricks/workspaces \
--yes
• PowerShell:
Remove-AzResourceGroup \
-Name <YourResourceGroup> \
-ForceDeletionType Microsoft.Databricks/workspaces \
-Force
5. Check for and remove any locks or deny assignments
• In the Azure portal, browse to your resource group → Locks, and delete any ReadOnly or Delete locks.
• Or via CLI: az lock list/delete commands.
6. Cancel a stuck resource-group deletion (if you kicked off RG delete prematurely)
• Azure CLI: az group cancel-deletion --name <YourResourceGroup>
If after all that the workspace still shows “Deleting,” could you share:
- The exact error message you see when running the CLI/PowerShell delete command
- Whether your managed resource group still exists and if you see any locks on it
- The role you’re assigned on the subscription and resource group
That info will help pinpoint any permission issues or hidden locks. Hope this helps get your workspace fully cleaned up!
References
• Delete a workspace (force-delete via CLI/PowerShell/portal): https://learn.microsoft.com/azure/databricks/admin/workspace/delete-workspace?wt.mc_id=azure-cxp-community
• Diagnose and resolve issues with workspace deletion (system deny assignments & async cleanup): https://learn.microsoft.com/azure/databricks/error-messages/error-classes#workspace-deletion-issues
Note: This content was drafted with the help of an AI system. Please verify the information before relying on it for decision-making.