I use the Azure “Ibiza” and management portals for most of my Azure admin, but there are times when PowerShell makes more sense:
- The feature is only available via PowerShell
- I need to do a lot and don’t want to be doing progress bar admin
Today, I had an issue where no matter what cmdlet I ran, I got this error:
Your Azure credentials have not been set up or have expired
Very annoying. Some googling lead me to a solution:
- Remove-AzureAccount –Name <my UPN>
- Add-AzureAccount
I logged back into Azure via that last cmdlet and everything was fixed.
Technorati Tags: Azure,PowerShell