Home

Exchange Hybrid Distribution Group

%3CLINGO-SUB%20id%3D%22lingo-sub-776791%22%20slang%3D%22en-US%22%3EExchange%20Hybrid%20Distribution%20Group%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-776791%22%20slang%3D%22en-US%22%3E%3CP%3ECan%20Distribution%20groups%20created%20in%20EOL%20in%20hybrid%20environment%20seen%20in%20Exchange%20On%20Premises%20address%20book%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-776791%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%3EOutlook%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-776937%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20Hybrid%20Distribution%20Group%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-776937%22%20slang%3D%22en-US%22%3E%3CP%3E%26nbsp%3BIts%20possible%20but%20tricky%20and%20have%20some%20loophole%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F53659%22%20target%3D%22_blank%22%3E%40Sai%20Gutta%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECheck%20both%20URL%20for%20reference-%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fexchange%2Fhybrid-deployment%2Fset-up-office-365-groups%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fexchange%2Fhybrid-deployment%2Fset-up-office-365-groups%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22http%3A%2F%2Finfo.adaptivedge.com%2Fblog%2F2017%2F04%2F30%2Fhow-to-enable-office-365-group-writeback-for-a-hybrid-coexistence-environment%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Finfo.adaptivedge.com%2Fblog%2F2017%2F04%2F30%2Fhow-to-enable-office-365-group-writeback-for-a-hybrid-coexistence-environment%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%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-777370%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20Hybrid%20Distribution%20Group%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-777370%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F371094%22%20target%3D%22_blank%22%3E%40Mansihsain%3C%2FA%3E-%20I%20see%20the%20links%20talk%20about%20Office%20365%20Groups%2C%20however%20I%20am%20looking%20at%20Distribution%20Groups%2Flists.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAnd%20also%20can%20on-premises%20users%20send%20emails%20to%20Distribution%20groups%20in%20Exchange%20Online%2C%20I%20receive%20a%20message%20hop%20count%20exceeded%20NDR%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20for%20your%20response.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-777704%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20Hybrid%20Distribution%20Group%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-777704%22%20slang%3D%22en-US%22%3E%3CP%3EIt%20cannot%20be%20seen%20on-premises%2C%20as%20DirSync%20is%20one%20way%20only%2C%20from%20the%20AD%20to%20O365.%20So%20you%20have%20to%20create%20another%20object%20on-premises%20to%20represent%20the%20DG%20address.%20Generally%20speaking%2C%20any%20type%20of%20object%20should%20do%2C%20including%20mail%20contact%2C%20just%20set%20the%20targetaddress%20to%20point%20to%20the%20DG%40tenant.onmicrosoft.com%20value.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-777812%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20Hybrid%20Distribution%20Group%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-777812%22%20slang%3D%22en-US%22%3E%3CP%3EI%20tried%20and%20this%20worked%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F58%22%20target%3D%22_blank%22%3E%40Vasil%20Michev%3C%2FA%3E.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHowever%20does%20this%20treat%20your%20message%20as%20an%20external%20message%2C%20it%20is%20doing%20so%20to%20me.%20Do%20we%20have%20to%20add%20tenant.onmicrosoft.com%20as%20authoritative%20on%20premises%20exchange%20server.%20I%20already%20have%20tenant.mail.onmicrosoft.com%20added%20as%20authoritative%20during%20hybrid%20configuration.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-778541%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20Hybrid%20Distribution%20Group%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-778541%22%20slang%3D%22en-US%22%3E%3CP%3EYou%20can%20simply%20add%20a%26nbsp%3B%40tenant.mail.onmicrosoft.com%20alias%20to%20the%20DG%20and%20use%20that.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-784664%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20Hybrid%20Distribution%20Group%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-784664%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F53659%22%20target%3D%22_blank%22%3E%40Sai%20Gutta%3C%2FA%3E%26nbsp%3BAs%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F58%22%20target%3D%22_blank%22%3E%40Vasil%20Michev%3C%2FA%3E%26nbsp%3B%20stated%20and%20addition%20to%20that%2C%20you%20can%20run%20a%20HCW%20Wizard%20to%20do%20all%20the%20Hard%20Work%20for%20you%2C%20post%20which%20you%20can%20Import%20DG's%20from%20CLoud%20to%20On-Premise%20via%20EMS.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Efrom%20EO%20-%20Get-Recipient%20-recipientType%20DIstributionGroup%20-resultsizeunlimited%20%7C%20Export-Csv%20onlinedl.csv%3C%2FP%3E%3CP%3EFrom%20EMS%20-%20Import-CSV%20onlinedl.csv%20%24_.foreach%20New-DistributionGroup%20-smtp%20-lastname%20............%20(you%20know%20how%20to%20make%20that%20work%20for%20Bulk%20import%20via%20CSV)%26nbsp%3B%3C%2FP%3E%3CP%3EThen%20next%20ad%20sync%20will%20soft%20match%20your%20on%3Dpremise%20ad%20identities%20(DG's)%20to%20Cloud%20automatically.%20BUt%20here%20is%20the%20catch%2C%20because%20now%20import%20is%20coming%20from%20On-premise%20and%20on-premise%20dg's%20have%20no%20members%20%2C%20then%20all%20DG's%20members%20would%20be%20gone%20from%20cloud.%20Workaround%20-%20ensure%20to%20create%20the%20Import%20DG's%20on%20an%20OU%20which%20is%20not%20syncing%20to%20Aure%20AD%20via%20Azure%20AD%20Conect.%20You%20may%20similarly%20export%20all%20members%20from%20cloud%20DG's%20in%20an%20CSV%20and%20import%20to%20On-Premise%20DL%3Bs%20or%20you%20can%20do%20that%20individually%20through%20individual%20dl's%20Excel%20Copy%20paste%20methid%20(Add-distributinGroupMember)%20.%20Once%20you%20are%20sure%20all%20groups%20and%20respective%20members%20are%20matched.%20Move%20them%20to%20a%20syncing%20OU%20in%20AD.%20Run%20Azure%20AD%20Sync%20and%20You%20should%20be%20all%20set.%20(not%20a%20recommended%20idea%20though)%20mail%20contact%20should%20ideally%20do%20the%20trick%20for%20you%20%3A)%3C%2Fimg%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECheers%20!!%3C%2FP%3E%3CP%3EAnkit%20Shukla%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Frequent Contributor

