Let's talk about IT!
posts - 2204, comments - 295, trackbacks - 0

My Links


Post Categories


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

Create a new Dynamic Distribution Group in Exchange Online

New-DynamicDistributionGroup -Name DDG-Icewolf-UserMailbox -IncludedRecipients MailboxUsers -ConditionalCompany "Icewolf"

Show the Details - note the Recipient Filter

Get-DynamicDistributionGroup -Identity DDG-Icewolf-UserMailbox | fl

If you check for the Members - it's still empty

Get-DynamicDistributionGroupMember -Identity DDG-Icewolf-UserMailbox

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')))"

After some time, the Members of the Dynamic Distribution Group show up

Get-DynamicDistributionGroupMember -Identity DDG-Icewolf-UserMailbox

No changes in Outlook. The Members of a "normal" Distribution Group can be viewed.

Not in the case of a dynamic distribution group.

Andres Bohren

Print | posted on Thursday, March 17, 2022 9:39 PM | Filed Under [ Exchange ]

Powered by:
Powered By Subtext Powered By ASP.NET