Office365 Troubleshooting: Find Tenant ID
Using PowerShell command after connecting to Office365
Get-MsolAccountSku | fl
AccountObjectID is your Office365 Tenant ID
Using Office365 Azure Portal
Login to your Office365 Portal > Azure AD.
Azure Active Directory
Directory ID is, in fact, your Office365 Tenant ID.