Office 365 Tenant Monitoring

Microsoft announced that they updated the Exchange Server Deployment Assistant to include support the Hybrid Deployment Wizard in Exchange 2010 SP2. You can read more about the update here:

I found something new while walking through the Deployment Assistant, Tenant Monitoring. In the Deployment Assistant this is described as:

"Exchange Online monitors the health of the hybrid deployment between your on-premises organization and the Exchange Online organization. If federated sharing, transport routing and other services start to have issues, Exchange Online will notify you…"

This is on by default and will send to the mailbox of the administrator account used to set up your Office 365 tenant. You can add external addresses to get this notification. To do this you connect to Exchange Online using remote Powershell (see below for instructions on connecting Powershell to Exchange Online). Once connected run the command:

Get-OrganizationConfig | Format-List ExchangeNotificationRecipients

This will display a multi-valued property of the email addresses configured to receive the alert. If it is blank like below, they the administrator account mentioned above is the only recipient.

ExchangeNotificationRecipients : {}

Use the below command to set additional recipients for the notification:

Set-OrganizationConfig -ExchangeNotificationRecipients,

I would recommend setting these to external email addresses you monitor, since the notifications with be stating a possible issue with the Tenant you probably do not want to use an Exchange Online email address.


Connect to Exchange Online with Powershell:

Launch PowerShell on your local machine with Admin credentials, commands below are in quotes, remove quotes and add to the PowerShell session:

"$cred = Get-Credential"

"$session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri -Credential $cred -Authentication Basic –AllowRedirection"

"Import-PsSession $session"

You will not be connected to the Exchange Online environment. With the first command, you will get a pop-up asking for username and password; give the credentials in for your Office 365 tenant that has Admin credentials.

When you are done with remote PowerShell to Exchange Online run the below command to disconnect:

"Remove-PsSession $session"

Leave a Reply