每次我尝试从 Azure CLI 运行命令时,都会返回一条错误消息,指出我的凭据已过期。这可能在我注销然后重新登录并尝试运行任何类型的命令后立即发生。下面是一个示例:
user:~ $ azure group show resourcename
info: Executing command group show
+ Listing resource groups
error: Credentials have expired, please reauthenticate.
Detailed error message from ADAL is as follows: Error: Entry not found in cache.
info: Error information has been recorded to /Users/me/.azure/azure.err
error: group show command failed