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.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s