Migrating from office 365 to on-premises Exchange server

Zeeshan Butt 21 Reputation points
2022-03-19T07:03:38.95+00:00

Dear Migration expert,

When migrating a mailbox from office365 back to On premises. i would like to know what would be the value for target address in mail contact in office365. My dns is pointing to Office 365 and i don't want to change anything in it. Once migration is completed office365 mailbox is converted to mail contact with target address which is used for routing a mailbox to on-premises. What is best standard policy for this without changing DNS migrated mailbox should be directed to on-premises.

Regards,

Zeeshan

Exchange | Exchange Server | Management
Exchange | Hybrid management
{count} votes

1 answer

Sort by: Most helpful
  1. Andy David - MVP 157.8K Reputation points
    2022-03-19T15:27:44.553+00:00

    The target address in 365 would be an accepted domain in on-prem Exchange.
    This isnt about DNS, it would be how you have your accepted domains configured in Exchange Online

    So for example:

    If your domain is contoso.com, you would have that set in both on-prem and in Exchange Online.

    In Exchange Online , ensure contoso.com is set as an internal relay:

    https://learn.microsoft.com/en-us/exchange/mail-flow-best-practices/manage-accepted-domains/manage-accepted-domains

    Internal relay (also known as non-authoritative): Recipients for this domain can be in Microsoft 365 or Office 365 or your own email servers. Email is delivered to known recipients in Office 365 or is relayed to your own email server if the recipients aren't known to Microsoft 365 or Office 365.

    Also ensure you have a connector between Exchange Online and on-prem ( You probably already do)

    If you select this option, you must create a connector for mail flow from Microsoft 365 or Office 365 to your on-premises email server; otherwise recipients on the domain who are not hosted in Microsoft 365 or Office 365 won't be able to receive mail on your own email servers. For more information about setting up connectors, see Set up connectors to route mail between Microsoft 365 or Office 365 and your own email servers.

    Thats it! Messages sent to on-prem mailboxes will then get correctly routed.


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.