An Azure service that provides streamlined full-stack web app development.
Hi @Jake Penson
Thanks to TP and Serhii‑Roman Kikot for their helpful suggestions. Adding to their points, here’s some additional context and a clear path forward.
Thanks for reaching us regarding your issue —especially after moving to a Pay‑As‑You‑Go subscription and trying to get your Static Web App live with a custom domain.
The error you’re encountering isn’t caused by Azure Static Web Apps itself. It’s due to subscription‑level eligibility checks that apply when purchasing App Service Domains through the Azure portal.
Although Pay‑As‑You‑Go is a supported subscription type, new subscriptions may not yet be eligible to purchase App Service Domains. For some subscription types, Azure requires sufficient billing or usage history before allowing domain purchases. There’s no portal setting or manual option to enable this behavior, and it can’t be overridden.
The good news is that you’re not blocked from using a custom domain. The recommended and fastest solution is to purchase the domain from an external registrar (such as GoDaddy or Namecheap) and then map it to your Azure Static Web App. This approach is fully supported and commonly used.
If you have access to another Azure subscription in the same tenant with established billing history, that subscription may be able to purchase the domain instead. Otherwise, using an external registrar is the most reliable option.
reference :
- Buy and configure an App Service domain :
https://learn.microsoft.com/en-us/azure/app-service/manage-custom-dns-buy-domain - Configure a custom domain for Azure Static Web Apps :
https://learn.microsoft.com/en-us/azure/static-web-apps/custom-domain
Please do not forget to click "Accept the answer” and Yes, this can be beneficial to other community members.
If you have any other questions, let me know in the "comments" and I would be happy to help you