Forum Discussion

Orion-Skol's avatar
Orion-Skol
Brass Contributor
Jul 16, 2020

create dynamic distribution group in exchange online office 365

Folks,

I am able to create dynamic security group in azure as below requirements.

- with all users
- user type should be Member
- excludes displayname XYZ
- User should employeeid.

My syntax is below:

(user.objectId -ne null) and (user.userType -eq "Member") and (user.DisplayName -notContains "xyz") and (user.employeeId -ne null).

 

I know how to create Dynamic Distribution Group in exchange, but i am looking for above criteria how to create specific group as listed above in exchange office 365?

any help thx in advance

3 Replies

Resources