Create contacts in Exchange through EWS

452 views Asked by At

I'm new to Exchange and I would like to create a local contact and a group of contacts through Exchange Web Services (EWS).

It doesn't seem to have some methods to do that, or I don't find the precise function to do it in the following documentation: Exchange Web Services (EWS) in Exchange 2010

We use Exchange 2010 SP3.

Any help would be appreciated!

1

There are 1 answers

0
Léo Davesne On

Ok so it seems I can use the ExchangeService.CreateItems method and put some items in it, like contacts or a group of contacts.

From the main documentation:

Item Operations The Item operations provide access to items in the Exchange data store. By using these operations, a client application can create, update, delete, copy, get, move, and send items. The Item operations work on the following item types:

[...]

  • Contact Items Contact items are a set of properties that represent contacts that are located either in the Active Directory directory service or in private contact stores. It is important to note that, while these two types of contacts are similar in data content, they differ in the types of operations that you can perform on them.