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 (294k 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 need to send an e-mail to the owner ("managed by") for each group. The e-mail should contain a list of group members. What is the best way to do that?

asked May 9 by akindy (40 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 (280 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)
3,589 questions
3,278 answers
8,303 comments
548,105 users