How to check the location of an Office 365 tenant and Office 365 mailboxes
You would like to know the geolocation of your Office 365 tenant and what Microsoft datacenters host your Office 365 mailboxes.
You can view the location of your Office 365 tenant in the Microsoft 365 admin center (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:
The geolocation of an Office 365 tenant is set when you create the tenant and pick the billing country. If you want to check its geolocation, you can find it out:
- Log in to your Microsoft 365 admin center.
- On the left menu, click Settings and choose Organization profile (Fig. 1.).
- The information on the tenant’s location can be found in the Data location section at the bottom of the window (Fig. 2.).
- Connect to Exchange Online by using Windows PowerShell (see this article for guidelines).
- 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.
Office 365 geolocations 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 geolocations. You can view a list of Office 365 datacenters available for a specific geolocation on the Microsoft’s Where is my data? page.
Your Office 365 data can be spread out across multiple datacenters in a given geolocation. To find out the exact location of a mailbox:
- Connect to Exchange Online via Windows PowerShell.
- Execute the Get-Mailbox cmdlet in PowerShell to display a list of your Office 365 mailboxes (Fig. 4.).
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
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.
- To see a summary of mailbox locations, you can download and run a custom PowerShell script Get-MailboxLocations.ps1 (Fig. 5.).