0 votes

I created a group Business Rule that triggers "After adding or removing a member from a group". On its Activity Scope I added a test group, and set it for "The group object" and "Members of the group" but not "Direct members only". This resulted in two entries in the list, one for the group object and one for its members.

The BL triggers when:

  • users are added or removed
  • groups are added or removed
  • the membership of sub-groups changes

The one exception is if I just delete a group that is currently a member (rather than simply remove it as a member), in this case the BR does not trigger.

What should I do to make the BR detect this (admittedly rare) case?

by (40 points)
edited by

1 Answer

0 votes
by (245k points)

Hello Alex,

Unfortunately, there is no possibility to make a business rule triggering After adding or removing a member from a group to fire when a member is just deleted. This behaviour is by design. As an option, you can try using a business rule triggering After deleting a group with the corresponding conditions.

0

Thank you for confirming that. I was worried that I was missing something, so it's helpful to understand that this behavior is by design. But I think I'd better use "Before deleting a group", because in the "After" the group will no longer be a member of anything!

Related questions

0 votes
1 answer

Our Help Desk currently 'mirrors' the group membership of a new user based on another existing user in our AD. I'd like to be able to automate this so that the initiator ... and 'paste' it on the new user being created. Any help on this would be appreciated!

asked Apr 21, 2020 by RayBilyk (220 points)
0 votes
1 answer

Hello, I have 3 groups in my AD environment and want to show all the users that belong to each group. For example - Group 1 Group 2 Group 3 The existing report in the Adaxes ... -Usser D etc. Is there a way to create a report like this? Thank you in advance!

asked Nov 6, 2020 by sirslimjim (480 points)
0 votes
0 answers

I am trying to find a way to create Groups based off an OU and a list of options (check boxes) within the portal For example: Select the Target OU to add groups ... 3 - Remote Administrators Option 3 - Remote Developers Option 4 - Readers Option 4 - Writers

asked Sep 11, 2020 by dknapp (100 points)
0 votes
1 answer

Hello, Similar to exporting the members of a group to a csv file: https://www.adaxes.com/script-repository/export-group-members-to-csv-file-s184.htm I am looking to ... would like to include the memberof csv report in the email as well. Thanks in advance!

asked Feb 7 by JonnyBGood (20 points)
0 votes
1 answer

How can I create a script that does these things For internal audit. objective Even removing all groups of a disconnected user, we will still know which groups the ... in the created group (audit)-sAMAccountName-access add the (user)-sAMAccountName in members

asked Jul 2, 2022 by alancardoso (20 points)
3,008 questions
2,726 answers
7,021 comments
216,342 users