az account

Manage Azure subscription information.

Commands

az account create Create a subscription.

az account create

Create a subscription.

az account create --enrollment-account-name
--offer-type {MS-AZR-0017P, MS-AZR-0148P}
[--display-name]
[--owner-object-id]
[--owner-spn]
[--owner-upn]

Required Parameters

--enrollment-account-name --enrollment-account-object-id

The name of the enrollment account which should be used to create a subscription.

--offer-type

The offer type of the subscription. For example, MS-AZR-0017P (EnterpriseAgreement) and MS-AZR-0148P (EnterpriseAgreement devTest) are available.

accepted values: MS-AZR-0017P, MS-AZR-0148P

Optional Parameters

--display-name

The display name of the subscription.

--owner-object-id

The object id(s) of the owner(s) which should be granted access to the new subscription.

--owner-spn

The service principal name(s) of the owner(s) which should be granted access to the new subscription.

--owner-upn

The user principal name(s) of owner(s) who should be granted access to the new subscription.