The other day I was setting up Sophos Central and wanted to connect it to my Azure Active Directory. This would allow me to quickly find any unprotected VM’s I have running in Azure. To get Sophos Central to connect I needed to find my Azure Active Directory Tenant ID. Below I will show you an easy way to do this.
The How to
Just the TenantID
Inside the Azure Portal navigate to Azure Active Directory and click Properties under Manage. In here you will find Directory ID. Yes, Directory ID is
How about a little bit more…
Inside the Azure portal click on the Help icon, top right. Then click on Show diagnostics, second from bottom.
Azure will now want to download a JSON file. In the Save As popup window navigate to where you want to save the JSON file to and click Save.
Open the Downloaded file in either notepad or VS Code. Press Ctrl + F and search for the words TenantID.
I have put an arrow next to the TenantID I have pixelated out some other information, like SubscriptionID. You may find this other information helpful, just remember to keep this file safe.
I hope you found this helpful. If you have any questions please reach out in the usual ways.
I’m Richard Hooper aka Pixel Robots. I started this blog in 2016 for a couple reasons. The first reason was basically just a place for me to store my step by step guides, troubleshooting guides and just plain ideas about being a sysadmin. The second reason was to share what I have learned and found out with other people like me. Hopefully, you can find something useful on the site.