0 votes

In most situations in Adaxes when multiple members are added or removed from a group the members are processed individually allowing business rules to run for each of them. However, when using Add-AdmGroupMember with an array of users for the -Member property it is processed as a single action. When this happens the business rule value references like %member% or %adm-MemberEmail% only have a value for the first group member in the array.

Is this expected? If so, is there a way in a business rule to get information about the other members added with the cmdlet?

by (120 points)

1 Answer

0 votes
by (292k points)

Hello Carl,

The behavior is by design. To achieve the desired, you need to use a different approach. For an example, have a look at the script on tab ADSI of the following SDK article: https://adaxes.com/sdk/SampleScripts.AddingAndRemovingGroupMembers.

Related questions

0 votes
0 answers

Is it possible to trigger an action 'after removing a member from a group' unless that member is a member of another group? For example I have two security groups: 'DS Senders' and ... 'DS Senders' but not if they are a member of 'DS Viewers', and vice versa.

asked Oct 26, 2021 by bavery (250 points)
0 votes
1 answer

Is there any way to add a warning message when someone tries to add a group member that already is member? Checked config but found nothing related. Added a new member that ... the group and there is no warning, and the logs show that the task was completed.

asked Jul 9 by lramirez (20 points)
0 votes
1 answer

To avoid typos at the user creation, I want if it is possible to define der Property "IP Phone" by default as the last 4 digits of the property "Telephone Number" ? Thanks

asked Oct 11, 2022 by boris (530 points)
0 votes
1 answer

Looking to add a delegated permission for a specific OU for a security role (Help-Desk) to provide the ability to join machines to the domain and also rename the machines in domain.

asked Apr 14, 2023 by Vish539 (460 points)
0 votes
1 answer

We have a Business rule that runs after successful user creation. It creates a EULA Word doc with the username and initial password for the new user. It was originally set as a ... , and I don't believe any changes have been made to the Adaxes setup...

asked Jul 8, 2020 by johnsonua (390 points)
3,569 questions
3,259 answers
8,274 comments
547,937 users