【问题标题】:Add-AzureAccount : The cache contains multiple tokens satisfying the requirementsAdd-AzureAccount :缓存包含多个满足要求的令牌
【发布时间】:2014-06-16 09:13:46
【问题描述】:

我正在尝试install and configure Azure PowerShell

我已成功安装 Azure PS,当我运行 Add-AzureAccount 并使用我的有效凭据登录时,我会看到以下错误消息:

Add-AzureAccount :缓存包含多个满足 要求。再次调用 AcquireToken 提供更多要求 (例如用户 ID)

我该如何解决这个错误?

【问题讨论】:

    标签: powershell azure


    【解决方案1】:

    get-azureaccount 将显示您当前 powershell 会话中的所有帐户。

    http://msdn.microsoft.com/en-us/library/dn495234.aspx

    remove-azureaccount 将提示您输入要删除的帐户的名称。输入您要删除的电子邮件地址(姓名),它将删除它。

    http://msdn.microsoft.com/en-us/library/dn722529.aspx

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2015-02-08
      • 2016-07-26
      • 2018-09-07
      • 2017-11-18
      • 2012-10-30
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多