About sub2tenant
sub2tenant began as a small tool I originally built to automate my own workflow. I often needed to map an Azure Subscription ID to the correct Microsoft Entra tenant, but there was no quick or simple way to do it without a manual two step process.
Before this tool, my workflow was:
1. Use PowerShell to extract the tenant ID using
this method described by Lieben
2. Look up the tenant ID with the
AADInternals OSINT tool
This worked, but it was slow and repetitive.
I first automated the process as an internal tool at Bsure, and later rebuilt it as a small standalone version that anyone can use without authentication or elevated permissions.
No lookup data is stored, logged or transmitted, and the project is fully open source. If you prefer to run your own instance of the tool, the complete source is available on GitHub.
The project is created and maintained by Olav Helland, a cloud architect working with Microsoft Entra and M365.