The limitations mention that
There's a limit of 50 subscriptions per account. After that, subscriptions can only be created by using Account Center.
But, when trying to create a new subscription using the Service Principal, I get the following error:
There must be an existing subscription with the offer up to a max number of subscriptions. Further details: Account must have between 1 and 49 existing subscriptions. 50 subscriptions were found.
This SP has only been used to create about 5 subscriptions so far, so is the limit speaking to the number of subscriptions globally or is it saying that each account can create up to 50 subscriptions?
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
@Unalloyedcube Thanks for your comment. We are actively investigating and will get back to you shortly. Thanks for your patience.
The limit is on a per account basis, however it includes all subscriptions ever created on that account (by API or otherwise). The system treats a deleted subscription the same as an active subscription for auditing purposes. Hope that clarifies, and we are working to remove this limitation before we GA the API.
Does this limit include unsuccessful creation attempts as well? I asked because during testing not all subscriptions were created. Only 5 were created successfully, so I should be able to create more subscriptions under that SP.
I wouldn't expect it to include unsuccessful creation attempts, but it isn't the creation history of the SP that is relevant, it's the Account that the SP has access to. For example, the account owner may have created other subscriptions under that account without your knowledge if all you have is create permissions via the SP.
Ah, ok. I can look into that.
So I should be able to create a new SP to start a fresh counter to be able to create subscriptions, correct?
You need a new Enrollment Account, not SP. Your Enterprise Admin can create them in the EA Portal (ea.azure.com)
I get it now. Thanks for the clarification.
@Unalloyedcube Happy to help!
@femsulu #please-close
I couldn't find any official doc about the limits of subscriptions per account. Do they still valid? Does it exist an official doc about it?
@adpick can NelsonMarcos Question be answered?
We are currently working on a new subscription design as well, and a limit of 50 would have an design impact. So Official Docs and/or knowing it is still valid would help.
Most helpful comment
I couldn't find any official doc about the limits of subscriptions per account. Do they still valid? Does it exist an official doc about it?