0 votes

I am trying to create a business rule to send an email to the manager of the group when a member is added or removed from a rule-based group. I have created the business rule and it works for other groups but not for a rule-based group. Can this be done?

by (2.3k points)

1 Answer

0 votes
by (216k points)
selected by
Best answer

Hello Mark,

The business rules configured to trigger Before/After adding/removing a member from a group do not trigger on membership update of rule-based groups. The behavior is by design.

As a workaround, to send emails on rule-based group membership updates, you can use one of the scripts from the following article in our repository: https://www.adaxes.com/script-repository/changes-in-group-membership-including-changes-made-by-3rd-party-tools-s289.htm.

0

Since this is using a multi-valued attribute, it will be limited to 1500 values correct? We will have groups with more members than that.

There may already be a feature request on this but we should be able to use business rules against rule-based groups even if the available actions are limited. Thanks for the quick answer as always!

+1

Hello Mark,

Since this is using a multi-valued attribute, it will be limited to 1500 values correct? We will have groups with more members than that.

Unfortunately, custom multi-valued attributes are limited to about 1300 values and the number is shared between all the multi-valued attributes of an object. For example, if a custom multi-valued attribute contains 1000 values, the rest of multi-valued attributes can contain up to 300 values in total. Thus, the script will not work for the groups whose members number exceeds the limit.

There may already be a feature request on this but we should be able to use business rules against rule-based groups even if the available actions are limited.

Thank you for the suggestion. We have forwarded it to the corresponding department for consideration.

Related questions

0 votes
0 answers

I have a set of groups: -General --Specific 1 --Specific 2 --etc Since the specific groups are members of the general group, I am trying to remove direct ... conditions of direct membership, but the rule is never triggered. Has anyone done this before?

asked May 13, 2015 by polley (1.2k points)
0 votes
1 answer

When setting up a rule based group, GMSA objects are not visible. Is there a setting or view I need to add to make these availabe to rule based groups, or is it simply not an option?

asked Sep 16 by ajmilic (100 points)
0 votes
1 answer

Is it possible to script having users added (or removed) from a Security Group based on another AD Attribute? I have found ways to do this in Powershell (something like): ... just utilize the PS script and just run it through Adaxes on a timed fashion? Thanks!

asked Oct 7, 2014 by PunkinDonuts (360 points)
0 votes
1 answer

Hi, would it be possible to achieve the following idea: Creating and updating rule based groups, based on user attributes like company? For each company value in AD, ... get all unique company values, then create a group with this company value as filter.

asked Mar 7 by wintec01 (1.5k points)
0 votes
1 answer

Hello, I have a lot of rule-based groups which are updated every day at 5 a.m. but now I would like to change the synchronization time for all groups, for ... custom command be created which updates all groups when executed? Many thanks for your help! D.

asked Jan 9 by DRiVSSi (320 points)
3,588 questions
3,277 answers
8,303 comments
548,093 users