(Cloud) Tip of the Day: Advanced way to check domain availability for
Office 365 and Azure
By kexugit
Archived: 2026-04-05 13:24:49 UTC
Today’s Tip…
This is an extension of a previous tip.
Another way to check if domain is available by copying and pasting the following URL string to a web browser:
https://login.microsoftonline.com/getuserrealm.srf?login=user@contoso.com&xml=1
Note - Replace the “bolded” part with the domain you want to check.
Review the results and really pay attention to the NameSpaceType value.
Scenario: If the domain does not exist in Office 365/Azure AD…
4
1
user@fakedomain.com
Unknown
Scenario: Domain is verified and not federated…
4
1
user@williamfiddes.com
Managed
WILLIAMFIDDES.COM
Scenario: Domain is verified and federated…
1
2
user@willfid.msftonlinerepro.com
Federated
WILLFID.MSFTONLINEREPRO.COM
-1
https://sts.willfid.msftonlinerepro.com/adfs/ls/
https://docs.microsoft.com/en-us/archive/blogs/tip_of_the_day/cloud-tip-of-the-day-advanced-way-to-check-domain-availability-for-office-365-and-azure
Page 1 of 2
truehttps://sts.willfid.msftonlinerepro.com/adfs/services/trust/2005/usernamemixed0WILLFID.MSFTONLINEREPRO.COMfalseMIIC+jCCAeKgAwIBAgIQFnePUJ582Y9I6SQvgH5UgDANBgkqhkiG9w0BAQsFADA5MTcwNQYDVQQDEy5BREZTIFNpZ25pbmcgL
https://sts.willfid.msftonlinerepro.com/adfs/services/trust/mex10 Anonymous
March 30, 2017
Thanks for this.interestingly I have users in the same OU, with the same UPN suffix, some are as scenario 1 (so not
working) and others are state 3, userstate2 and working as expected.
Source: https://docs.microsoft.com/en-us/archive/blogs/tip_of_the_day/cloud-tip-of-the-day-advanced-way-to-check-domain-availability-for-office-365-an
d-azure
https://docs.microsoft.com/en-us/archive/blogs/tip_of_the_day/cloud-tip-of-the-day-advanced-way-to-check-domain-availability-for-office-365-and-azure
Page 2 of 2