Exchange Hybrid - External Out of Office not working

Peter 280 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

Exchange | Hybrid management
0 comments No comments
{count} votes

Accepted answer
  1. Pano Boschung 156 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


3 additional answers

Sort by: Most helpful
  1. DM-0815 5 Reputation points
    2024-07-25T07:56:43.26+00:00

    We are facing exactly the same issue.

    There is not even a sending-attempt of the OOF-Reply visible in the onprem-exchange 2019 Mail-Flow logs.

    Internal OOF is working fine, remote mailboxes can use external OOF just fine - but for onpremise mailboxes, external OOF is not working anymore. Used to work at least 6 months ago.

    1 person found this answer helpful.
    0 comments No comments

  2. Anonymous
    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.


  3. Peter 280 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


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.