az account management-group subscription

Subscription operations for Management Groups.

Commands

az account management-group subscription add Add a subscription to a management group.
az account management-group subscription remove Remove an existing subscription from a management group.

az account management-group subscription add

Add a subscription to a management group.

az account management-group subscription add --name
--subscription

Examples

Add a subscription to a management group.

az account management-group subscription add --name GroupName --subscription Subscription

Required Parameters

--name -n

Name of the management group.

--subscription -s

Subscription Id or Name.

az account management-group subscription remove

Remove an existing subscription from a management group.

az account management-group subscription remove --name
--subscription

Examples

Remove an existing subscription from a management group.

az account management-group subscription remove --name GroupName --subscription Subscription

Required Parameters

--name -n

Name of the management group.

--subscription -s

Subscription Id or Name.