0 votes

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

e.g.

  • 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 (100 points)
edited by

1 Answer

0 votes
by (267k points)

Hello,

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

https://adaxes.com/sdk/SampleScripts.CreatingGroups

https://adaxes.com/sdk/IAdmGroup2

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, 2023 by silicondt (60 points)
0 votes
1 answer

I have tried it using the Custom Commands Action "Add the user to a group", which only allows me to add the user to one group at a time, and can't use the multiple DNs that the ... I can't get it to work. Could you assist me in finding the best way to do this?

asked Jan 16 by dominik.stawny (50 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, 2023 by mightycabal (1.0k 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)
3,293 questions
2,991 answers
7,664 comments
544,207 users