Skip to content
OSINTtools.io

o365chk

Verified yesterdayDormant

Small Python script that asks Microsoft whether a domain has an Office 365 tenant and whether it is managed or federated.

Python CLI · Open source · Infrastructure and domains · github.com

Takes
Domain
Pricing
Free, open source
Footprint
Passive · no contact with target
Account
Not needed
API
No public API
Last verified
Dec 3, 2026
Summary

Small Python script that asks Microsoft whether a domain has an Office 365 tenant and whether it is managed or federated. It takes domain. Read the cons before you build a workflow on it.

What it does

o365chk is a short Python script by Nixintel that checks whether a domain is linked to an Office 365 (Microsoft 365) instance. It reports one of three states: no instance found, managed directly by Microsoft, or federated, and prints the JSON that Microsoft's login service returns, which can include the organisation's brand name and the URL of its own sign-in server.

Investigators use it to learn whether an organisation runs its email and identity on Microsoft 365 and, for federated domains, which identity provider sits in front of it. A shell script runs it over a list of domains. The script is small and has not changed since 2021.

Footprint is passive: it reads its own index or third-party records and does not contact the target. No account is needed. There is no public API.

Pros
  • +Free with no API key
  • +Does not contact the target's own servers
  • +Simple to run and read
Cons
  • −Untouched since 2021
  • −Answers one narrow question

When to use it

  1. 01Use it when you need to know whether an organisation's domain is on Microsoft 365.
  2. 02Use it when you want the name and sign-in server a federated organisation shows Microsoft.
Key featuresOffice 365 presence check for a domainManaged vs federated resultFederation brand name and sign-in URLBatch mode over a domain list

Next steps from this result

Suggested from the inputs o365chk takes
  • Found a resultConfirm it with a second, independent source before you record it
  • Found a new identifierPivot on it only if your scope covers the new target
    Depends

Quick start

Clone and run
git clone https://github.com/nixintel/o365chk && cd o365chk
pip install -r requirements.txt
python3 o365chk.py -d example.com

Technical details

Listing verified by an editor on Dec 3, 2026
API
No public API
Account
Not needed
Footprint
Passive · no contact with target
Pricing
Free, open source
Platforms
Python CLI
Repository
nixintel/o365chk 52 stars
Language
Python
Licence
MIT
Last commit
Dec 2021 (dormant)
Listed
Dec 3

Reviews

No reviews yet

Written by signed-in members. Each review appears here after an editor has read it.

Used o365chk? Sign in to say what you used it for and how it went.

Sign in to review

Discussion

Tips, questions and updates about o365chk from the community.

No posts about o365chk yet. Ask a question or share how you use it.

Alternatives to o365chk

Listed tools that take the same inputs, closest match first.

o365chkOpen source · verified yesterday
Visit github.com (opens in new tab)