私はAzure Management Cmdletsバージョン1.0を使用しています。Windows Azureの自動展開。 PowerShellスクリプトの問題
私は次のPowerShellスクリプト
新展開-subscriptionId bef7722c-1a13-4c9f-b7f6-fafc0a958b35 -certificate D実行:\ PCG \ T.cer -serviceName 1ClickDeploymentTest -slot生産-packageのD:\ PCGを
\ CloudTodorTest.cspkg - 配置D:\ PCG \ ServiceConfiguration.cscfg -label LBL1 -StorageServiceName TodorTestStorage
場所D:\ PCG \ T.certはすでにあまりにアズールにアップロードされた証明書です。 パッケージと設定は、すでにAzure上で実行されているアプリケーションのローカルコピーです。 私はそれらを手動で展開しようとしましたが、それらは機能しています。
このスクリプトを実行した後、私は、次のエラーメッセージが表示されます
PS C:\ WINDOWS \ SYSWOW64 \ WindowsPowerShell \ v1.0を> D:\ PSScripts \ 新展開dt2.ps1:リモートサーバーが返さを予期しない応答:(400)Bad Request。 Dで :\ PSScripts \ dt2.ps1:1文字:15 +新展開< < < < -subscriptionId bef7722c-1a13-4c9f-b7f6-fafc0a958b35 -certificate D:\ PCG \ T.cer -serviceName 1Cli ckDeploymentTest -slotステージング - パッケージD:¥pcg¥CloudTodorTest.cspkg -configuration D:¥pcg¥ServiceConfiguration.cscfg -l abel lbl1 -StorageServiceName TodorTestStorage |取得-OperationStatus -WaitToComplete + CategoryInfo:CloseErrorを:(:) [新展開]、ProtocolException使用 + FullyQualifiedErrorId:Microsoft.Samples.AzureManagementTools.PowerShell.HostedServices.NewDeploymentCommand
私は他のコマンドレットを実行することができます。たとえば、現在の展開を確認するなどです。
ありがとうございました、これまでこの問題を解決しました。 – user331812