How do I disable the Recipient Address Policy for synced objects?
Created: 2012-04-20 08:09:59Modified: 2018-03-27 16:37:11
Tags: Active Directory Exchange 20xx UnitySync
In Active Directory Users & Computers, on the E-mail Address tab, there is a check box that reads: Automatically update email addresses based on Recipient Policy.
By default, UnitySync does not set this attribute. Generally, your Ex20xx policies are set to enable this option whenever a new object is created, including those objects created by UnitySync.
If for some reason you do not want synced objects to have this setting enabled, you may use custom mapping to disable the setting.
- First follow the instructions for creating a custom map file.
- In UnitySync, add the following line to your custom map file:
msExchPoliciesExcluded=\{26491CFC-9E50-4857-861B-0CB8DF22B5D7}
Next time you Synchronize the connection, the change to your map file will trigger modifications on all objects. All synced objects should then have this option disabled.
Note: The above syntax is valid for UnitySync v2.x.