CLI
Get a list of tenant subscriptions
az account list --output table
Login to Azure
az login
Login to a specific Azure tenant
az login --tenant <tenant-id>
Use a specific subscription
Needs to be excuted after az login
az account set --subscription "<subscription-id or name>"
Last updated