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 https://outlook.office365.com/powershell-liveid/ -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
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
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