0

I need to synchronize contacts in Exchange Server and Sugar CRM Application. 10 users exists in my Exchange server , same users exists in Sugar CRM Application. my task is to create service that, if any User [ex:David] create new contact in Exchange server that contact should be created in same user account[David] in CRM Aplication through my service.

How can i get newly added contact details in C# code [EWS Managed API] ?

Please share your ideas ?

Mimi Gentz
  • 1,628
  • 10
  • 14
Dora07
  • 70
  • 1
  • 7

1 Answers1

0

I think you'd want to set up streaming notifications on David's contacts folder using the EWS Managed API. You'd use the same code as is included in How to: Stream notifications about mailbox events by using EWS in Exchange. The difference is that you'd use WellKnownFolderName.Contacts.

Mimi Gentz
  • 1,628
  • 10
  • 14
  • i need to monitor all user accounts in my server, not only David's account. using streaming notifications is it possible for all accounts in server ? – Dora07 Jun 21 '14 at 05:10
  • Yes, it is available for all accounts. If you're dealing with large numbers, then you'll want to use impersonation to create the subscriptions to avoid getting throttled. This topic explains how to group your subscriptions and use impersonation: [How to: Maintain affinity between a group of subscriptions and the Mailbox server in Exchange](http://msdn.microsoft.com/en-us/library/office/dn458789(v=exchg.150).aspx). – Mimi Gentz Jun 23 '14 at 16:57