首页 > 解决方案 > 将 ARM 模板部署到 Azure 时出错

问题描述

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":"********-****-****-****-************"}

标签: azureazure-cli

解决方案


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

az login

推荐阅读