Your Azure Credentials Have Not Been Set Up Or Have Expired

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:

  1. Remove-AzureAccount –Name <my UPN>
  2. Add-AzureAccount

I logged back into Azure via that last cmdlet and everything was fixed.

Technorati Tags: ,

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.