Monitoring Benefit
The Exchange Online OAuth Connectivity status tests verify that the 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 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"
From the Exchange server, open 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>
Common warning or error result(s) and potential solutions to resolve the issue(s).
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.
Refer to the following URL(s) for troubleshooting OAuth Connectivity issue(s) related to either Exchange or Exchange Online:
Configure OAuth authentication between Exchange and Exchange Online | Microsoft Learn
Refer to the following URL(s) for troubleshooting OAuth Connectivity issue(s) related 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.