gpt4 book ai didi

powershell - 自动化帐户链接到工作区 Azure

转载 作者:行者123 更新时间:2023-12-03 01:07:36 24 4
gpt4 key购买 nike

我正在尝试删除 Microsoft Azure 中的自动化帐户。

当我运行下面的命令时,出现以下错误:

Remove-AzureRmResource -ResourceGroupName changed_resource_group_name -ResourceType Microsoft.Automation/automationAccounts -ResourceName changed_resource_name ApiVersion 2015-10-31 -Force

我收到以下错误:

{
"code": "Conflict",
"message": "Automation account is linked to a workspace. SubscriptionId: changed_subscription_id AccountName: changed_automation_ac_name WorkspaceId: /subscriptions/...../providers/microsoft.operationalinsights/workspaces/...."
}

有人知道如何解决这个问题吗?

最佳答案

根据您的描述,您需要取消您的自动化帐户与工作区的链接。您可以在 Azure 门户上执行此操作。

enter image description here

更多信息请引用此link .

完成此操作后,您可以删除您的自动化帐户。

关于powershell - 自动化帐户链接到工作区 Azure,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43895223/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com