nav2567
asked on
Office 365 Exchange Dynamic Distribution Group.
Hello,
I want to create a dynamic distribution group which uses a rule to "import" mailuser that has the Usagelocation attribute of "US".
I do not see Usagelocation when I click the rule drop down. Please see attached, and advise if there is a way.
Many thanks.
TESTDDG.png
I want to create a dynamic distribution group which uses a rule to "import" mailuser that has the Usagelocation attribute of "US".
I do not see Usagelocation when I click the rule drop down. Please see attached, and advise if there is a way.
Many thanks.
TESTDDG.png
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Use PowerShell as advised on the other thread.
ASKER
Thanks.
I am trying to dynamically add users who is in either US or Canada AND their accounts are enabled to the O365 group but I do not see that option is possible in "Add dynamic query".
This does not work (user.accountEnabled -eq True) and ((user.usageLocation -eq "US") or (user.usageLocation -eq "CA"))
Someone who knows please advise.
Many thanks.
I am trying to dynamically add users who is in either US or Canada AND their accounts are enabled to the O365 group but I do not see that option is possible in "Add dynamic query".
This does not work (user.accountEnabled -eq True) and ((user.usageLocation -eq "US") or (user.usageLocation -eq "CA"))
Someone who knows please advise.
Many thanks.
ASKER
Please disregard. I am able to use the syntax now. Thanks.