【发布时间】:2018-02-18 11:58:37
【问题描述】:
我有一个 ASP.NET MVC 应用程序并希望将其部署到 Azure 云服务。
我已添加 Azure 云服务部署任务并尝试使用“新建按钮”配置订阅详细信息。有两个字段要求输入用户名和密码。所以我输入了用于登录portal.azure.com 的凭据。但是在发布过程中出现错误。如果我遗漏了什么,你能帮忙吗?
2018-02-14T22:43:28.0976940Z ##[command]Import-Module -Name C:\Program Files\WindowsPowerShell\Modules\AzureRM.Profile\2.1.0\AzureRM.Profile.psm1 -Global
2018-02-14T22:43:28.1499971Z ##[command]Add-AzureAccount -Credential System.Management.Automation.PSCredential
2018-02-14T22:43:31.8827701Z ##[error]AADSTS50079:用户需要使用多重身份验证。
【问题讨论】:
标签: azure azure-devops azure-pipelines azure-pipelines-release-pipeline