A Python tool to check if there is an Office 365 instance linked to a domain
o365chk.py Simple Python script to check if there is an Office365 instance linked to a particular domain. There are three possible results: Unknown = No O365 instance for that domainFederated = O365 is federatedManaged = O365 is managed directly by Microsoft Installation and Usage $ git clone https://github.com/nixintel/o365chk && cd o365chk $ pip install -r requirements.txt $ python3 o365chk.py -d example.com Example Output $ python3 o365chk.py -d bbc.co.uk This domain is Federated { “AuthNForwardType”: 1, “AuthURL”: “https://gateway.id.tools.bbc.co.uk/eiam/WSFederationServlet/metaAlias/wsidp2?username=username%40bbc.co.uk&wa=wsignin1.0&wtrealm=urn%3afederation%3aMicrosoftOnline&wctx=”, “CloudInstanceIssuerUri”: “urn:federation:MicrosoftOnline”, “CloudInstanceName”: […]
Read more