How to Create an Exchange Online Dynamic Distribution List from an Active Directory Group
Question details
The user needs to create an Exchange Online Dynamic Distribution List that automatically includes members of an on-premises universal security group in a hybrid environment.

- Product
- Microsoft Exchange Online
- Device & OS
- not provided
- Scenario
- Setting up a RecipientFilter for a Dynamic Distribution List using the MemberOfGroup attribute and the on-premises group's distinguished name.
- Observed behavior
- The RecipientFilter fails to evaluate correctly, and the Exchange Online list does not populate with the members of the on-premises Active Directory group.
Ensure you have Exchange Administrator privileges and verify that Azure AD Connect is actively synchronizing your on-premises Active Directory users to Microsoft 365.
Use Custom Attributes for Dynamic Filtering
Since directly filtering by on-premises group membership is limited in Exchange Online, syncing a custom attribute is the most reliable workaround.
In a hybrid environment, Exchange Online cannot dynamically query on-premises Active Directory in real-time. Because of this limitation, using the MemberOfGroup attribute with an on-premises distinguished name typically fails during the evaluation process in the cloud.
In your on-premises Active Directory, bulk-edit the user accounts belonging to the target security group to include a specific value in one of the Exchange extension attributes (e.g., CustomAttribute1 = 'Group_A_Member').
Run Azure AD Connect to push these changes to the cloud. You can use the PowerShell command 'Start-ADSyncSyncCycle -PolicyType Delta' on your sync server to speed this up.
Navigate to the Exchange Admin Center or use Exchange Online PowerShell to modify the Dynamic Distribution List. Set the RecipientFilter to query the synchronized custom attribute instead of group membership (e.g., 'CustomAttribute1 -eq "Group_A_Member"').

Consult Microsoft Q&A Hybrid Experts
If standard hybrid synchronization methods do not fit your administrative workflow, seek environment-specific engineering guidance.
Manage Your IT Documentation Efficiently with WPS Office
While WPS Office cannot directly resolve Exchange Hybrid configuration limitations, it serves as an excellent, free Microsoft Office alternative. IT administrators can utilize WPS Office to draft technical guides, log PowerShell scripts, and present hybrid architecture diagrams with ease.
- 1. Download the software: Visit the official WPS Office website and download the free installation package for your operating system.
- 2. Install and launch: Run the installer, follow the simple on-screen prompts, and launch the application to start creating your IT documents.

Frequently Asked Questions
Why does MemberOfGroup fail in an Exchange Online Dynamic Distribution List?
In a hybrid setup, Exchange Online relies exclusively on cloud-synchronized attributes. The distinguished name of an on-premises group often cannot be properly resolved by the cloud's dynamic evaluation engine, causing the filter to fail.
Can I use on-premises Active Directory attributes for cloud dynamic lists?
Yes, provided those attributes (such as ExtensionAttributes or CustomAttributes 1-15) are configured to sync to Microsoft 365 via Azure AD Connect.
How do I force Azure AD Connect to sync my attribute changes quickly?
You can force a delta synchronization by opening PowerShell as an Administrator on your Azure AD Connect server and running the cmdlet: Start-ADSyncSyncCycle -PolicyType Delta.
Are there other alternatives besides custom attributes?
Another alternative is to maintain a standard Mail-Enabled Security Group or a standard Distribution List that is managed on-premises and synced to Exchange Online, bypassing the need for cloud-side dynamic evaluation entirely.




