0 votes

I'm trying to implement the script on https://www.adaxes.com/script-repository/changes-in-group-membership-including-changes-made-by-3rd-party-tools-s289.htm. I added my email address as the $to and set the $savedMembersAttribute to the group's %ExtensionAttribute1%. When I run the script, nothing happens. No email is sent and %ExtensionAttribute1% is not populated. I'm looking for some help getting the script to run correctly.

Note the scheduled task is set to run hourly on Domain Admins, and Exchange Admin "group" objects.

Thanks

by (110 points)

1 Answer

0 votes
by (272k points)

Hello,

As it is mentioned in the script description, the $savedMembersAttribute variable must be set to an LDAP name of an attribute, not a value reference. Also, it must be a binary attribute, not a text one. Lastly, make sure that scheduled task includes the Domain Admins group itself in the Activity Scope, not its members.

0

can you provide an example of this?

"$savedMembersAttribute variable must be set to an LDAP name of an attribute, not a value reference. Also, it must be a binary attribute, not a text one."

0

Hello,

There is an example in the script itself. Here is another one:

$savedMembersAttribute = "adm-CustomAttributeBinary5" # TODO: modify me

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, 2022 by jbahou (20 points)
0 votes
1 answer

Hello Back when we first started using Adaxes you created a couple of great scripts which worked together really well, the first one copied one users group membership and put in ... an addition to what groups the second user is already a member of? Thank you.

asked Aug 4, 2015 by CBurn (700 points)
0 votes
1 answer

Greetings! Is there a way to be alerted via email and/or SMS when specific AD group changes have been made through the Adaxes web console? Currently I am looking at the ... a few AD groups, and not all. Any insight would be appreciated. Thanks! Marty Bouillon

asked Jan 4, 2017 by bouillon (150 points)
0 votes
1 answer

I am trying to see if I can implement this in Adaxes somehow to support role-based provisioning to external apps (using appropriate Powershell scripts) but struggling to work ... to invest in a full-blown role-based provisioning platform (would rather not!).

asked Dec 24, 2019 by Bernie (310 points)
0 votes
1 answer

When using the remove all groups script from your repository. https://www.adaxes.com/script-repository/remove-all-group-memberships-for-a-user-account-s33.htm I need to have adaxes log ... ", "Information") What I get in the log is: What am I doing wrong?

asked Jan 17, 2023 by mightycabal (1.0k points)
3,351 questions
3,052 answers
7,791 comments
545,093 users