2016-09-07 9 views
0

我正在將我們的公司GIT的APIM代碼同步到APIM實例GIT。這一切似乎進展順利。使用Publish-AzureRmApiManagementTenantGitConfiguration發生錯誤 - 授權服務器無法刪除,因爲它至少分配給一個API

當我運行:

$PsApiManagementOperationResult = Publish-zureRmApiManagementTenantGitConfiguration -Context $context -Branch "master" -Force -PassThru -Verbose 

我得到以下錯誤: enter image description here

The authorization server cannot be deleted because it assigned to at least one API.

我似乎無法找出任何信息。誰能幫忙?

回答

1

解決方法是刪除我附加到我的某個API的OAuth 2.0設置。然後我可以部署,我部署的代碼將OAuth 2.0放回到正確的授權服務器。

相關問題