Can Distribution groups created in EOL in hybrid environment seen in Exchange On Premises address book?

6 Replies

@Mansihsain- I see the links talk about Office 365 Groups, however I am looking at Distribution Groups/lists.

 

And also can on-premises users send emails to Distribution groups in Exchange Online, I receive a message hop count exceeded NDR

 

Thank you for your response.

It cannot be seen on-premises, as DirSync is one way only, from the AD to O365. So you have to create another object on-premises to represent the DG address. Generally speaking, any type of object should do, including mail contact, just set the targetaddress to point to the DG@tenant.onmicrosoft.com value.

I tried and this worked @Vasil Michev.

 

However does this treat your message as an external message, it is doing so to me. Do we have to add tenant.onmicrosoft.com as authoritative on premises exchange server. I already have tenant.mail.onmicrosoft.com added as authoritative during hybrid configuration.

You can simply add a @tenant.mail.onmicrosoft.com alias to the DG and use that.

@Sai Gutta As @Vasil Michev  stated and addition to that, you can run a HCW Wizard to do all the Hard Work for you, post which you can Import DG's from CLoud to On-Premise via EMS.

 

from EO - Get-Recipient -recipientType DIstributionGroup -resultsizeunlimited | Export-Csv onlinedl.csv

From EMS - Import-CSV onlinedl.csv $_.foreach New-DistributionGroup -smtp -lastname ............ (you know how to make that work for Bulk import via CSV) 

Then next ad sync will soft match your on=premise ad identities (DG's) to Cloud automatically. BUt here is the catch, because now import is coming from On-premise and on-premise dg's have no members , then all DG's members would be gone from cloud. Workaround - ensure to create the Import DG's on an OU which is not syncing to Aure AD via Azure AD Conect. You may similarly export all members from cloud DG's in an CSV and import to On-Premise DL;s or you can do that individually through individual dl's Excel Copy paste methid (Add-distributinGroupMember) . Once you are sure all groups and respective members are matched. Move them to a syncing OU in AD. Run Azure AD Sync and You should be all set. (not a recommended idea though) mail contact should ideally do the trick for you :) 

 

Cheers !!

Ankit Shukla