Shows the active subscription, tenant and account.
az account show --output json
- Evidence
- Documentation checked · reviewed 2026-10-04
- Environment
- Azure
- Compatibility
- Examples use POSIX shell quoting. Consult installed tool help for version-specific options.
- Expected result
- Shows the active subscription, tenant and account.
- Troubleshooting
- Run the authorised sign-in workflow if the CLI has no current account.
- Side effects
- No intentional configuration changes. Remote reads may generate audit events.
- Native
- Configuration and verification
- Requires
- Authenticated CLI session
Shows subscriptions available to the current account.
az account list --output table
- Evidence
- Documentation checked · reviewed 2026-10-04
- Environment
- Azure
- Compatibility
- Examples use POSIX shell quoting. Consult installed tool help for version-specific options.
- Expected result
- Shows subscriptions available to the current account.
- Troubleshooting
- A subscription list does not establish permissions on its resources.
- Side effects
- No intentional configuration changes. Remote reads may generate audit events.
- Native
- Configuration and verification
- Requires
- Authenticated CLI session