How to check the location of an Office 365 tenant and Office 365 mailboxes

Problem:

You would like to know the geo location of your Office 365 tenant and what Microsoft datacenters host your Office 365 mailboxes.

Solution:

You can view the location of your Office 365 tenant in the Office 365 admin center or by accessing your Exchange Online via PowerShell and executing appropriate cmdlets. Exchange Online cmdlets will also let you find out the exact location of your Office 365 mailboxes.

Use the links below to learn how to:

Locating an Office 365 tenant

The geo location of an Office 365 tenant is set when you create the tenant and pick the billing country. If you want to check its geo location, you can find it out:

To find the location of an Office 365 tenant in the Office 365 admin center, you need to:

  1. Log in to your Office 365 admin center.
  2. On the left menu, click Settings and choose Organization profile (Fig. 1.).

669-5a
Fig. 1. Accessing the Organization profile information.

  1. The information on the tenant’s location can be found in the Data location section at the bottom of the window (Fig. 2.).

669-6
Fig. 2. Location of your Office 365 data.

To find the location of an Office 365 tenant via PowerShell, you need to:

  1. Connect to Exchange Online by using Windows PowerShell (see this article for guidelines).
  2. Run the Get-OrganizationalUnit cmdlet in PowerShell to display a list of your tenant’s properties. You can guess the region where your tenant is located by looking at the value of the OrganizationId property. In Fig. 3., EURP suggests that the tenant is located in Europe.

669-1a
Fig. 3. Finding the OrganizationId property and its value.

Info

Office 365 geo locations can cover specific countries (e.g. the UK, Japan or Germany) or entire regions (such as EMEA or APAC). Note that except Germany and the US, datacenters allocated to a specific region may physically lay outside that region. For example, a datacenter located in Hong Kong may provide services to India and South America geo locations. You can view a list of Office 365 datacenters available for a specific geo location on the Microsoft’s Where is my data? page.

Locating an Office 365 mailbox

Your Office 365 data can be spread out across multiple datacenters in a given geo location. To find out the exact location of a mailbox:

  1. Connect to Exchange Online via Windows PowerShell.
  2. Execute the Get-Mailbox cmdlet in PowerShell to display a list of your Office 365 mailboxes (Fig. 4.).

669-2
Fig. 4. A list of mailboxes hosted on Exchange Online

The first two letters of the ServerName column are the datacenter code. In the example above:

  • vi stands for Vienna, Austria
  • he stands for Helsinki, Finland
  • db stands for Dublin, Ireland
  • am stands for Amsterdam, the Netherlands

Tip

As a standard policy, Microsoft does not disclose the precise location of its datacenters. You may need to tell the exact city based on the two-letter code in the ServerName column.

  1. To see a summary of mailbox locations, you can download and run a custom PowerShell script Get-MailboxLocations.ps1 (Fig. 5.).

669-3
Fig. 5. Checking the distribution of Office 365 mailboxes across datacenters in a particular geo location.