0 votes

I need to create a lot of groups that have similar dynamic membership rules.


  • Marketing group that adds users if they are enabled and if customAttribute10 is "14"
  • Sales group that adds users if they are enabled and if customAttribute10 is "18"
  • Admin group that adds users if they are enabled and if customAttribute10 is "42"

but I need to do this for about 100 groups, and I'd like to copy all the other settings and attributes between them.

So is there a way to do this in bulk?

by (80 points)
edited by

1 Answer

0 votes
by (262k points)


It is only possible to create rule-based groups in bulk via a script. The following SDK articles should be helpful:



For your information, Adaxes custom attributes (e.g. CustomAttributeText1) cannot be used in membership criteria for rule based groups. This behavior is by design and cannot be changed. As such, if customAttribute10 is an Adaxes custom attribute, the only approach you can use is via business rules or scheduled tasks. For details, have a look at section Centralized automation of the following tutorial: https://www.adaxes.com/help/AddUsersToGroupsByDepartment/#centralized.

Related questions

0 votes
1 answer

https://www.adaxes.com/script-repository/remove-all-group-memberships-for-a-user-account-s33.htm I found this script but it only removes 365 groups, security groups, and ... user from all shared mailboxes they are a member of when disabling a user. Thanks!

asked Sep 8 by silicondt (60 points)
0 votes
1 answer

I am trying to see if I can implement this in Adaxes somehow to support role-based provisioning to external apps (using appropriate Powershell scripts) but struggling to work ... to invest in a full-blown role-based provisioning platform (would rather not!).

asked Dec 24, 2019 by Bernie (310 points)
0 votes
1 answer

Using this built in function: There is no option to change the domain on the user account, however this is not the domain we use for UPN. However after creating a user, you can change it but trying to avoid going back into the object.

asked Apr 14 by mightycabal (890 points)
0 votes
1 answer

Currently, when I disable a user account in Adaxes, the group memberships of the user remain intact. I'd like to automate the removal of group memberships such as distribution ... a list of groups/DL that the user was previously in and removed from. Thanks!

asked Nov 3, 2021 by jayden.ang (20 points)
0 votes
1 answer

for example i add a form "create user for France" in the left pane, how can i translate it automatically when the UI in in French ? thank you

asked Apr 29, 2021 by GG (70 points)
3,231 questions
2,932 answers
535,364 users