Dynamic Distribution Lists when in Hybrid Office 365 Enviroment

Christian Hans
Christian Hans used Ask the Experts™
on
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.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
System Engineer
Commented:
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.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial