Home Power PlatformsHow to guide? How to get the Tenant ID in Microsoft Entra ID?

How to get the Tenant ID in Microsoft Entra ID?

by Mo Faheem

To get the Tenant ID in Microsoft Entra ID (formerly Azure AD), follow one of these methods:

Method 1: Microsoft Entra Admin Center

  1. Go to Microsoft Entra Admin Center.
  2. Sign in with your global admin or relevant account.
  3. In the left navigation, click Identity > Overview.
  4. Under Tenant Information, you’ll find the Tenant ID.
Tenant ID in Microsoft Entra ID

Method 2: Azure Portal

  1. Go to Azure Portal.
  2. Sign in with your admin account.
  3. Click on your profile picture (top-right corner) and select Switch Directory.
  4. Select the correct directory, and the Tenant ID will be displayed under Directory ID.

Method 3: Using PowerShell

  1. Open PowerShell and run: Connect-AzAccount Get-AzTenant
  2. The Tenant ID will be displayed in the output.

Method 4: Using CLI (Command Line Interface)

  1. Open Command Prompt or Terminal and run: az login az account show --query tenantId --output tsv
  2. The Tenant ID will be shown.

Method 5: From a Microsoft 365 Account

  1. Go to Microsoft 365 Admin Center.
  2. Click Settings > Org Settings.
  3. Under Organization Profile, find Tenant ID.

Would you like help with any specific integration or API-related retrieval?

Related Articles

Leave a Comment