question

Sree20212021 avatar image
0 Votes"
Sree20212021 asked JoyZhang-MSFT edited

New concern


,In the hybrid exchange setup, for the account created on Online, how to create a email mapping in the onpremise server. ? it will be almost same as the remote mailbox contact in the exchange, but actually the account not exiting in the on-prem AD
Tags: office-exchange-online-itpro,office-exchange-server-connectivity,office-exchange-server-mailflow

office-exchange-online-itprooffice-exchange-server-mailflowoffice-exchange-server-connectivity
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @JustinMicheal-7973 ,

Is there any updates?

0 Votes 0 ·

1 Answer

JoyZhang-MSFT avatar image
0 Votes"
JoyZhang-MSFT answered JoyZhang-MSFT edited

Hi @JustinMicheal-7973 ,

Based on the explanation of Enable-RemoteMailbox , we use the Enable-RemoteMailbox cmdlet to create a mailbox in the cloud-based service for an existing user in the on-premises Active Directory.

I'm curious about why you want to create a account in exchange online then create a "Remote" mailbox in on premise ? Why not create a exchange online mailbox directly?


If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


· 9
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

We have centralized mail routing..
After creating exchange online mailbox over there, how Exchange onprem will understand about the new object created in the Online

0 Votes 0 ·

Hi @JustinMicheal-7973 ,

When centralized mail transport is enabled, incoming Internet messages are routed as follows in a hybrid deployment:

  • An inbound message is sent from an Internet sender to the recipients who are located in Exchange Online.

  • Because the exchange online recipients have contoso.com (on-premise) email addresses, and the MX record for contoso.com points to EOP, the message is delivered to EOP and scanned for viruses.

  • Since centralized mail transport is enabled, EOP routes the messages for exchange online recipients to an on-premises Exchange server.

  • The on-premises Exchange server performs a lookup for exchange online recipients and determine the exchange online recipients are located in the Exchange Online organization.

  • The on-premises exchange server sent mails back to EOP.

  • EOP sends the message to Exchange Online.

  • Exchange Online delivers the message to recipients' mailboxes.

For more details: centralized mail routing

You don' t need to configure anything since all transport settings are automatically configured in your on-premises organization and in the EOP company included in your Exchange Online organization when you run HCW.

0 Votes 0 ·

The user is already created in o365. I have created in onprem AD.

Do I need to create the user in onprem AD before issuing the command

Or no need on such a user in onprem AD.. ?


Enable-RemoteMailbox “user identity” -RemoteRoutingAddress “user@company.mail.onmicrosoft.com
run the below command to get the Exchange Online GUID of the cloud mailbox

Can you help me with commandlets in detail please

0 Votes 0 ·
Show more comments