I can also handle this with an update user action to clear the field, but I would like to know how to modify the script to be relevant to the user removed as well.
I believe this statement would need to be revised as well because the user is no longer a member, is that correct?
# Bind to new member
$member = $Context.BindToObject("Adaxes://%member%")
In the event that the user is being removed what would this be? Or would this work before the user is removed from the group?
I'd also like to remove the user from another group