This article will show you how to find your primary (or default) domain name in Office 365.
Find the Default Office 365 Domain Name Using the Web Console
To find your default Office 365 domain name using the web console do the following:
- Log in to your admin console
- Expand Settings and click on Domain
- Identify the domain which is suffixed with (Default)

Find the Default Office 365 Domain Name Using PowerShell
To find your default Office 365 domain name using PowerShell, do the following:
- Connect to Microsoft Graph PowerShell.
- Use the Get-MgDomain CmdLet.
The code could e.g. look like this:
Connect-MgGraph -Scopes "Domain.Read.All"
(Get-MgDomain | Where-Object {$_.isDefault}).Id
(thanks to Matthew, Enterprise Engineer at AllCovered)
If you’re looking for your Office 365 tenant name (which differs from your default Office 365 domain name), look at this article.
How to Simplify Hybrid Office 365 Management
Unfortunately, the standard tools from Microsoft make it very complex to manage hybrid Office 365.
Daily operations involve multiple tools and scripting, e.g.:
- AD Users & Computers to manage on-premises identities.
- On-premises Exchange to manage on-premises email configuration.
- Exchange Online Admin Center to manage Office 365 mailboxes.
- Microsoft Admin Center to manage Office 365 users, licenses, and shared mailbox sent-to-items configuration.
- Azure Portal to view and manage detailed Office 365 user properties.
- Exchange Online PowerShell to configure calendar permissions, auto-reply scheduling, and Outlook auto-mapping.
- Azure AD Connect PowerShell to trigger AD to Office 365 synchronizations.
This is very confusing, requires a lot of training of first-line supporters, and often results in senior-level admins getting involved in what should be day-to-day user support.
Additionally, you carry the cost and risk of running Exchange on-premises.
You can make all of these problems go away in two minutes.
With Easy365Manager, all daily management can be done directly from AD Users & Computers.
Easy365Manager adds two new tabs to user properties, giving you complete control of all standard Office 365 mailbox settings, licenses, email addresses, etc.
You no longer need to log in to multiple consoles, and you don’t need to worry about attribute authority. Instead, all configurations take place in one well-known console.
Since AD Users & Computers has been around for more than two decades, any first-line supporter knows this and will master the new features with basically zero training.
With Easy365Manager, hybrid Office 365 becomes easy. Even when dealing with calendar permissions, which otherwise can only be managed via complex PowerShell scripting:
And it gets even better:
Easy365Manager is available as a 30-day trial which you can install and configure in less than two minutes.
Easy365Manager is a simple extension to the AD Users & Computers tool, and it introduces no changes to your schema or infrastructure.
Easy365Manager installs to any system running AD Users & Computers – even Windows 10.
Easy365Manager has no custom security layer, works with your Azure AD Connect, and runs parallel with (or without) your on-premises Exchange Server.
The (easy) changes you make using Easy365Manager result in the same configuration as when using the standard tools from Microsoft.
If you don’t have time to test Easy365Manager this week, ask yourself: Do you have time not to…?