Forum Discussion

SunfieldPaulC's avatar
SunfieldPaulC
Copper Contributor
Nov 07, 2022
Solved

Trying to update old dynamic distribution group to include exchange contacts

Im trying to update an old dynamic distribution group to include exchange contacts.   Can anyone help with this?     ((((((((((((((((((((((CustomAttribute1 -ne 'EXCLUDE') -and (RecipientType -e...
  • VasilMichev's avatar
    VasilMichev
    Nov 08, 2022
    You should be grouping similar clauses together, via parenthesis, otherwise the logic gets broken. So:

    (blabla) -and ((RecipientType -eq 'UserMailbox') -or (RecipientType -eq 'MailContact'))

Resources