Share via

Adding custom domain to Static Web App but vaildation never completes

Jim Matson 0 Reputation points
2026-04-01T00:16:59.9466667+00:00

I have a static web app. I try to add a custom domain but validation never completes. After a couple of days it comes back and says it failed. When I view the details it says "An unknown error has occurred while adding your custom domain. Please try again later." However you are not able to generate a new code. Deleting the entry in Custom Domains and recreating with a new code still does not validate. My domain DNS is in M365. If it would validate I could add the CNAME to M365.
User's image

Azure Static Web Apps
Azure Static Web Apps

An Azure service that provides streamlined full-stack web app development.


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.