Share via

Unable to purchase a domain for my Static Web App.

Santosh Kumar Vellala 0 Reputation points
2026-04-03T13:17:02.63+00:00

I am unable to purchase a domain in my subscription for my Static Web App. Mine is a Pay-as-you-go subscription (showing Plan as Azure Plan) - however there is some kind of restriction for my account.

User's image

Azure DNS
Azure DNS

An Azure service that enables hosting Domain Name System (DNS) domains in Azure.

0 comments No comments

2 answers

Sort by: Most helpful
  1. Ganesh Patapati 11,760 Reputation points Microsoft External Staff Moderator
    2026-04-03T13:35:35.8233333+00:00

    Hello Santosh Kumar Vellala

    For some subscription types, before you can create an App Service domain, the subscription needs to have sufficient history on Azure. App Service domains aren't supported on free trial or credit-based subscriptions.

    User's image

    Remove the spending limit: For credit-based subscriptions, removing the spending limit can enable the purchase of App Service Domains. Be aware that this action may lead to charges beyond your included credits.

    Refer: https://learn.microsoft.com/en-us/answers/questions/2033578/creating-app-service-domain-with-credits-available

    Sufficient History: For some subscription types, before you can create an App Service domain, the subscription needs to have sufficient history on Azure

    NOTE: To use an App Service domain, the app's App Service plan must be a paid tier:

    Azure Plan subscriptions in the CSP program currently don’t support in-portal domain purchases.

    So, if you are using free trial account or credit based account, you wont be able to create an app service domain

    Microsoft Docs: https://learn.microsoft.com/en-us/azure/app-service/manage-custom-dns-buy-domain?WT.mc_id=AZ-MVP-5004796


    Should there be any follow-up questions or concerns, please let us know and we shall try to address them.

    Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.


  2. Q&A Assist
    2026-04-03T13:17:19.02+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    The error occurs because the subscription isn’t eligible to purchase an App Service domain. Even though the offer is Pay-as-you-go, there are additional requirements and limits for domain and certificate purchases.

    From the documented causes for similar purchase failures (App Service certificates and domains), the main reasons to check are:

    1. No valid credit card on the subscription
      • App Service domains and certificates require a valid credit card on the subscription.
      • If no card is configured, or the card is invalid/expired, domain purchase fails.
      • Fix: Go to the Azure account billing profile and add or update a valid credit card, then retry the domain purchase.
    2. Subscription offer type doesn’t support the purchase
      • Some offers (for example, student or other restricted offers) don’t allow buying App Service certificates; the same limitation pattern can apply to App Service domains.
      • Fix: If the current offer is restricted, create or upgrade to a fully supported Pay-as-you-go subscription and purchase the domain there.
    3. Purchase limits or policy restrictions
      • Subscriptions can hit purchase limits for App Service certificates/domains or be restricted by internal policy.
      • Fix: If a valid credit card is configured and the offer type is supported, open a support request from the Azure portal so support can check for purchase limits or policy flags on the subscription.

    If the subscription can’t be made eligible (for example, due to offer restrictions), an alternative is to buy the domain from an external registrar and then configure DNS (for example, using Azure DNS) and map it to the Static Web App manually.


    References:

    0 comments No comments

Your answer

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