MIM 2016: Delete value of an attribute if blank in one MA

Use Case

I want to make HR authoritative for Phone number info in AD. If HR has no Phone Number to contribute, I want the value in AD to be cleared out



HR.Phone, HR.Lastname => MV.Phone | Advanced | Function HRPhone

Write Extension code call HRPhone – If HR.Phone IsNotPresent then MV.Phone.Delete()

MV.Phone => AD.Phone | Make sure you check “Allow Nulls”


If HR.Phone is blank then AD.Phone will be cleared even if there is value

make sure you do not setup an inbound to MV from AD.Phone.