Microsoft has a built-in feature that allows outsiders to find domains and subdomains that are in the same Active Directory / Microsoft Entra tenant. After using the web tool at aadinternals I decided to make my own CLI tool for this and open-sourced it.

The tool is heavily inspired by the awesome tools from ProjectDiscovery like subfinder, urlfinder and tldfinder and allows you to easily chain tools together.

Tenantfinder

Project can be found at: https://github.com/upmux/tenantfinder