John Yassa's Blog

Home » Posts tagged 'OriginatingServer'

Tag Archives: OriginatingServer

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 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

Org

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

org2

 

%d bloggers like this: