An Azure service that provides streamlined full-stack web app development.
Hi @Ryan Kali ,
Thank you for reaching us regarding an issue with adding a custom domain (informatiksystems.com) to their Azure Static Web App.
Your domain informatiksystems.com is currently using Microsoft nameservers:
- ns1.bdm.microsoftonline.com
- ns2.bdm.microsoftonline.com
- ns3.bdm.microsoftonline.com
- ns4.bdm.microsoftonline.com
When a domain is configured this way, DNS is fully managed by Microsoft 365. Any DNS records created at the registrar level (Squarespace) are ignored, because the authoritative DNS is Microsoft 365.
Azure Static Web Apps verifies domain ownership by querying the authoritative DNS servers. Since the TXT validation record was added in Squarespace instead of Microsoft 365 DNS, Azure cannot see it, this is why the domain remains stuck in “Processing / Validating”.
Microsoft Learn explicitly states that TXT validation must be performed in the authoritative DNS zone, otherwise validation does not complete.
Recommendations:
Step 1: Add the TXT Record in Microsoft 365
- Sign in to Microsoft 365 Admin Center https://admin.microsoft.com
- Go to Settings > Domains
- Select informatiksystems.com
- Open DNS records / Manage DNS
- Add a TXT record:
- Host / Name:
@ - Value: Paste the exact TXT token generated by Azure Static Web Apps
- TTL: Default (or 3600)
- Host / Name:
Save the record.
Step 2: Refresh Validation in Azure
- Go to Azure Portal > Static Web App > Custom domains
- Select informatiksystems.com
- Click Refresh / Retry validation
Once the TXT record is resolvable from Microsoft DNS, Azure automatically completes ownership validation. Microsoft Q&A confirms that validation remains “Validating” until the TXT record is visible from the authoritative DNS.
After Validation:
For apex domain, Microsoft 365 does not allow you to create a CNAME record for the apex/root domain (@ / informatiksystems.com). The admin center will give you an error if you try.
Option A (Recommended):
- Use www.informatiksystems.com with a CNAME to:
<your-app>.azurestaticapps.net - Redirect apex domain (
informatiksystems.com) towww
Option B:
- Move DNS hosting to Azure DNS
- Configure apex domain using ALIAS / ANAME, which is fully supported for Azure Static Web Apps
Reference:
https://learn.microsoft.com/en-us/azure/static-web-apps/custom-domain
https://learn.microsoft.com/en-us/azure/static-web-apps/apex-domain-azure-dns
https://learn.microsoft.com/en-us/microsoft-365/admin/get-help-with-domains/create-dns-records-at-any-dns-hosting-provider?view=o365-worldwide
Kindly let us know if the above helps or you need further assistance on this issue.
Please "accept" if the information helped you. This will help us and others in the community as well.