2017-06-22 53 views
4

Azure On-Premises Data Gateway在Azure中的虛擬機上安裝了錯誤的Azure區域設置。卸載本地數據網關後,原始連接網關安裝不會被刪除,並且不能再創建具有相同名稱的新連接網關。我甚至嘗試刪除虛擬機來查看它們是否會消失。這沒有影響。如何刪除Azure本地數據網關連接網關安裝?

在Azure門戶中創建本地數據網關時,我仍然可以選擇舊的安裝名稱。

而且下面的請求返回的設備:

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

Connection Gateway Installations

我試着用DELETE HTTP請求到connectionGatewayInstallations終端刪除它們,而是返回400錯誤的請求:

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?

+0

一旦內部部署數據網關被卸載,您不應再在連接網關安裝下看到它。你還能在PowerBI門戶中看到你的網關嗎? (在設置 - >管理網關) –

+0

我們目前沒有使用PowerBI。 看看5月份的一些博客帖子,即將添加刪除安裝的功能:https://azure.microsoft.com/en-us/blog/on-premises-data-gateway-functionality-goes-ga-in -zure/ 「**刪除Azure中的網關資源** 現在,您可以在Azure中刪除網關連接資源,並將您的網關關聯到其他Azure資源,即將刪除網關安裝。 –

回答

0

看起來像是這個問題已經解決了。連接網關安裝的端點uri在api中發生了變化,舊的連接現在不見了。