Office 365 – Tenant Id
In one of the previous article “Office 365 – Tenant Name and Tenant Region” we discussed about Tenant Name and Tenant Region.
Today we will discuss about Tenant Id.
Background: In one of the our application we need to use Tenant Id. Till the time I was not aware there is Tenant Id as well for Office 365 Tenant. So the research started and this blog.
What is Tenant Id: Office 365 Tenant Id is unique identifier – 32 bit alpha numeric code, assigned to tenant at creation time. Tenant Id need to require for performing some tasks like
- Disabling Skype for Business IM History
- Configuring windows group policy for OneDrive for Business
- Setting up the PowerBI Adoption Pack etc..
How to get Tenant Id using PowerShell: We have “Login-AzureRmAccount” PowerShell cmdlet to get our
- Office 365 Account
- Tenant Id
We need to execute this PowerShell cmdlet, we need Microsoft Azure Active Directory Module for Windows PowerShell, we can download it from here.
There is another way to get office 365 tenant id using PowerShell cmdlet “Get-MsolAccountSku |fl” this cmdlet returns AccountObjectId which is same as our Office 365 tenant id as
Thanks for Reading 🙂
Keep reading, share your thoughts, experiences. Feel free to contact us to discuss more. If you have any suggestion / feedback / doubt, you are most welcome.
Stay tuned on Knowledge-Junction, will come up with more such articles.