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:
Remove-AzureAccount
Clear-AzureProfile
Add-AzureAccount
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With