An Apache Spark-based analytics platform optimized for Azure.
Hi Denis Guzman,
it looks like you’ve run into the classic “Deleting” limbo for Databricks workspaces and their managed RGs. Normally the async cleanup takes just a few minutes, but sometimes things hang if the backend catalog or RP operations get stuck. Here’s what you can try—100% free via Azure CLI or PowerShell, no paid support needed:
- Verify the stuck state and dependencies • Run
az databricks workspace show --resource-group <RG> --name <Workspace>to confirm theprovisioningStateis stillDeleting. • List any resources in the managed RG that might still be cleaning up:az resource list --resource-group <ManagedRG>• Make sure there are no private endpoints or network interfaces still attached. - Force-delete the workspace + its managed RG (CLI) • Azure CLI has a built-in flag to force deletion of the workspace catalog and MRG:
az databricks workspace delete \
--resource-group <YourRG> \
--name <YourWorkspace> \
--force-deletion \
--yes
```
• This will purge the workspace catalog (including Unity Catalog data if enabled) and then clean up the MRG.
- Or force-delete via Resource Group deletion (CLI) If you just want to blow away the RG and the workspace together, use:
az group delete \
--name <YourRG> \
--yes \
--no-wait \
--force-deletion-types Microsoft.Databricks/workspaces
This tells ARM to forcibly tear down any lingering Databricks workspaces inside the RG.
4. PowerShell equivalent
```powershell
```powershell
# Force delete a workspace
Remove-AzDatabricksWorkspace `
-ResourceGroupName <YourRG> `
-Name <YourWorkspace> `
-ForceDeletion
# Or force delete the RG + Databricks workspaces in it
Remove-AzResourceGroup `
-Name <YourRG> `
-ForceDeletionType Microsoft.Databricks/workspaces `
-Force
5. If the RG itself is stuck in “Deleting”
You can cancel a pending RG deletion and then retry the force delete:
```bash
az group cancel-deletion --name <YourRG>
Then repeat step 2 or 3.
Reference docs
• How to delete a workspace (includes force-delete flags)
https://learn.microsoft.com/azure/databricks/admin/workspace/delete-workspace#force-delete-the-workspace-catalog
• Troubleshoot DeploymentBeingDeleted errors
https://learn.microsoft.com/cli/azure/databricks/workspace?view=azure-cli-latest#az-databricks-workspace-delete
• Troubleshoot ResourceGroupBeingDeleted errors
https://learn.microsoft.com/azure/role-based-access-control/deny-assignments?tabs=azure-portal
Hope this helps. If you have any follow-up questions, please let me know. I would be happy to help.
**Please do not forget to "Accept Answer" and "up-vote" wherever the information provided helps you, as this can be beneficial to other community members.**