az account set

Description

Set a subscription to be the current active subscription.

Command
az account set
Examples
Set the active subscription
Parameters
Parameter Type Required Description
--subscription <subscription> string No Name or ID of subscription.
Command Info
Category: Configuration
Type: Azure
Views: 1
Status: Active
Tags
azure cli account subscription