Exchange Hybrid Deployment single forest multiple email domains

%3CLINGO-SUB%20id%3D%22lingo-sub-1513082%22%20slang%3D%22en-US%22%3EExchange%20Hybrid%20Deployment%20single%20forest%20multiple%20email%20domains%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1513082%22%20slang%3D%22en-US%22%3EHi%20all%2C%3CBR%20%2F%3E%3CBR%20%2F%3EI%20have%20a%20question.%20I%20have%2022%20email%20domains%20on%20prems.%20(%20Three%20EXC%202016).%20Points%20to%20a%20third-party%20mail%20scan.%3CBR%20%2F%3EOne%20primary%20domain%20and%20two%20upn%20Sufix%20added%20to%20local%20AD.%20My%20all%20users%20are%20synchronized%20to%20office%20365%20based%20on%20UPN.%20The%20upn%20Sufix%20based%20users%20mailboxes%20are%20online.%20While%20primary%20domain%20based%20mailboxes%20are%20onpremises%20with%2017%20email%20domains%20being%20the%20alias%20and%20email%20addresses.%3CBR%20%2F%3EI%20enabled%20the%20hybrid%20component%20in%20sync%20server.%3CBR%20%2F%3ENow%20when%20I%20add%20my%20email%20domains%20in%20office%20365%20and%20verify%20them%2C%20they%20become%20Authoritative%20and%20break%20the%20mailflow.%20I%20need%20to%20run%20hcw%20so%20I'm%20also%20verifying%20my%20email%20domains.%20Should%20I%20verify%20them%20and%20set%20them%20internal%20relay%20before%20running%20hcw%20or%20is%20there%20anything%20else%20I%20am%20missing%3F%3CBR%20%2F%3E%3CBR%20%2F%3EThanks%3CBR%20%2F%3E%3CBR%20%2F%3EFar.%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1513082%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExchange%20Online%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExchange%20Server%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EHybrid%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1515045%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20Hybrid%20Deployment%20single%20forest%20multiple%20email%20domains%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1515045%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F40291%22%20target%3D%22_blank%22%3E%40Abdul%20Farooque%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%20you%20already%20have%20some%20live%20email%20accounts%20in%20O365%2C%20but%20you%20have%20not%20yet%20configured%20Exchange%20Hybrid%3F%26nbsp%3B%20Is%20that%20correct%3F%26nbsp%3B%20How%20are%20the%20O365%20mail%20accounts%20setup%20for%20identity%20-%20are%20the%20cloud%20only%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1515158%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20Hybrid%20Deployment%20single%20forest%20multiple%20email%20domains%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1515158%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F616707%22%20target%3D%22_blank%22%3E%40PeterRising%3C%2FA%3E%26nbsp%3B%20Out%20of%2019%20domains%20two%20are%20cloud%20only%2C%20so%20there%20users%20are%20syncing%20from%20local%20AD%20(UPN%20Suffix)%20but%20their%20mailboxes%20were%20provisioned%20in%20cloud.%3C%2FP%3E%3CP%3EOther%20all%20domains%20are%20just%20email%20domains%20added%20to%20Exchange%20on-premise%20online%20(%20all%20user%20with%20these%20domains%20are%20syncing%20to%20cloud%20with%20UPN%20suffix%20which%20is%20common%20across.%3C%2FP%3E%3CP%3EThese%20users%20have%20SMTP%20in%20local%20AD%20but%20not%20all%20proxy%20addresses%20which%20are%20there%20in%20exchange%20servers.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1515244%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20Hybrid%20Deployment%20single%20forest%20multiple%20email%20domains%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1515244%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F616707%22%20target%3D%22_blank%22%3E%40PeterRising%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPeter%2C%20Thank%20you.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhen%20I%20add%20any%20email%20domain%20in%20office%20365%20and%20verify%20this.%26gt%3B%20Obviously%20the%20domain%20will%20become%20Authoritative%20but%20it%20should%20not%20break%20mail%20flow%20to%20on-premise%20exchange%20%2C%20but%20it%20does.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eafter%20verifying%20all%20these%20email%20domains%20I%20will%20be%20running%20Azure%20AD%20Connect%20to%20Sync%20and%20convert%20them%20manged.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1515216%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20Hybrid%20Deployment%20single%20forest%20multiple%20email%20domains%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1515216%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F40291%22%20target%3D%22_blank%22%3E%40Abdul%20Farooque%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOK%2C%20and%20in%20what%20way%20does%20this%20break%20mail%20flow%20for%20you%20please%3F%26nbsp%3B%20Can%20you%20give%20me%20an%20example%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E
Contributor
Hi all,

