【问题标题】:How to remove Azure On-Premises Data Gateway connection gateway installations?如何删除 Azure 本地数据网关连接网关安装?
【发布时间】:2024-01-17 09:27:01
【问题描述】:

Azure On-Premises Data Gateway 在 Azure 中的虚拟机上安装时使用了错误的 Azure 区域设置。卸载本地数据网关后,原有的连接网关安装不会被删除,并且无法再创建同名的新连接网关。我什至尝试删除虚拟机以查看它们是否会消失。这没有影响。

在 Azure 门户中创建本地数据网关时,我仍然可以选择旧的安装名称。

以下请求还会返回这些安装:

https://management.azure.com/subscriptions/{subscriptionId}/Microsoft.Web/locations/northeurope/connectionGatewayInstallations?api-version=2015-08-01-preview

我尝试通过对 connectionGatewayInstallations 端点的 DELETE http 请求删除它们,但返回了 400 Bad Request:

https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/northeurope/connectionGatewayInstallations/{connectionGatewayInstallationId}?api-version=2015-08-01-preview

{
    "error": {
        "code": "DisallowedResourceOperation",
        "message": "The operation 'delete' on resource type 'locations/connectionGatewayInstallations' is disallowed."
    }
}

有人对如何删除这些 connectionGatewayInstallations 有任何想法吗?

【问题讨论】:

  • 卸载本地数据网关后,您不应再在连接网关安装下看到它。您还在 PowerBI 门户中看到您的网关吗? (在设置 -> 管理网关下)
  • 我们目前没有使用 PowerBI。查看 5 月的一些博客文章,删除安装的功能将很快添加:azure.microsoft.com/en-us/blog/…删除 Azure 中的网关资源您现在可以删除 Azure 中的网关连接资源并将您的网关关联到不同的Azure 资源。删除网关安装的功能即将推出。”

标签: azure azure-virtual-machine azure-logic-apps


【解决方案1】:

看起来这个问题自己解决了。 api 中连接网关安装的端点 uri 已更改,旧连接现已消失。

【讨论】: