az account
all
Manage Azure subscription information. Part of `azure-cli` (also known as `az`).
More info →Options (2)
-s, --subscriptionbooleanSet a `subscription` to be the currently active subscription
Example:
az account set {{[-s|--subscription]}} {{subscription_id}}-o, --outputbooleanPrint details of the currently active subscription in a specific format
Example:
az account show {{[-o|--output]}} {{json|tsv|table|yaml}}Examples (5)
List all subscriptions for the logged in account
az account listSet a `subscription` to be the currently active subscription
az account set [-s|--subscription] subscription_idList supported regions for the currently active subscription
az account list-locationsPrint an access token to be used with `MS Graph API`
az account get-access-token --resource-type ms-graphPrint details of the currently active subscription in a specific format
az account show [-o|--output] json|tsv|table|yamlmade by @shridhargupta | data from tldr-pages