Time changes everything. I wanted to do the same thing recently and came up with this:
The note
added 12/18/2017
As indicated by shadowbq, DirectoryId and TenantId are equal to the GUID representing Tenant's ActiveDirectory. Depending on the context, Microsoft documentation and products may use any of these terms, which may be confusing.
Assumptions
- You have access to the Azure portal
Decision
Client ID bound to Activedirectory in Azure
- Go to toolbar
- Go to ActiveDirectory
- Go to Management / Properties
- Copy Directory ID
- profit

Yes, I used paint, do not judge me.
Kevin R. Dec 07 '16 at 22:12 2016-12-07 22:12
source share