如何删除 Azure Databricks 资源组?

How do I delete Azure Databricks resource group?

我尝试遵循快速入门:运行 使用 Azure 门户在 Azure Databricks 上执行 Spark 作业,如下所述:https://docs.microsoft.com/en-us/azure/azure-databricks/quickstart-create-databricks-workspace-portal

但是当我稍后尝试删除该 databricks 资源的资源组时,我遇到了以下两个错误:

Delete resource group databricks-rg-mydatabricksws-5mlo3dio7wef2 failed The resource group databricks-rg-mydatabricksws-5mlo3dio7wef2 is locked and can't be deleted. Click here to manage locks for this resource group.

UnauthorizedApplicationId "The management lock ... is owned by system application"

参见:https://aka.ms/arm-lock

Lock Deletion Failure The lock named mydatabricksws was unable to be deleted for the following reasons: {"errorThrown":"Unavailable in batch","jqXHR":{"responseJSON":{"error":{"code":"UnauthorizedApplicationId","message":"The management lock 'mydatabricksws' is owned by system application(s) 'd9327919-6775-4843-9037-3fb0fb0473cb'.

我之前也遇到过同样的问题。我从这个 link.

得到了答案
  • Log into your Azure Databricks workspace as the account owner (the user who created the service), and click the user profile Account icon at the top right.

  • Select Manage Account.

  • In the Azure Databricks service, click Azure Delete and then OK.

您还可以从此 document 获得 Azure Databricks 代码演示。