Finding Domains in Your Tenant – Without Resorting to Powershell

Home / Cloudficient / Finding Domains in Your Tenant – Without Resorting to Powershell

Finding Domains in Your Tenant – Without Resorting to Powershell

Many of our customers have several domains incorporated into their Office 365 tenant. It’s sometimes confusing to know which exist and which were the original domains.

This information can of course be obtained in PowerShell, but it requires privileges to do that, and you have to reference a pile of commands. We’ve introduced a new panel inside our free advanced Office 365 reporting which shows you a simple tabular list of domains and some of the properties associated with them. This way you don’t need to know all those commands and use Jedi-like skills to obtain the information.

Let’s see how you got the information in the ‘old’ way.

Microsoft being Microsoft there are a few ways to obtain the information, let’s start with the first one. You can connect to Microsoft Online, and run the command Get-MSolDomain.  Like this:

Import-Module MsOnline
$credential = Get-Credential
Connect-MSolServerice -Credential $credential
Get-MSolDomain

Which outputs something like this:

Name                      Status   Authentication
-------                   -------- --------------
nfye.mail.onmicrosoft.com Verified Managed
nfye.onmicrosoft.com      Verified Managed
lab.org.in                Verified Managed

(If you don’t have the Azure AD v1 PowerShell extension installed, then launch an administrator level PowerShell window, and run Install-Module MsOnline, and follow the prompts)

Or you can connect to Azure AD PowerShell v2, and run Get-AzureADDomain, and the output will look like this:

Import-Module AzureAD
$credential = Get-Credential
Connect-AzureAD -Credential $credential
Get-AzureADDomain

Which outputs something like this:

Name                      AvailabilityStatus AuthenticationType
----                      ------------------ ------------------
nfye.mail.onmicrosoft.com                    Managed
nfye.onmicrosoft.com                         Managed
lab.org.in                                   Managed

(If you don’t have Azure AD v2 PowerShell extensions installed, then launch an administrator level PowerShell window, and run Install-Module AzureAD, and follow the prompts)

These can be tricky to remember and require additional components to be installed on top of PowerShell.

Instead of all of these options, how about a nice simple panel like this:

We think that’s much easier! If you’d like to see this and other reports check out free advanced Office 365 reporting.

Related Posts


Subscribe to our blog