Managing external identities to enable secure access for partners, customers, and other non-employees
Hello @Shayan Sarkar,
Thanks for using Q and A forum.
- TXT record name must be correct (most common issue)
The TXT record must be created on the root of the domain, not a subdomain.
Do not add extra prefixes like:
_msauth
_federation
_domain
- TXT value must match exactly (no quotes, no spaces)
Azure expects a value like:
MS=ms12345678
Common mistakes:
Including quotes ("MS=ms12345678")
Adding spaces
Adding multiple TXT values in one record
Using the wrong MS value (copied from another tenant)
- DNS propagation & TTL really matter
Even if you can see the record:
Azure uses public recursive DNS
It does not query your authoritative DNS directly
Cached NXDOMAIN responses can persist
What to do
Wait 30–60 minutes minimum
If TTL is high (e.g. 3600), wait the full TTL
Use this to validate:
nslookup -type=TXT example.com 8.8.8.8
- What Azure does not require (yet)
You do not need:
Certificates uploaded
IdP metadata reachable
The IdP to be online
Firewall changes
TXT verification is a pure DNS ownership check.
If the Answer is helpful, please click Accept Answer and Up-Vote 👍, so that this can be beneficial to other community members.