附加AzureAccount:给定的关键是不是在词典present [英] Add-AzureAccount : The given key was not present in the dictionary

查看:126
本文介绍了附加AzureAccount:给定的关键是不是在词典present的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在微软的Azure PowerShell中,当我运行Add-AzureAccount命令我得到这个错误:


  

添加-AzureAccount:给定的关键是不是在词典present


有谁知道如何解决这个问题?

我有一个Azure的帐户。
我使用的Azure PowerShell的版本0.8.16和Windows 7 Service Pack 1中。


解决方案

我找到了答案,在这里我的问题

<一个href=\"http://blogs.msdn.com/b/devfish/archive/2015/02/12/get-azurevm-your-azure-credentials-have-not-been-set-up-or-have-expired-please-run-add-azureaccount-to-set-up-your-azure-credentials.aspx\">http://blogs.msdn.com/b/devfish/archive/2015/02/12/get-azurevm-your-azure-credentials-have-not-been-set-up-or-have-expired-please-run-add-azureaccount-to-set-up-your-azure-credentials.aspx

要解决这个问题的步骤如下:


  

      
  1. 删除-AzureAccount


  2.   
  3. 清除-AzureProfile


  4.   
  5. 添加-AzureAccount


  6.   

In Microsoft Azure PowerShell, when I run the Add-AzureAccount command I get this error:

Add-AzureAccount : The given key was not present in the dictionary.

Does anyone know how to fix this error?

I have an Azure Account. I am using Azure PowerShell version 0.8.16 and Windows 7 Service Pack 1.

解决方案

I found the answer to my problem here

http://blogs.msdn.com/b/devfish/archive/2015/02/12/get-azurevm-your-azure-credentials-have-not-been-set-up-or-have-expired-please-run-add-azureaccount-to-set-up-your-azure-credentials.aspx

The steps to fix the problem are as follows:

  1. Remove-AzureAccount

  2. Clear-AzureProfile

  3. Add-AzureAccount

这篇关于附加AzureAccount:给定的关键是不是在词典present的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