Outlook Web App > For Exchange Online Administrators > Manage Exchange Online Users > Dynamic Distribution Groups >

Additional Parameters You Can Use with Dynamic Distribution Groups

Applies to: Office 365 for professionals and small businesses, Office 365 for enterprises, Live@edu

Topic Last Modified: 2010-04-02

When you create dynamic distribution group, you may want to use some of these parameters. They're unrelated to the query filters, but you can use them with the Set-DynamicDistributionGroup cmdlet.

Parameter Description

AcceptMessagesOnlyFromSendersOrMembers

Use this parameter to specify the recipients who can send e-mail messages to this group. You can specify mailbox users, mail users, mail contacts, or groups from the shared address book. If you specify a group, messages will be accepted from all the members of that group. You can specify the senders by any unique identifier, such as display name, alias, or e-mail address. To specify multiple senders, separate the values with commas.

By default, the value of this parameter is blank so the group accepts messages from all senders.

When you specify mailbox users, mail users, or mail contacts, the values are placed in the AcceptMessagesOnlyFrom field. When you specify groups, the values are placed in the AcceptMessagesOnlyFromDLMembers field. We recommend that you don't use the AcceptMessagesOnlyFrom and AcceptMessagesOnlyFromDLMembers parameters.

RejectMessagesFromSendersOrMembers

Use this parameter to specify the recipients who can't send e-mail messages to this group. You can specify mailbox users, mail users, mail contacts, or groups from the shared address book. If you specify a group, messages will be rejected from all members of that group. You can specify the senders by any unique identifier, such as display name, alias, or e-mail address. To specify multiple senders, separate the values with commas.

By default, the value of this parameter is blank so the group accepts messages from all senders.

When you specify mailbox users, mail users, or mail contacts, the values are placed in the RejectMessagesFrom field. When you specify groups, the values are placed in the RejectMessagesFromDLMembers field. We recommend that you don't use the RejectMessagesFrom and RejectMessagesFromDLMembers parameters.

HiddenFromAddressListsEnabled

This parameter hides the dynamic distribution group from the shared address book. Valid values are $true or $false. The default value is $false.

SendModerationNotifications

Use this parameter to specify if status notifications are sent to users when a message they sent to a moderated group is rejected by one of the moderators. You can specify one of the following values:

  • Always   Status notifications are sent to all senders.
  • Internal   Status notifications are sent only to senders inside your cloud-based organization.
  • Never   Status notifications are disabled.

The default value is Never.

ModerationEnabled

This parameter enables or disables message approval for the group. Message approval requires a designated group moderator approve any message that is sent to the group before the message is delivered to the group members. Moderators are defined by the ModeratedBy parameter.

To enable message approval, set this parameter to $true. To disable message approval, set this parameter to $false. The default value is $false.

ModeratedBy

This parameter specifies moderators from this group. One of the specified users must approve any message that is sent to the group before the message is delivered to the group members. You can specify the moderators by any unique identifier, such as display name, alias, or e-mail address. To specify multiple moderators, separate the values with commas.

This parameter is required if you set the ModerationEnabled parameter to $true.