Dynamic Distribution Lists when in Hybrid Office 365 Enviroment

I need to create a Dynamic Distribution List for the entire company... in a Hybrid Office 365 environment...

What's the best practice to get this done, so both select users in O365 and select users still on-premises can email the DDL?

DDL Name: All Corporate Employees
DDL Email: AllCorporateEmployees@contoso.com

Set-DynamicDistributionGroup -Identity AllCorporateEmployees@contoso.com -IncludedRecipients "MailboxUsers,MailContacts" -RecipientFilter {((RecipientType -eq 'UserMailbox' -or 'MailUser' -or 'MailContact'))}

Would that suffice?

Does anyone have any sample PowerShell commands to accomplish this so it works as planned? Please advise and thank you.
Christian HansAsked:
Who is Participating?
 
IvanConnect With a Mentor System EngineerCommented:
Hi,

take a look at these 2 links, maybe they can help you.

https://technet.microsoft.com/en-us/library/jj150422(v=exchg.141).aspx 
https://support.microsoft.com/en-us/kb/3061396

Regards,
Ivan.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.