PRODConfirmInvitationCode:“无法获取Azure的访问令牌。状态码:401,状态消息:未经授权”

时间:2019-04-23 07:45:04

标签: azure azure-devops azure-pipelines azure-pipelines-release-pipeline arm-template

从Azure DevOps部署到Azure订阅并出现错误时:

  

下载机密:

     

PRODConfirmInvitationCode:“无法获取Azure的访问令牌。   状态码:401,状态消息:未经授权”   PRODSendInvitationCode:“无法获取Azure的访问令牌。   状态码:401,状态消息:未经授权”   PRODValidateInvitationCode:“无法获取Azure的访问令牌。   状态码:401,状态消息:未经授权”   PRODLehisoGraphEnabledClientId:“无法获取访问令牌   天蓝色。状态码:401,状态消息:未经授权”   PRODLehisoGraphEnabledClientSecret:“无法获取访问令牌   天蓝色。状态码:401,状态消息:未经授权”   PRODOticonGraphEnabledClientId:“无法获取访问令牌   天蓝色。状态码:401,状态消息:未经授权”   PRODOticonGraphEnabledClientSecret:“无法获取访问令牌   天蓝色。状态码:401,状态消息:未经授权”   PRODConfirmPasswordReset:“无法获取Azure的访问令牌。   状态码:401,状态消息:未经授权” PRODSendPasswordReset:   “无法获取Azure的访问令牌。状态码:401,状态   消息:未经授权” PRODValidatePasswordReset:“无法获取   Azure的访问令牌。状态码:401,状态消息:   未经授权”

1 个答案:

答案 0 :(得分:2)

错误原因是服务主体的机密已过期,因此解决方案是使用手动或自动方式来续订服务主体密钥。

enter image description here

enter image description here

相关问题