Skip to content

Commit 236212d

Browse files
committed
CM+B - Updated programmatically create subs article for EA limit
1 parent 1f8b221 commit 236212d

File tree

1 file changed

+34
-30
lines changed

1 file changed

+34
-30
lines changed

articles/azure-resource-manager/management/programmatically-create-subscription.md

Lines changed: 34 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ title: Programmatically create Azure subscriptions
33
description: Learn how to create additional Azure subscriptions programmatically.
44
author: amberbhargava
55
ms.topic: conceptual
6-
ms.date: 04/10/2019
6+
ms.date: 03/17/2020
7+
ms.service: cost-management-billing
8+
ms.reviewer: andalmia
79
ms.author: banders
810
---
911

@@ -18,6 +20,8 @@ When you create an Azure subscription programmatically, that subscription is gov
1820

1921
## Create subscriptions for an EA billing account
2022

23+
Use the information in the following sections to create EA subscriptions.
24+
2125
### Prerequisites
2226

2327
You must have an Owner role on an Enrollment Account to create a subscription. There are two ways to get the role:
@@ -197,7 +201,7 @@ To see a full list of all parameters, see [az account create](/cli/azure/ext/sub
197201
### Limitations of Azure Enterprise subscription creation API
198202

199203
- Only Azure Enterprise subscriptions can be created using this API.
200-
- There's a limit of 200 subscriptions per enrollment account. After that, more subscriptions for the account can only be created in the Azure portal. If you want to create more subscriptions through the API, create another enrollment account.
204+
- There's a limit of 500 subscriptions per enrollment account. After that, more subscriptions for the account can only be created in the Azure portal. If you want to create more subscriptions through the API, create another enrollment account.
201205
- Users who aren't Account Owners, but were added to an enrollment account via RBAC, can't create subscriptions in the Azure portal.
202206
- You can't select the tenant for the subscription to be created in. The subscription is always created in the home tenant of the Account Owner. To move the subscription to a different tenant, see [change subscription tenant](../../active-directory/fundamentals/active-directory-how-subscriptions-associated-directory.md).
203207

@@ -269,34 +273,34 @@ The API response lists all the invoice sections and their billing profiles on wh
269273

270274
```json
271275
{
272-
"value": [{
273-
"billingProfileDisplayName": "Contoso finance",
274-
"billingProfileId": "/providers/Microsoft.Billing/billingAccounts/5e98e158-xxxx-xxxx-xxxx-xxxxxxxxxxxx:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx_xxxx-xx-xx/billingProfiles/PBFV-xxxx-xxx-xxx",
275-
"enabledAzurePlans": [{
276-
"productId": "DZH318Z0BPS6",
277-
"skuId": "0001",
278-
"skuDescription": "Microsoft Azure Plan"
279-
}, {
280-
"productId": "DZH318Z0BPS6",
281-
"skuId": "0002",
282-
"skuDescription": "Microsoft Azure Plan for DevTest"
283-
}],
284-
"invoiceSectionDisplayName": "Development",
285-
"invoiceSectionId": "/providers/Microsoft.Billing/billingAccounts/5e98e158-xxxx-xxxx-xxxx-xxxxxxxxxxxx:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx_xxxx-xx-xx/billingProfiles/PBFV-xxxx-xxx-xxx/invoiceSections/GJ77-xxxx-xxx-xxx"
286-
}, {
287-
"billingProfileDisplayName": "Contoso finance",
288-
"billingProfileId": "/providers/Microsoft.Billing/billingAccounts/5e98e158-xxxx-xxxx-xxxx-xxxxxxxxxxxx:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx_xxxx-xx-xx/billingProfiles/PBFV-xxxx-xxx-xxx",
289-
"enabledAzurePlans": [{
290-
"productId": "DZH318Z0BPS6",
291-
"skuId": "0001",
292-
"skuDescription": "Microsoft Azure Plan"
293-
}, {
294-
"productId": "DZH318Z0BPS6",
295-
"skuId": "0002",
296-
"skuDescription": "Microsoft Azure Plan for DevTest"
297-
}],
298-
"invoiceSectionDisplayName": "Testing",
299-
"invoiceSectionId": "/providers/Microsoft.Billing/billingAccounts/5e98e158-xxxx-xxxx-xxxx-xxxxxxxxxxxx:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx_xxxx-xx-xx/billingProfiles/PBFV-XXXX-XXX-XXX/invoiceSections/GJGR-XXXX-XXX-XXX"
276+
"value": [{
277+
"billingProfileDisplayName": "Contoso finance",
278+
"billingProfileId": "/providers/Microsoft.Billing/billingAccounts/5e98e158-xxxx-xxxx-xxxx-xxxxxxxxxxxx:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx_xxxx-xx-xx/billingProfiles/PBFV-xxxx-xxx-xxx",
279+
"enabledAzurePlans": [{
280+
"productId": "DZH318Z0BPS6",
281+
"skuId": "0001",
282+
"skuDescription": "Microsoft Azure Plan"
283+
}, {
284+
"productId": "DZH318Z0BPS6",
285+
"skuId": "0002",
286+
"skuDescription": "Microsoft Azure Plan for DevTest"
287+
}],
288+
"invoiceSectionDisplayName": "Development",
289+
"invoiceSectionId": "/providers/Microsoft.Billing/billingAccounts/5e98e158-xxxx-xxxx-xxxx-xxxxxxxxxxxx:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx_xxxx-xx-xx/billingProfiles/PBFV-xxxx-xxx-xxx/invoiceSections/GJ77-xxxx-xxx-xxx"
290+
}, {
291+
"billingProfileDisplayName": "Contoso finance",
292+
"billingProfileId": "/providers/Microsoft.Billing/billingAccounts/5e98e158-xxxx-xxxx-xxxx-xxxxxxxxxxxx:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx_xxxx-xx-xx/billingProfiles/PBFV-xxxx-xxx-xxx",
293+
"enabledAzurePlans": [{
294+
"productId": "DZH318Z0BPS6",
295+
"skuId": "0001",
296+
"skuDescription": "Microsoft Azure Plan"
297+
}, {
298+
"productId": "DZH318Z0BPS6",
299+
"skuId": "0002",
300+
"skuDescription": "Microsoft Azure Plan for DevTest"
301+
}],
302+
"invoiceSectionDisplayName": "Testing",
303+
"invoiceSectionId": "/providers/Microsoft.Billing/billingAccounts/5e98e158-xxxx-xxxx-xxxx-xxxxxxxxxxxx:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx_xxxx-xx-xx/billingProfiles/PBFV-XXXX-XXX-XXX/invoiceSections/GJGR-XXXX-XXX-XXX"
300304
}]
301305
}
302306

0 commit comments

Comments
 (0)