John Yassa's Blog

Home » Microsoft Office 365 » Do you know where is your Office 365 mailboxes located ?

Do you know where is your Office 365 mailboxes located ?

I started to get a lot of questions regarding the location of the mailboxes hosted on Office 365 , and where is my tenant is hosted ?

Now we are going to look on how we can know the location of the Tenant and the mailboxes

So to check your tenant location (and mailbox location), open up PowerShell and connect to the Exchange Online Shell

$UserCredential = Get-Credential

$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri -Credential $UserCredential -Authentication Basic -AllowRedirection

Import-PSSession $Session

Now if you need to know the Location of one mailbox, run the below command

Get-Mailbox -Identity “Mailbox ID” | fl PrimarySmtpAddress,OriginatingServer,OrganizationId

You will get the below result


The Organization ID representsĀ Tenant within EM EA (Starts with EURP)

The Originating server shows that the mailbox is hosted in AM (Amsterdam)

No if you need to get the location of all your mailboxes hosted in Office 365

Get-Mailbox |fl PrimarySmtpAddress,OriginatingServer

The result as below is showing that all mailboxes are hosted in Amsterdam




  1. Andy says:

    Hi, I was wondering if you know the difference between originatingserver and servername. I get for my users the same originatingserver DBXXX but different servername AMXXX, HEXXX or DBXXXX. I think de servername is the server/location where actually the mailbox is stored and originatingserver is the CAS. Thx Andy

    • JohnYassa says:

      The server name is the Physical server name , like you have one location with multiple Mailbox server roles
      But the originating server represent the location of that servers

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: