Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 247
  • Last Modified:

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.
0
Christian Hans
Asked:
Christian Hans
1 Solution
 
IvanSystem 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

Featured Post

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now