Azure, PowerShell

Your Azure credentials have not been set up or have expired, please run Connect-AzureRmAccount to set up your Azure credentials.

Solution works as below

Clear-AzureRmContext

Login again: Connect-AzureRmAccount -Tenant “xxxxxxxxxxxx” -SubscriptionId “xxxxxxxxxxxx”

It works back now