[Solved] Emails Stuck in Outbound to Office 365 Queue in Hybrid Exchange

Hybrid mailbox solutions are often a bit more difficult to manage than traditional on-premises Exchange versions. The best way is to stop using one once all of your email boxes have been transferred over the cloud version, but if you are going to use it for longer-term, better master your skills.

In our Exchange hybrid environment, the emails started piling up in the“outbound to office 365’ queue. Usually, this is the queue that is in charge to send and receive emails between the hybrid and other hub transport local servers. Basically, it handles the mail communication between Office 365 and on-prem Exchange mail users. Also, it uses the SMTP relay in the Active directory site delivery type; hence this mail transfer should happen on the local network.

Mail Stuck In Office 365 - Relay Emails

Potential Error Message: Office 365 Hybrid Emails Stuck in Queue: target host responded 421.4.4.1 connection timed out mail-onmicroosft.mail.protecion.outlook.com

How I Fixed this Issue?

Restarting the transport services without any effective changes will not help. Make sure that all Exchange transport servers are allowed to use the Outbound Office 365 connector. Usually, it automatically happens when you do the Exchange server setup or add another hub transport server in your environment. By any chance, if that was not done properly, you can run the below Exchange PowerShell command on your hybrid server.

Set-SendConnectorOutbound to Office 365” -SourceTransportServers EX01,EX02

EX01 and EX02 are the exchange servers you want to add.

As the final solution, modifying the send connector setting helped to fix this issue permanently.

1) Open your hybrid server ECP.

2) Double click (Edit) ‘Outbound to Office 365′ send connector in mail flow settings.

Open Send Connector

3) Under General, enable the ‘Proxy through client access server’ checkbox and save the settings.

Enable Proxy Settings in Send Connector

It will take some to take effect. Otherwise, you can restart the transport service to make it work instantly.

Now you can see that the mails stuck in the Outbound to office 365 queue will process quickly. I hope this small guide is useful to identify and resolve the particular mail stuck issue on your Office 365 Hybrid Exchange setup.

Dinesh is the founder of Sysprobs and written more than 400 articles. Enthusiast in Microsoft and cloud technologies with more than 15 years of IT experience.

1 thought on “[Solved] Emails Stuck in Outbound to Office 365 Queue in Hybrid Exchange”

Leave a Comment