Unable to Remove Azure Databricks Managed Resource Group

Viewed 4707

I created Azure Databricks in my resource group. This created the managed resource group with a storage account. My resource group also contains other database services such as Cosmos DB and SQL Server.

I removed the resource group after my work was complete. Unfortunately, the managed resource group did not get removed. Note: I did not remove the Databricks service, I deleted the resource group itself.

When I try to remove the managed resource group manually, I get the following error:

the access is denied because of the deny assignment with name 'System deny assignment created by Azure Databricks

Under IAM, I do see the Deny Assignment that was created by Databricks. Due to this, the resource group cannot be deleted.

It's been a few days since my resource group was deleted, but the managed resource group still remains.

How can I remove this managed resource group?

Databricks Managed Resource Group

1 Answers

The managed resource group created by Databricks cannot be deleted from portal or through any scripts since it was created by the Databricks resource itself. The deny assignment prevents deletion of the managed resource group. The only option is to contact support team.

Microsoft support allowed me to create a free ticket to raise the issue. The engineering team removed the restriction on the managed resource group and informed me that I can go ahead with deleting the same.

I was able to delete the managed resource group successfully. Also note that I was not able to re-produce the issue (it must be a one-off incident).

Thanks for all the help.

Related