Forum Discussion
TaranjeetSM11
Aug 11, 2023Copper Contributor
Dynamic Distribution Group with no Disabled Accounts
Hi I'm trying to build a few Dynamic Distribution Lists in Exchange Online and want to only include Active Users (i.e., users that are marked "Active" in Azure AD). I've tried using the UserAccou...
VasilMichev
Aug 11, 2023MVP
Try this:
{RecipientType -eq "UserMailbox" -and ExchangeUserAccountControl -ne "AccountDisabled"}
{RecipientType -eq "UserMailbox" -and ExchangeUserAccountControl -ne "AccountDisabled"}
- charles_thecyberguyFeb 14, 2025Copper Contributor
unfortunately this doesn't work either.