I have a question. I have 22 email domains on prems. ( Three EXC 2016). Points to a third-party mail scan.
One primary domain and two upn Sufix added to local AD. My all users are synchronized to office 365 based on UPN. The upn Sufix based users mailboxes are online. While primary domain based mailboxes are onpremises with 17 email domains being the alias and email addresses.
I enabled the hybrid component in sync server.
Now when I add my email domains in office 365 and verify them, they become Authoritative and break the mailflow. I need to run hcw so I'm also verifying my email domains. Should I verify them and set them internal relay before running hcw or is there anything else I am missing?

Thanks

Far.
35 Replies

@Abdul Farooque 

 

So you already have some live email accounts in O365, but you have not yet configured Exchange Hybrid?  Is that correct?  How are the O365 mail accounts setup for identity - are the cloud only?

@PeterRising  Out of 19 domains two are cloud only, so there users are syncing from local AD (UPN Suffix) but their mailboxes were provisioned in cloud.

Other all domains are just email domains added to Exchange on-premise online ( all user with these domains are syncing to cloud with UPN suffix which is common across.

These users have SMTP in local AD but not all proxy addresses which are there in exchange servers.

@Abdul Farooque 

 

OK, and in what way does this break mail flow for you please?  Can you give me an example?

@PeterRising 

 

Peter, Thank you.

 

When I add any email domain in office 365 and verify this.> Obviously the domain will become Authoritative but it should not break mail flow to on-premise exchange , but it does.

 

after verifying all these email domains I will be running Azure AD Connect to Sync and convert them manged.

 

 

@Abdul Farooque 

 

Ah I understand now.  Yes this would be expected behaviour.  What you would need to do is as you suggest and change the added domains to be internal relay, and then you will need to set up a send connector in Exchange Online from Office 365 to Your Organizations Email Server, and set it to deliver mail to the smart host address of your on-premises Exchange Server.  This should do the trick for you.

@Abdul Farooque  as long as all mail-enabled objects are synchronized to Azure, there should no problem with an authoritative domain. If the domain is set to authoritative, DBE (Directory Based Edge) blocking becomes active which means if a mail will be send to a non-existing recipient in EXO, it will be blocked.

 

During coexistence and your migration phase, change the domains to internal relay and then analyse the mail flow bevor changing it back to authoritative (and maybe consider switch the MX record to EOP as well).

@PeterRising 

 

Got it, and after this I can run hcw, right?

another concern I have many users doesn't have their Proxy addresses populated in AD, though exchange does have these proxy address. I am thing I should populate them before running sync or it will break the incoming to these aliases once the migration is completed?

@Abdul Farooque then you can run HCW, yes.

How can mailboxes have email addresses but they are not populated under the proxyaddresses attribute in AD? This seems to be a serious issue to me that should definitely be solved prior synchronization.

@Dominik Hoefling 

 

Thank you. Do you think so that if a user is created in ECP with Proxy addresses but AD doesn't have that domain added as UPN Suffix,still that proxy address will be pushed down to AD?

@Abdul Farooque you mean if you create a remote mailbox in ECP which is hosted in Exchange Online? The proxy address attribute will be written back to your on-premises AD with AAD Connect. You don't need an UPN suffix for every email address, this is only required for your UPN in your on-prem AD.

 

It's weird that your email addresses aren't visible in the proxy address attribute in your AD ...

@Dominik Hoefling @Abdul Farooque 

 

What I would add to this is that once the HCW has run, you should no longer need the domains to be set as internal relay, and the connector should not be needed either.  Coexistence should take care of things at this point.

@PeterRising it depends. Authoritative should be set if all recipients are either synchronized or migrated to Exchange Online. If you have any kind of applications on-prem like printers, scanners etc. than you need a connector - not the hybrid connector, but it's already there so why change it. Always analyze your environment and then decide if things are necessary or not.

@Dominik Hoefling 

 

Excellent!!! Thank you so much.

@PeterRising  Thank you so much.Appreciated.

@Dominik Hoefling 

Ah! Let me explain this. You mean that if my users are already syncing with UPNs , than I don't need to add all emails domain in local AD to sync them up? and I can migarte mailboxes even their email domain or Primary email addresses are different than upn domain?

 

My understanding is "users are synced based on UPN( UPN domain is not email domain), since users have their Primary domains different than UPNs so I must sync them all , your thoughts?

@PeterRising..got it Peter.

 

and I also tested that if I create a user in Exchnage on-premise and add a proxy field manually, it does populate to AD..So I am OK here, right?

 

@Abdul Farooque exactly, what I mean is that you don't have to add all your 22 domains as an UPN suffix in your on-prem AD. For example, you are using just two UPNs:

- contoso.com

- fabrikam.com

Then only both need to be added in your AD, independent of the email address of the users (abc.com).

@Abdul Farooque 

 

Good luck with it.  Please let us know how things go for you.  :smile:

Peter, I got a question. Upon Checking Dls and Resource (Room) Mailboxes I found they are synching to cloud with onmicrosoft.com domain suffix because they use email address domain instead of UPN domain. How will I migrate them? Can I simply migrate them to roommb1@doman.onmicrosoft.com domain? or this will through any error?