Monitoring Benefit
The Exchange Online OAuth Connectivity status tests verify that OAuth authentication is available for your applications that rely on this component of the Hybrid Organization configuration.
How do we verify the monitoring test results?
From the Exchange server, open the Exchange Management Shell:
Test-OAuthConnectivity -TargetUri https://outlook.office365.com/EWS -Mailbox "Your On-Premises Mailbox"
From Exchange Online, open remote PowerShell:
Test-OAuthConnectivity -TargetUri https://mail.contoso.com/ews/ -Mailbox "Your Cloud Mailbox"
Reference: Test-OAuthConnectivity examples | Microsoft Learn
From the Exchange server, open the Exchange Management Shell:
Get-OrganizationRelationship | Test-OrganizationRelationship -UserIdentity <Your On-Premises Mailbox>
From Exchange Online, open remote PowerShell:
Get-OrganizationRelationship | Test-OrganizationRelationship -UserIdentity <Your Cloud Mailbox>
Reference: Test-OrganizationRelationship examples | Microsoft Learn
Common warning or error results, and potential solutions
Review the OAuth configuration settings by opening the ENow Admin Console and selecting:
Server > Tuning Policy > Settings > Microsoft 365 > Exchange Online Hybrid Mode > OAuth Configuration Tests
For troubleshooting OAuth connectivity issues related to either Exchange or Exchange Online:
Configure OAuth authentication between Exchange and Exchange Online | Microsoft Learn
For troubleshooting issues specific to running the Test-OAuthConnectivity cmdlet:
401 Access denied when running Test-OAuthConnectivity - Exchange | Microsoft Learn
Comments
0 comments
Please sign in to leave a comment.