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 (294k 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

Our helpdesk asked for a solution to easily compare 'member of' details between 2 (or more) users so they can see the differences in group memberships.

asked Oct 28 by ddesmedt (40 points)
0 votes
1 answer

We're delegating admin rights to our various IT departments, only giving them access over their stuff under their OUs. They're missing the option to see the group membership ... on user's management history, is there another approach that I'm not aware of?

asked Sep 18 by felix (150 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)
3,589 questions
3,278 answers
8,303 comments
548,105 users