ds1*_*s19 3 azure ms-release-management azure-web-app-service azure-devops
我正在尝试将构建部署到Azure WebApp.
在Azure(http://manage.windowsazure.com)中,我将Web应用程序链接到我的Visual Studio Online(VSTS)帐户.
在VSTS中,我使用单个任务创建了一个发布定义(Azure Web App部署); 任务配置为使用管理模块中定义的端点.服务端点配置为使用凭据.凭据使用的是Microsoft帐户.
发布失败,出现以下错误:
2015-12-02T18:17:35.4422685Z AzurePSCmdletsVersion= 0.9.8.1
2015-12-02T18:17:35.5692677Z Get-ServiceEndpoint -Name foo -Context Microsoft.TeamFoundation.DistributedTask.Agent.Worker.Common.TaskContext
2015-12-02T18:19:07.5877546Z Username= ********
2015-12-02T18:19:07.5887893Z azureSubscriptionId= foo-foo-foo-foo-foo
2015-12-02T18:19:07.5907904Z azureSubscriptionName= Pay-As-You-Go
2015-12-02T18:19:07.6278127Z Add-AzureAccount -Credential $psCredential
2015-12-02T18:19:09.7755541Z ##[error]-Credential parameter can only be used with Organization ID credentials. For more information, please refer to http://go.microsoft.com/fwlink/?linkid=331007&clcid=0x409 for more information about the difference between an organizational account and a Microsoft account.
2015-12-02T18:19:09.9664413Z ##[error]There was an error with the Azure credentials used for deployment.
Run Code Online (Sandbox Code Playgroud)
如何设置发布以使用Azure帐户的Microsoft帐户?
| 归档时间: |
|
| 查看次数: |
1048 次 |
| 最近记录: |