アップグレードしたいサービスはリソース グループにあり、ユーザー アカウントはそのリソース グループの所有者として構成されています。ユーザー アカウントは、1 つのリソース グループのみにアクセスするように制限されています。
cspkg
とファイルをアップロードすることで、新しい管理ポータルを使用してクラウド サービスを正常に更新できcscfg
ます。
Azure Powershell を使用してこのプロセスを自動化しようとしています。
これは私がこれまでに試したことです:
Set-AzureDeployment -Upgrade -ServiceName test-service -Configuration C:\temp\test-service.cscfg -Package "https://test-service.blob.core.windows.net/azurepowershelldeploy/test-package.cspkg" -Slot Production -Mode Auto -Label test-2015-07-28T00:33:04
ForbiddenError: The server failed to authenticate the request.
Verify that the certificate is valid and is associated with this subscription.
フィドラーを調べると、このエンドポイントにリクエストが送信され、403 禁止が返されます。
POST /xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx/services/hostedservices/test-service/deploymentslots/Production/?comp=upgrade HTTP/1.1
ASM API はリソース グループで適切に動作しないと思います。新しい ARM API を使用してクラウド サービスを更新する方法はありますか?