Forum Discussion

bboydisbhorg's avatar
bboydisbhorg
Copper Contributor
Oct 19, 2022

Exchange Online: Dynamic distribution list enhancement

We need the ability to exclude certain email addresses from a dynamic distribution list

  • Simply adjust your filters accordingly. Here's for example the filter for one of my Groups:

    ((RecipientTypeDetails -ne 'SharedMailbox') -and (Company -ne 'mydomain1.com'))

    The first clause excludes any Shared mailboxes, the second one filters based on the domain. You can use the same method for any other supported property.

Resources