将ARM模板部署到Azure时出错

时间:2018-08-29 08:37:30

标签: azure azure-cli

使用az cli将ARM模板部署到Azure时出现以下错误:

Get Token request returned http error: 400 and server response: {"error":"invalid_grant","error_description":"AADSTS50173: The provided grant has expired due to it being revoked. The user might have changed or reset their password. The grant was issued on '2018-06-18T10:02:34.3290000Z' and the TokensValidFrom date for this user is '2018-08-27T08:45:47.0000000Z'
Trace ID: *********-****-****-****-************
Correlation ID: ********-****-****-****-************
Timestamp: 2018-08-29 08:31:34Z","error_codes":[50173],"timestamp":"2018-08-29 08:31:34Z","trace_id":"********-****-****-****-************","correlation_id":"********-****-****-****-************"}

1 个答案:

答案 0 :(得分:1)

看起来您的登录名(令牌)已过期。尝试使用以下方法再次登录

az login