az account
SafeSwitch subscriptions
az account show / az account set -s <sub>
Shows/sets the active subscription — 'missing resources' usually means you're on the wrong one.
Examples
az account set --subscription Prod-01Target the prod subscription
Syntax
az account [show|list|set --subscription name]
Before you run it
Switches context only.
Related commands
- az login / account showAzure auth
- az group listList resource groups
The same reference, with no signal at all
Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.
Get it free on the App Store