Hello,
Value references work the same for all types of objects and properties. The following article should be helpful: https://www.adaxes.com/help/ValueReferences. At the same time, you need to pay attention what the target object is. In your case, it is a group, not the member being added. The behavior is by design and comes from AD. The thing is that when you add/remove a member from a group, it is the group being updated, not the member. As such, if you need to update a property of a member being added to a group in your business rule, you should have a script like below. In the script:
- $propertyToUpdate - Specifies the name of the property to update for the member.
- $propertyValue - Specifies the value to be set for the member property.
$propertyToUpdate = "adm-CustomAttributeBoolean20" # TODO: modify me
$propertyValue = $True # TODO: modify me
# Bind to the member
$member = $Context.BindToObject("Adaxes://%member%")
# Update member
$member.Put($propertyToUpdate, $propertyValue)
$member.SetInfo()