Forum Navigation
You need to log in to create posts and topics.

Change default expired/disabled subscription


User logs in the portal and the main subscription has expired adding new subscription key ( such as azurepass ) results that  all the services only displays resources from the expired/disabled subscription


login to your account and open Cloud Shell

run the following command to get a list of your subscription

az account list –all

get a list of your accounts, choose and copy the ID of the account with state “Enabled”

set the account as default (change the account id )

az account set -s < ACCOUNT ID >


az account set -s ”620ca87d-f928-4888-9770-708e30e75a15″