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 (302k 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

Hi, after upgrading to 2025.1 technicians in our helpdesk role is missing the 'Add' button on the 'Member Of' section of the User screen. They have full write ... group membership from the Group screen. Administrator users are still able to see the button.

asked May 1 by Allister (50 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, 2024 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 (570 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 (500 points)
3,687 questions
3,372 answers
8,526 comments
549,596 users