O365 mail accounts defaulting to .onmicrosoft.com as a domain for out of office messages

kannan 41 Reputation points
2023-04-04T19:26:35.7566667+00:00

The current environment is in Hybrid mode, where we are in the process of migrating user mailboxes from On-prem Exchange 2010 to O365. The issue is reported only for O365 mailboxes, not for On-prem users. We migrated few mailboxes to O365 and O365 mailbox users can send/receive emails normally to external recipients with the default domain(xyz.com); however, OOF replies to external addresses drive out with the default Microsoft domain(xyz.mail.onmicrosoft.com) instead of the default domain, i.e., xyz.com. We don't see this issue for Internal OOS replies and affects only to external senders. All Mailboxes have an email Alias set up along with the default domain. Target email address in ADSI edit is set to xyz.mail.onmicrosoft.com. Can you please assist with this? Regards,
Kannan

Exchange Server
Exchange Server
A family of Microsoft client/server messaging and collaboration software.
1,448 questions
Microsoft Exchange
Microsoft Exchange
Microsoft messaging and collaboration software.
691 questions
Microsoft Exchange Hybrid Management
Microsoft Exchange Hybrid Management
Microsoft Exchange: Microsoft messaging and collaboration software.Hybrid Management: Organizing, handling, directing or controlling hybrid deployments.
2,304 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Andy David - MVP 157.1K Reputation points MVP Volunteer Moderator
    2023-04-04T22:02:08.9866667+00:00

    I suspect with the centralized routing, the OOFs are going out through on-prem and picking up the remote routing addresses for the accounts rather than the default reply address. ( which I assume is set to the custom domain correctly)

    1 person found this answer helpful.
    0 comments No comments

  2. Andy David - MVP 157.1K Reputation points MVP Volunteer Moderator
    2023-04-04T20:36:09.6766667+00:00

    have you enabled Centralized mail transport in hybrid? Sounds also like you do not have an Exchange Server on-prem for mgmt of the synced mailboxes? Also, take a look at this thread: https://www.reddit.com/r/msp/comments/zyav8r/365_mail_accounts_defaulting_to_onmicrosoftcom_as/


  3. Manu 0 Reputation points
    2023-06-20T08:22:47.9233333+00:00

    Same issue here. Hybrid Exchange environment, with a mix of on-premises and EXO mailboxes. Routes set up with connector so that every mail is sent through our on-premises infrastructure. When OOF is enabled on a migrated mailbox, it is sent via its mail.onmicrosoft.com address, although primary address is ourdomain.com.

    Any clue?

    0 comments No comments

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.