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

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 (470 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 (310 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)
0 votes
1 answer

Hello, I understand it is possible to do time based group memberships when using the the Privileged Access Management Feature with the Windows 2016 functional level of ... com/script-repository/temporary-group-membrship-s533.htm the only option at the time?

asked Jan 31 by Daniel (100 points)
3,351 questions
3,052 answers
7,791 comments
545,091 users