Unable to add a custom domain

Oleg Skopin 0 Reputation points
2025-01-20T17:45:43.0833333+00:00

I am trying to use the "By App Service Domain" feature in my Web App Service. The domain name is free but I am getting the following error during validation process:

{"code":"InvalidTemplateDeployment","details":[{"code":"ValidationForResourceFailed","message":"Validation failed for a resource. Check 'Error.Details[0]' for more information.","details":[{"code":"SubscriptionExceededMaxDomainLimit","message":"Subscription has reached the limit for the number of App Service domain resources that can be created."}]}],"message":"The template deployment 'Microsoft.Web-AppServiceDomains-Portal-8f2935b4-b807' is not valid according to the validation procedure. The tracking id is '59591954-b64f-4972-8aa7-4552b269fbfe'. See inner errors for details."}

What is that limit and how do I bypass it?

Best regards,

Oleg

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,256 questions
Azure Startups
Azure Startups
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.Startups: Companies that are in their initial stages of business and typically developing a business model and seeking financing.
559 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Manu Philip 19,271 Reputation points MVP
    2025-01-20T19:44:46.9833333+00:00

    Hi Oleg Skopin

    Please note that there is an app service limit that you should check corresponding to your app service plan as indicated in below reference

    App Service limits

    Custom domains per app for all plans are 500 except for free subscription. Make sure that your total consumption is maintained

    Hope this helps.


    --please don't forget to upvote and Accept as answer if the reply is helpful--


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.