CmdID

CmdID / Commands

az-account

Manage Azure subscription information. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Manage Azure subscription information. Part of azure-cli (also known as az).

List all subscriptions for the logged in account

az account listIdentify

Set a subscription to be the currently active subscription

az account set --subscription subscription_idIdentify
--subscriptionName or ID of subscription. Azure CLI reference

List supported regions for the currently active subscription

az account list-locationsIdentify

Print 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 reference

Print details of the currently active subscription in a specific format

az account show --output jsonIdentify
--outputOutput format Azure CLI reference