Exchange Hybrid - External Out of Office not working

Peter 100 Reputation points
2024-04-17T16:08:18.4966667+00:00

Hi

We have a hybrid configuration where some mailboxes are still on premises.
In- and outbound mail flow is already configured to be routed through Exchange Online.

Everything works, means on premises mailboxes are able to send external emails through EXO.
But external out of office messages, are not working for on premises mailboxes.
On the on premises Exchange Server message trace I always see a FAIL with the error message "550 5.7.64 TenantAttribution: Relay Access Denied".

Why is that happening, while the same user is able to send emails to external email addresses?

Regards
Peter

Microsoft Exchange Hybrid Management
Microsoft Exchange Hybrid Management
Microsoft Exchange: Microsoft messaging and collaboration software.Hybrid Management: Organizing, handling, directing or controlling hybrid deployments.
1,892 questions
0 comments No comments
{count} votes

Accepted answer
  1. Pano Boschung 76 Reputation points
    2024-04-24T19:50:36.5066667+00:00

    Hi Peter

    I had the same issue, because of renewing the on-premises certificate.

    So this may be due to a configuration change on-premises or a new/renewed certificate.
    If this is the case, try to re-run the hybrid configuration wizard to ensure the certificate on-premises matches the certificate that is specified in Microsoft 365.

    That solved the problem for me.

    Regards
    Pano


2 additional answers

Sort by: Most helpful
  1. Noah Ma-MSFT 610 Reputation points Microsoft Vendor
    2024-04-18T06:31:02.51+00:00

    Hi @Peter,

    Based on your description, I understand that you have an issue that out of office not working for external. For this situation, have you configured the remote domain allow external out-of-office message? Please check if settings for that remote domain are correct as the following steps:

    1. Sign in to the EAC.
    2. Go to Mail flow > Remote domains in the left-hand and click the affected remote domain on the list.
    3. Click Edit reply types. User's image
    4. Make sure that the Allow only external out of office replies option is selected and that the Allow automatic replies checkbox is checked. A screenshot of a computer
    5. Click Save to apply your changes.

    If you have any questions, please feel free to contact me.


  2. Peter 100 Reputation points
    2024-04-19T06:59:58.5633333+00:00

    Hi @Noah Ma-MSFT

    Thanks for answering. Out of office for external is working fine for online mailboxes, but as I wrote, not for mailboxes that are still on premises.

    The Remote Domain setting are configured as follows:

    Online - Default Remote Domain:

    • Allo only external out of office replies
    • Allow automatic replies = True

    On Prem - Default Remote Domain:

    • AutoReplyEnabled = True
    • AllowedOOFType = External Already tried using ExternalLegacy, but with the same result.

    As said, there is no problem for on premises mailboxes to send emails to external users, the issue only exist for out of office sent to external.

    Regards PeterHi @Noah Ma-MSFT

    Thanks for answering.
    Out of office for external is working fine for online mailboxes, but as I wrote, not for mailboxes that are still on premises.

    The Remote Domain setting are configured as follows:

    Online - Default Remote Domain:

    • Allo only external out of office replies
    • Allow automatic replies = True

    On Prem - Default Remote Domain:

    • AutoReplyEnabled = True
    • AllowedOOFType = External
      Already tried using ExternalLegacy, but with the same result.

    As said, there is no problem for on premises mailboxes to send emails to external users, the issue only exist for out of office sent to external.

    Regards
    Peter