Hi,

we have a custom action in our Adaxes portal that allows users to select only users from a specific country and only if they are members of two specific groups.

Due to a recent restructuring, these groups were moved to new OUs. We noticed afterward that the action criteria was not updated and is still pointing to the old OU.

Is there a way to automate this or make the criteria dynamically update when such changes occur?

Or do we need to manually review and update our actions each time objects are moved or restructured?

Additionally, is it possible to receive a notification or run a script that checks for invalid or non‑existing objects referenced in action criteria?

Our action and criteria are as follows: image.png

ago by (2.5k points)

1 Answer

ago by (308k points)
0 votes

Hello,

Is there a way to automate this or make the criteria dynamically update when such changes occur?

Unfortunately, there is no easy way to do that. It will require quite complicated custom scripting. Also, you will need to take into account that such updates can be performed outside Adaxes.

Or do we need to manually review and update our actions each time objects are moved or restructured?

Yes, that is correct.

Additionally, is it possible to receive a notification or run a script that checks for invalid or non‑existing objects referenced in action criteria?

Unfortunately, there is no such possibility. However, thank you for the suggestion. We forwarded it to the corresponding department for consideration.

ago by (2.5k points)
0

Hi, I just noticed that the path to user objects under Visibility is updated automatically. image.png Maybe the same logic could be applied to the objects used in action criteria?

At the moment, I was able to use the “Copy all actions” option, which provides a JSON file containing all actions and their settings. From there, I can search for relevant strings and paths to identify the actions that need to be updated.

//Edit

I now see why it is updated automatically for the Visibility section. The object is stored with much more information, such as the GUID and SID. image.png

The criteria, however, only uses the DN as its value. image.png

ago by (308k points)
0

Hello,

You are absolutely right, there is a significant difference. The thing is that the Visibility section stores objects. As uses have properties that never change (GUID, SID) it is possible to still reference them properly in case of a move to another OU. In case of criteria, there s just a DN as a string. There is no way to validate it or catch the corresponding object being moved.

Related questions

I'm currently receiving the below error when trying to remove or add actions to a web interface's homepage. I only get the error on this specific dashboard, others are ... the web interface there. I'm currently running Adaxes version 2021.1 if that helps

asked May 21, 2021 by richarddewis (260 points)
0 votes
1 answer

We have four OUs in Active Directory (Pending Deletion, Disabled with Mail Delegates, Disabled with HR Extensions and Disabled_Temp_Leave) that users are moved to prior to their eventual ... past 7 days have been moved to one of 4 of these OUs. Thanks!

asked Jun 3, 2021 by RayBilyk (260 points)
0 votes
1 answer

I'm unable to Browse the AD OUs my Security Role Trustee is Assigned Over in my Custom Web Portal. When clicking Browse it states "No objects to display". How can I rectify this issue?

asked Feb 1, 2013 by mdeflice (350 points)
0 votes
1 answer

Hello! We have a business rule in place that will request approval from a group's owner before adding an account to that group for certain groups. We also have a custom ... name reference is invalid. Do you have any ideas for how to get around this error?

asked Jan 24, 2022 by KelseaIT (330 points)
0 votes
0 answers

Having a strange issue, when executing a powershell command in adaxes as a business rule, the first line, no matter what is there comes up as invalid. Originally my ... line, but I've tried everything and universally the first line is flagged as invalid

asked Oct 23, 2024 by curtisa (350 points)
0 votes
1 answer