Quick Actions
az account set
Description
Set a subscription to be the current active subscription.
Command
az account set
Examples
Set the active subscription
az account set --subscription 'My Subscription Name'
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
--subscription <subscription> |
string | No | Name or ID of subscription. |
Command Info
Category:
Configuration
Type:
Azure
Views:
13
Status:
Active
Tags
azure
cli
account
subscription