Forum Discussion
DanielNiccoli
May 14, 2019Steel Contributor
New-DynamicDistributionGroup cmdlet parameter unavailable and documentation is incomplete
I want to create a new dynamic distribution group and face some issues. 1. The cmdlet and the documentation is missing the RequireSenderAuthenticationEnabled parameter. This command is not li...
wilbertd
Microsoft
Jan 14, 2022About that missing documentation on DirectMembershipOnly, sorry about that. We will get that updated. Here is a description:
DirectMembershipOnly
Dynamic Distribution groups can be used when creating MemberOf conditions for any type of rule. Example of such rules are Mailflow Rules, Journaling Rules, DLP Rules, Safe Attachment & Safe Link Rules and Antispam/Content Filter rules.
When this flag gets set, the MemberOf check will only consider direct members of the group, and not continue to check membership of possible subgroups.
Setting this flag enables an optimization which makes the MemberOf check significantly more efficient and faster. It is uncommon for Dynamic Distribution Groups to have subgroups, so setting this flag is highly recommended for Dynamic Groups when the group is used for MemberOf conditions in rules, and the dynamic group is not supposed to have subgroups.
This flag does not change the behavior when sending an email to a dynamic distribution group. That means that if email; gets sent to a dynamic distribution group which includes subgroups., the members of those sub groups will still get the message.
But if the flag is set, those members of subgroups will not be considered a (direct) member of the dynamic distribution group.
Let me know if this is clear/unclear.
DirectMembershipOnly
Dynamic Distribution groups can be used when creating MemberOf conditions for any type of rule. Example of such rules are Mailflow Rules, Journaling Rules, DLP Rules, Safe Attachment & Safe Link Rules and Antispam/Content Filter rules.
When this flag gets set, the MemberOf check will only consider direct members of the group, and not continue to check membership of possible subgroups.
Setting this flag enables an optimization which makes the MemberOf check significantly more efficient and faster. It is uncommon for Dynamic Distribution Groups to have subgroups, so setting this flag is highly recommended for Dynamic Groups when the group is used for MemberOf conditions in rules, and the dynamic group is not supposed to have subgroups.
This flag does not change the behavior when sending an email to a dynamic distribution group. That means that if email; gets sent to a dynamic distribution group which includes subgroups., the members of those sub groups will still get the message.
But if the flag is set, those members of subgroups will not be considered a (direct) member of the dynamic distribution group.
Let me know if this is clear/unclear.
VasilMichev
Jan 15, 2022MVP
That's good to know, thanks!