If you work with Microsoft Fabric, Azure, Power BI REST APIs, Microsoft Entra ID or application registrations, there will be situations where you need your organisation's Tenant ID and Tenant Domain.
For example, imagine you are building an application that connects to Microsoft Fabric using an application registration. Or perhaps you are configuring authentication for a Fabric REST API using PowerShell, Python or another programming language.
One of the first things you will probably need is your Microsoft Entra Tenant ID.
But where exactly do you find it? And how do you identify your tenant domain?
Let's look at a couple of straightforward ways to retrieve these details.
1. Finding Your Tenant ID Directly in Microsoft Fabric
This is probably the quickest approach if you are already working inside the Fabric portal.
Follow these steps:
- Sign in to Microsoft Fabric.
- Navigate to the top-right corner of the portal.
- Select the Help & Support (?) icon.
- Select About Microsoft Fabric.
- Locate the tenant information displayed in the dialog.

Microsoft Fabric exposes the Customer Tenant ID (CTID) through this experience. The CTID is the unique identifier associated with your Microsoft Entra tenant.
This is particularly useful when working with external user access and cross-tenant scenarios.
2. Finding Your Tenant ID and Tenant Domain Using Microsoft Entra ID
Another way to retrieve these details is through the Microsoft Entra admin center.
Personally, this is my preferred approach when I need both the Tenant ID and the primary domain name.
Here's how:
Step 1: Navigate to Microsoft Entra Admin Center.
Step 2: Sign in using your organisational account.
Step 3: From the navigation menu, select Entra ID, then open Overview.
Step 4: Under the Basic information section, you should find details such as:
- Tenant ID
- Primary domain
- Tenant name
The Tenant ID is a globally unique identifier (GUID), while the primary domain is the organisation's default domain name.
For example, your organisation might have a primary domain such as contoso.onmicrosoft.com, alongside a custom domain such as contoso.com.
Step 5: Copy the Tenant ID and primary domain for use in your application or configuration.
You can also navigate to Entra ID → Properties to retrieve the Tenant ID.
3. Understanding the Difference Between Tenant ID and Tenant Domain
Although these two values identify the same organisational directory, they serve different purposes.
| Property | Description |
|---|
| Tenant ID | A unique GUID identifying your Microsoft Entra tenant |
| Tenant Domain | A domain associated with your organisation's tenant |
| Tenant Name | The display name of your organisation |
For example:
- Tenant ID:
12345678-abcd-1234-abcd-123456789012 - Primary domain:
contoso.onmicrosoft.com - Custom domain:
contoso.com
The Tenant ID doesn't change simply because an organisation adds a custom domain.
Also, remember that an organisation can have multiple verified domains, so the primary domain is not necessarily the only domain associated with the tenant.
4. Why Do Data Engineers Need These Details?
If you work with Microsoft Fabric, these details become particularly useful when integrating external applications and services.
Some practical examples include:
- Fabric REST API: Authenticating applications before making API requests.
- Microsoft Entra App Registrations: Configuring applications to authenticate against the correct tenant.
- PowerShell: Connecting to Microsoft Fabric and automating administrative operations.
- Python: Implementing authentication when building Fabric automation scripts.
- Cross-tenant access: Identifying the correct organisation when working with external users or multiple tenants.
For example, when configuring an application to authenticate against a specific Microsoft Entra tenant, you might use the following authority URL:
https://login.microsoftonline.com/{tenant-id}
Here, {tenant-id} represents the Tenant ID retrieved from Microsoft Entra ID.
Finding your Microsoft Fabric Tenant ID and Tenant Domain is relatively straightforward, but knowing where to retrieve them becomes useful when working on real-world data engineering and cloud integration projects.
Whether you are building a Fabric REST API automation solution, configuring an application registration or implementing authentication with Python and PowerShell, these are two important pieces of information worth knowing.
Sometimes, getting your Fabric integration working starts with knowing the right tenant details!
#MicrosoftFabric #MicrosoftEntraID #TenantID #TenantDomain #DataEngineering #FabricRESTAPI #PowerBI #Azure #AzureDataEngineering #MicrosoftFabricCommunity #PowerShell #Python #APIAutomation #CloudComputing #MicrosoftAzure #IdentityManagement #DataPlatform #Microsoft365 #Authentication #EntraID
Join the conversation! Your thoughts help the community grow.