az-account
Verified for current stable LTS
Az Account Command: Set Subscription
Use for set subscription with Az Account. Exact CLI syntax to set subscription using Az Account.
When to use this: Use for set subscription with Az Account.
Command Syntax
az account set -s <subscription_id> az account set -s <subscription_id> Command Breakdown
-s- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to set subscription using Az Account.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Az Account Command: List Subscriptions
az account list Az Account Command: List Locations az account list-locations Az Account Command: Get Access Token az account get-access-token --resource-type <ms-graph> Az Account Command: Show Subscription Details az account show -o <json|tsv|table|yaml> 7z Command: Extract Archive To Stdout 7z x <path/to/archive.7z> -so