How to Find Your Office 365 Tenant Name

How to find your Office 365 tenant name

This article will show you how to find your tenant name using the Office 365 Portal or PowerShell.

Find Your Tenant Name Using the Office 365 Portal

Follow these simple steps to identify your tenant name using the web console:

  1. Open the Office 365 Admin Center, click Setup and select Domain (direct link)
  2. Identify the domain name that has three parts and ends with “”
How to identify your Azure AD tenant name.

Find Your Tenant Name Using PowerShell

If you prefer to use the PowerShell console, the following MS Graph PowerShell commands will get you the Office 365 tenant name:

Connect-MgGraph -Scopes "Domain.Read.All"
(Get-MgDomain | Where-Object {$_.isInitial}).Id

Alternatively, use the Microsoft Online (MSOL) PowerShell module:

(Get-MsolDomain | Where-Object {$_.isInitial}).name

The commands require that you have installed the relevant PowerShell module. For more information on how to connect to Office 365 using PowerShell, read this article.

The output will list your tenant name and is needed for you to sign up for the trial version of Easy365Manager.

Find Your Primary (Default) Office 365 Domain Name

If you’re not looking for the tenant name but the primary (default) domain name of your Office 365 installation, have a look at this.

How to Manage Office 365 Mailboxes Inside Active Directory

Once you have identified your tenant name, you’re able to register for a 30-day trial license for Easy365Manager.

Easy365Manager is a snap-in for the Active Directory Users & Computers management console that provides the following benefits:

  • Manage all email attributes directly in AD Users & Computers
  • Manage Office 365 mailboxes directly in AD Users & Computers
  • Manage Office 365 licenses directly in AD Users & Computers

The Office 365 management features are accessible via the new Easy365Manager tabs in user properties:

Easy365Manager Office 365 user properties
Click to enlarge
Easy365Manager user properties, Office 365 mailbox management inside Active Directory
Click to enlarge

With these new tabs you can perform all daily Office 365 management without leaving Active Directory Users & Computers. Even tasks like managing calendar delegation, which otherwise require complex PowerShell scripts:

For a complete feature list, read this.

Assuming you’re fully migrated to Office 365, you can even remove your on-premises Exchange Server.