Discover if Domain Associated with Entra ID / Microsoft 365

How to determine if a domain leverages Entra ID

Overview

  • We can check a particular Microsoft URL to determine if a domain is associated with Entra ID or Microsoft 365 (office)

  • In the output, look for the NameSpaceType field and inspect the value:

    • Managed β€” domain is an Azure AD tenant

    • Federated β€” domain is associated with an Azure AD tenant but leverages a federation service e.g., Okta, PingID, Active Directory, etc.

    • Unknown β€” domain not associated with Azure AD tenant

View with Web Browser

View with curl

View with PowerShell


Additional Resources

Last updated

Was this helpful?