Hi Team.
Hoping someone can help.
I have a workflow that is watching to see when any members are removed from a security group. The workflow looks like this.
As we can see, Remove from group
I am saving some object properties in the RemovedMembers item from Requested Changes
I am saving the DN of the member removed from the group.
Now what i need to do is set a VA on the account that is being removed from TRUE to False. I thought i could use an Update item but cant get that to fire.
I even knocked up a quick dirty powershell to see if i could get it that way and add the script to the Workflow. Again the VA never changes. What am i missing here?
################################################################################################################################################ function RemoveGroupMembership($Request){ ################################################ $users = $workflow.SavedObjectProperties("RemovedMembers").getEx("member") $groupDN = $Request.Get("distinguishedName") foreach($userDN in $users){ $Attribute = "TEST" Set-QADUser -IncludedProperties $Attribute -Identity $userDN -ObjectAttributes @{"$Attribute"="FALSE"} } }
Thanks in advance