Link to home
Start Free TrialLog in
Avatar of nav2567
nav2567Flag for United States of America

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
ASKER CERTIFIED SOLUTION
Avatar of Sunil Chauhan
Sunil Chauhan
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Use PowerShell as advised on the other thread.
Avatar of nav2567

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.
Avatar of nav2567

ASKER

Please disregard. I am able to use the syntax now.  Thanks.