I'm attempting to host a 1-page (HTML) static web app, about as simple as possible. Everything's gone great except for adding a Custom Domain to it. No matter what I do, it keeps failing validation and the error message is "An unknown error has occurred while adding your custom domain. Please try again later." In my case, the DNS Zone is being managed in Azure in the same subscription, and other DNS things work just fine. I have attempted:
- Letting the Portal's UI create the CNAME in the DNS Zone for me. The results look correct, but I get that same "unknown error" message.
- Manually creating the CNAME in the DNS Zone for me. Same error.
- Creating the CNAME as an "Alias Record Set" in order to remove all doubt that I'm doing it wrong. Same error message.
I can even see the DNS records take hold when I do an NSLookup from my local laptop. But no matter what I do, the Static Web App's Custom DNS blade keeps saying it's failing validation. When I click on it for details, I just infinitely have a spinner that never gives me an actual status, which is below the "unknown error" error message.
I have custom DNS working great with this same DNS zone using it with Front Door in front of a suite of AAD B2C implementations. But no dice with this wildly simple static site. :-(
