RE: Set value for a fied when contact is created from exchange server side sync
Hello,
I can not comment on that because I don't have exchange setup on my instance but I think you can check on your instance the contact records createdby value and based on that you can write your plugin code.
Normally when user creates contact record from CRM UI the createdby value will have the logged user name.
If contact is getting imported from OOB import wizard then createdby will be same as the user who is importing the record
If contcat is getting created from the integration then createdby value will be same as user under which integration code is running.
Please mark my answer verified if this is helpful!
Regards,
Bipin Kumar
Follow my Blog: xrmdynamicscrm.wordpress.com/