Forum Discussion
bboydisbhorg
Oct 19, 2022Copper Contributor
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.