An Apache Spark-based analytics platform optimized for Azure.
Hey Ha Nguyen , it sounds like your Databricks workspace is stuck in the “Deleting” state far longer than the usual 5–10 minutes. Here’s what you can try to unblock it:
- Make sure nothing’s holding the workspace open
- In the Databricks workspace, terminate all clusters, jobs, pools, notebooks, etc.
- Confirm with Azure CLI that no dependent resources are still alive:
az resource list --resource-group <YourResourceGroup>
- Check for system locks or deny assignments on the managed resource group
- Databricks creates a Managed Resource Group (MRG) with system-level deny assignments – you can’t delete those resources by hand.
- In the Azure portal: • Go to Resource Groups → <YourMRG> → Locks • Remove any Read-only or Delete locks
- Cancel and retry the deletion
- If the resource group is hanging in “Deleting,” you can cancel that operation:
az group cancel-deletion --name <YourResourceGroup> - Then delete the workspace again (portal, CLI, or REST API).
- If the resource group is hanging in “Deleting,” you can cancel that operation:
- If it still won’t budge, force-delete the workspace + its MRG
- Azure CLI:
az databricks workspace delete \ --resource-group <YourResourceGroup> \ --name <YourWorkspaceName> \ --force-deletion - PowerShell:
Remove-AzDatabricksWorkspace ` -ResourceGroupName <YourResourceGroup> ` -Name <YourWorkspaceName> ` -ForceDeletion
- Azure CLI:
Follow-Up Questions
• When you run a delete via CLI/API, do you see any error messages in the response or in Activity Logs?
• Can you confirm that all clusters, pools, and jobs in that workspace are terminated?
• Do you see any resource locks on the workspace or its managed resource group?
• Have you tried canceling the current delete operation before re-issuing the delete?
Reference docs
- Diagnose and resolve issues with workspace deletion https://learn.microsoft.com/azure/databricks/administration-guide/cloud-configurations/azure/troubleshoot-delete
- Remove system locks and deny assignments https://learn.microsoft.com/azure/role-based-access-control/deny-assignments?tabs=azure-portal
- Cancel resource group deletion https://learn.microsoft.com/cli/azure/group?view=azure-cli-latest#az_group_cancel-deletion
- Force delete via CLI https://learn.microsoft.com/cli/azure/databricks/workspace?view=azure-cli-latest#az-databricks-workspace-delete
- Force delete via PowerShell https://learn.microsoft.com/powershell/module/az.databricks/remove-azdatabricksworkspace
Hope one of these steps helps clear the stuck deletion! Let me know what you see.