What is the response expected when custom domain creation reached max limit of 500 domain in Azure Front Door CDN

Chaitrali Deshmukh 41 Reputation points
2023-11-20T18:22:32.26+00:00

We use azure sdk java libraries to talk to azure cdn service to create custom domains.

Wanted to check what error or exception is expected when when we reach the limitation of 500 custom domains while creating a new custom domain after we reach the limit?

looking for these details from sdk library:

https://learn.microsoft.com/en-us/rest/api/frontdoor/azurefrontdoorstandardpremium/afd-custom-domains/create?tabs=HTTP#errordetail

Azure Front Door
Azure Front Door
An Azure service that provides a cloud content delivery network with threat protection.
675 questions
Azure Content Delivery Network
{count} votes

1 answer

Sort by: Most helpful
  1. ChaitanyaNaykodi-MSFT 26,101 Reputation points Microsoft Employee
    2023-11-22T04:48:56.8166667+00:00

    @Chaitrali Deshmukh

    Thank you for your patience here. I got a response back from the team.

    The error received in this case when you reach the limitation of 500 custom domains and while creating a new custom domain after this limit has been reached is

    {
    "error": {
    "code": "BadRequest",
    "message": "The number of Custom Domains created per profile exceeds quota."
    }
    }

    Hope this helps! Please let me know if you have any additional questions. Thank you!


    ​​Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.