Troubleshoot Exchange Hybrid Mail Flow and Empty Organization Relationship Results
Question details
Determine why Get-OrganizationRelationship returns no results and investigate external mail delivery in an Exchange hybrid deployment.

- Product
- Microsoft Exchange hybrid and Exchange Online
- Device & OS
- not provided
- Scenario
- A hybrid organization is migrating mailboxes and checking its configuration while investigating external mail delivery.
- Observed behavior
- Get-OrganizationRelationship returns no results even though mailbox migration works; external mail delivery may also be affected.
Identify the affected sender, recipient, and approximate test-message time, and confirm which domain receives external mail. Have an account with appropriate Exchange administrative permissions available for checking both environments.
Check organization relationships in both Exchange environments
Use this check to establish where the command was run and whether a relationship is configured in each environment.
An empty organization relationship result does not by itself prove that hybrid mail flow is broken. Mailbox migration and message routing should be checked separately.
Open the Exchange Management Shell on an on-premises Exchange server and run Get-OrganizationRelationship. Record whether any relationships are returned.
Connect to Exchange Online PowerShell with Connect-ExchangeOnline, then run Get-OrganizationRelationship. Compare the result with the on-premises output and verify that your account has appropriate permissions.
In the Exchange admin center, review the hybrid configuration and connectors. Confirm the intended coexistence and mail-flow settings before making changes.
Trace hybrid mail flow through Exchange and security gateways
Use message traces, queues, and DNS checks to locate where external delivery stops.
Work with Office files in WPS while troubleshooting Exchange
WPS Office is a free, lightweight, easy-to-use alternative for documents, spreadsheets, and presentations. Its familiar interface and Office format compatibility help you move existing files into your workflow, although it does not repair Exchange hybrid mail flow.

Frequently Asked Questions
Does an empty Get-OrganizationRelationship result mean mail flow is broken?
No. Run the command in both the on-premises Exchange Management Shell and Exchange Online PowerShell, then investigate mail delivery separately using connectors, queues, and message traces.
Should I point my MX record to Exchange Online Protection?
Only if that matches the intended inbound mail route. Check the current record with nslookup -type=mx and review any on-premises or third-party gateway dependencies before changing DNS.
Where can I find messages stuck on an on-premises Exchange server?
Run Get-Queue in the Exchange Management Shell to inspect queues and delivery errors. Use Get-MessageTrackingLog to trace a specific message by sender, recipient, and time.
How can I tell whether a security gateway blocked a message?
Search the gateway's message logs, queue, and quarantine for the test message. Compare its timestamps with Exchange tracking logs and contact the gateway vendor if its appliance is blocking or delaying delivery.





