0 votes

Update group membership based on one property values. I am trying to find a script that resembles "Update group membership based on two property value" but just for one value.

by (20 points)

1 Answer

0 votes
by (223k points)

Hello,

If you are using Adaxes 2020.1 or later, you can have rule-based groups. For details, have a look at the corresponding section of the following tutorial: https://www.adaxes.com/tutorials_AutomatingDailyTasks_AddUsersToGroupsByDepartment.htm#dynamicgroups. For information on how to check the version of Adaxes you are suing, have a look at the following help article: https://www.adaxes.com/help/CheckServiceVersion.

If you are using an older version, you can adjust the following script from our repository to meet your needs: https://www.adaxes.com/script-repository/update-group-membership-based-on-property-value-s570.htm. Should you have issues updating the script, please, specify the names of the properties that will take part in the workflow.

Related questions

0 votes
1 answer

Receive "Index operation failed; the array index evaluated to null. Stack trace: at <ScriptBlock>, <No file>: line 104>" and "Index operation failed; the ... $GroupName, $GroupDN." } } #foreach write-output "" Write-Output "" Stop-Transcript

asked Apr 14 by jbahou (20 points)
0 votes
1 answer

Hi, as the subject indicates I created a form within Adaxes using adm-CustomAttributeText to display various DropDown fields. My question is, is it possible to somehow link a ... fields to create a group and if so how should it look like? Regards Ingemar

asked Feb 13, 2014 by ijacob (960 points)
0 votes
1 answer

Hello, I have trouble understanding the instruction listed here: https://www.adaxes.com/script-repositor ... s-s516.htm What should I put into $propertyForSearch and ... Since Adaxes is not the only system adding new locations to AD. Thank you.

asked Jul 4, 2019 by DLe (760 points)
0 votes
1 answer

We have RBAC groups inside an OU. We would like to restrict users from being added to multiple RBAC groups at a time. For example: RBAC Roles OU Sales RBAC Group ... groups outside of this OU structure though. What's the best way to achieve this? Thanks

asked Oct 13, 2021 by bavery (250 points)
0 votes
1 answer

Hi, I am trying to write a PS script for a business rule, that would cancel operation when user tries to remove the "last" RBAC group. Say the group structure is like that: ... "Main RBAC" - but I can't figure out how to do it properly. Thanks for suggestiong

asked Oct 15, 2018 by KIT (520 points)
2,761 questions
2,495 answers
6,538 comments
1,483,358 users