Modern Dynamic Distribution Groups in Exchange Online
Hi All,
Did you hear about the "Modern Dynamic Distribution Groups in Exchange Online"?
Little less dynamic but with more caching 😊
Modern Dynamic Distribution Groups in Exchange Online
![](https://icewolffile.blob.core.windows.net/$web/202203/EXO_DynamicDistributionGroup_00.jpg)
Create a new Dynamic Distribution Group in Exchange Online
New-DynamicDistributionGroup -Name DDG-Icewolf-UserMailbox -IncludedRecipients MailboxUsers -ConditionalCompany "Icewolf"
![](https://icewolffile.blob.core.windows.net/$web/202203/EXO_DynamicDistributionGroup_01.jpg)
Show the Details - note the Recipient Filter
Get-DynamicDistributionGroup -Identity DDG-Icewolf-UserMailbox | fl
![](https://icewolffile.blob.core.windows.net/$web/202203/EXO_DynamicDistributionGroup_02.jpg)
If you check for the Members - it's still empty
Get-DynamicDistributionGroupMember -Identity DDG-Icewolf-UserMailbox
![](https://icewolffile.blob.core.windows.net/$web/202203/EXO_DynamicDistributionGroup_03.jpg)
You chan check for the Member with the Recipient filter
Get-Recipient -RecipientPreviewFilter "((((Company -eq 'Icewolf') -and (RecipientType -eq 'UserMailbox'))) -and (-not(Name -like'SystemMailbox{*')) -and (-not(Name -like 'CAS_{*')) -and (-not(RecipientTypeDetailsValue -eq 'MailboxPlan')) -and (-not(RecipientTypeDetailsValue -eq 'DiscoveryMailbox')) -and (-not(RecipientTypeDetailsValue -eq 'PublicFolderMailbox')) -and (-not(RecipientTypeDetailsValue -eq 'ArbitrationMailbox')) -and (-not(RecipientTypeDetailsValue -eq 'AuditLogMailbox')) -and (-not(RecipientTypeDetailsValue -eq 'AuxAuditLogMailbox')) -and (-not(RecipientTypeDetailsValue -eq 'SupervisoryReviewPolicyMailbox')) -and (-not(RecipientTypeDetailsValue -eq 'GuestMailUser')))"
![](https://icewolffile.blob.core.windows.net/$web/202203/EXO_DynamicDistributionGroup_04.jpg)
After some time, the Members of the Dynamic Distribution Group show up
Get-DynamicDistributionGroupMember -Identity DDG-Icewolf-UserMailbox
![](https://icewolffile.blob.core.windows.net/$web/202203/EXO_DynamicDistributionGroup_05.jpg)
No changes in Outlook. The Members of a "normal" Distribution Group can be viewed.
![](https://icewolffile.blob.core.windows.net/$web/202203/EXO_DynamicDistributionGroup_06.jpg)
Not in the case of a dynamic distribution group.
![](https://icewolffile.blob.core.windows.net/$web/202203/EXO_DynamicDistributionGroup_07.jpg)
Regards
Andres Bohren
![](https://icewolffile.blob.core.windows.net/$web/logos/Exchange_logo.png)