az-account
Manage Azure subscription information. tldr-pages
On several platforms
Several platforms
Manage Azure subscription information. Part of azure-cli (also known as az).
List all subscriptions for the logged in account
az account listIdentifySet a subscription to be the currently active subscription
az account set --subscription subscription_idIdentify--subscriptionName or ID of subscription. Azure CLI referenceList supported regions for the currently active subscription
az account list-locationsIdentifyPrint an access token to be used with MS Graph API
az account get-access-token --resource-type ms-graphIdentify--resource-typeType of well-known resource. Azure CLI referencePrint details of the currently active subscription in a specific format
az account show --output jsonIdentify--outputOutput format Azure CLI reference