The membership of the distribution group described earlier is static. For example, if a user's mailbox account is added to a distribution group, it always belongs to the group regardless of how the object's properties change. In addition, if a user wants to join a distribution group, they must pass a specific join operation (whether it is an administrator or a user self-service request).
Is it possible to automatically add or change the group to which it belongs, as the user's attributes change, such as where the department or contact address has changed? Of course, Exchange online can be implemented through the "Dynamic distribution Group" feature. For example, there are now two departments, one is the technical department, one is the product department, in order to flexibly and conveniently manage the user bulk mail, you can build a dynamic distribution group based on the department of the user attribute. In this way, the "technical department" and "product Department" two dynamic distribution groups are set up to identify the "department" attribute values. Now that an employee is a technical department, it is now transferred to the Product department, and as human resources changes the value of its "department" attribute, the employee's user mailbox account will automatically become a member of the "product Department" dynamic group, thus avoiding the need for users or administrators to manually make changes.
Fundamentally, a dynamic distribution group can be understood as a filter with mail address enabled, and after receiving messages sent to it, by running a filter to find the recipient objects in the Active Directory that match the filter, and then assign messages to those objects.
First, create dynamic distribution groups
1 , creating a dynamic distribution group from the Exchange Admin Center
In the Exchange Admin Center window, click "to" in the navigation bar, select "Group" in the right window navigation bar, click the Add "+" button and select "Dynamic Distribution Group" from the drop-down menu.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6F/0B/wKiom1WQJLfT21zZAAGOfDugeFs145.jpg "title=" 01.png "alt=" Wkiom1wqjlft21zzaagofdugefs145.jpg "/>
Define the display name and alias for the distribution group in the new Dynamic Distribution Group window. Like distribution groups, aliases directly affect the e-mail addresses of dynamic distribution groups.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6F/08/wKioL1WQJn-wfZR7AAGkUxvKqts961.jpg "title=" 02.png "alt=" Wkiol1wqjn-wfzr7aagkuxvkqts961.jpg "/>
Unlike distribution groups and security groups, you need to define a filter here to filter the recipients that are appropriate for that group of criteria. The default selection is all recipient types, which can be modified as needed, for example, to select only mailbox users, that is, users with Exchange mailboxes. Then, click Add Rule, and in the drop-down list, select the filter-based attribute value.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6F/0B/wKiom1WQJMzj2ElDAAGyPRC42nc691.jpg "title=" 03.png "alt=" Wkiom1wqjmzj2eldaagyprc42nc691.jpg "/>
The property values that can be used for recipient objects Here are: State, company, department, and custom properties 1 to 15. After you select the property value that you want to use to evaluate the filter, click on the "input statement ..." to the right, and add the keyword as the filter criteria when the "Specify words or phrases" dialog box pops up. For the same rule, these keywords are "or" relationships. Finally, click "Save" to complete the creation of the dynamic distribution group.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6F/08/wKioL1WQJrmC5vi9AAHP7_wpZbQ049.jpg "title=" 05.png "alt=" Wkiol1wqjrmc5vi9aahp7_wpzbq049.jpg "/>
2 , view verify that dynamic distribution groups are created successfully
When a dynamic distribution group is created, it is not displayed in the Office 365 Admin Center and can only be displayed in the EAC. However, if you need to view its members, you need to do so through PowerShell's Get-dynamicdistributiongroup command.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6F/0B/wKiom1WQJQHy9vmBAACiUa-CfQI339.jpg "title=" 06.png "alt=" Wkiom1wqjqhy9vmbaaciua-cfqi339.jpg "/>
$Tech =get-dynamicdistributiongroup " Technical Department "
Get-recipient-recipientpreviewfilter $Tech. Recipientfilter
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6F/08/wKioL1WQJsnyUYgyAAFxTvvYHm0992.jpg "title=" 07.png "alt=" Wkiol1wqjsnyuygyaafxtvvyhm0992.jpg "/>
II. Management configuration Dynamic Distribution Group
Unlike distribution groups, dynamic distribution groups can only be managed in the EAC and PowerShell, and do not manage configuration operations for dynamic distribution groups through the Office 365 Admin Center.
1 , using the Exchange Admin Center to manage dynamic distribution groups
Dynamic distribution groups The administrative operations and distribution groups in the EAC are basically the same, navigate to recipients, locate the Groups tab, select the dynamic distribution group you want to configure, click the Pen button, and open the Dynamic Distribution Group Properties window.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6F/0B/wKiom1WQJQ-ir4EDAAGrkUocLCs166.jpg "title=" 08.png "alt=" Wkiom1wqjq-ir4edaagrkuoclcs166.jpg "/>
The Dynamic Distribution Group Properties window has the same options as the distribution group, so you can refer to the management method of the distribution group. The only difference is in the Membership tab. The membership of a dynamic distribution group is done through filters, all of which are modified filter configurations, rather than specifying adding or removing specific recipients.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6F/08/wKioL1WQJtfTt9wvAAJl0XU4tT4564.jpg "title=" 09.png "alt=" Wkiol1wqjtftt9wvaajl0xu4tt4564.jpg "/>
2 , managing dynamic distribution groups with PowerShell
The set-dynamicdistributiongroup command enables you to set up dynamic distribution groups in PowerShell. For example, you need to manage the e-mail addresses of dynamic distribution groups. The Get-dynamicdistributiongroup view finds that the mailing address for a distribution group is not a custom domain, but is the default domain name suffix when Office 365 registers for a subscription.
Get-dynamicdistributiongroup " Technical Department "| Flname,emailaddresses
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6F/0B/wKiom1WQJR6ClhDCAADXtx_5BFE424.jpg "title=" 10.png "alt=" Wkiom1wqjr6clhdcaadxtx_5bfe424.jpg "/>
You now need to change the primary e-mail address of the dynamic distribution group to a custom domain suffix, while retaining the default domain name as the e-mail address for the domain suffix of the Office 365 registered subscription.
Set-dynamicdistributiongroup " Technical Department "-emailaddressessmtp:[email protected], Smtp:[email protected] remind you, do not spam ads!
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6F/0B/wKiom1WQJSTBHdTfAAHwjPs_Zbs445.jpg "title=" 11.png "alt=" Wkiom1wqjstbhdtfaahwjps_zbs445.jpg "/>
It is important to note that when defining the primary mail address, use uppercase "SMTP", the secondary e-mail address with lowercase "SMTP", one recipient can only specify one primary mail address, and can be fixed to multiple secondary mail addresses.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6F/08/wKioL1WQJuuz5x1RAAJSsgJxtxM353.jpg "title=" 12.png "alt=" Wkiol1wqjuuz5x1raajssgjxtxm353.jpg "/>
This article is from the "Fat Brother Technology Hall" blog, please be sure to keep this source http://liulike.blog.51cto.com/1355103/1668898
EEEKB article--Go to the Exchange Online service in Office 365 How to manage dynamic distribution groups for Exchange online