EWS 2.0 (Exchange 2007 ) - How to Add a Picture to a Contact? RRS feed

  • Question

  • Does anyone know how to add a contact photo to a contact item using the EWS 2.0 against Exchange 2007?

    I have tried the SetContactPicture method which doesn't seem to be supported in 2007.


    Monday, November 24, 2014 9:35 AM

All replies

  • In E2007, I think you will need to attach an image to the contact item, and set PR_ATTACHMENT_CONTACTPHOTO to True .

    You can do the attachment in EWS, but I don't know if you can set such a property on the attachment item once you know the item id.

    OWA For SmartPhone

    Monday, November 24, 2014 1:49 PM
  • You'll need to use another API to set that property on 2007 you can still use WebDAV or you'll need to look at using MAPI via the OOM or a third party like Redemption.

    On 2010,2013 you can set that prop via EWS.


    Tuesday, November 25, 2014 4:20 AM
  • Ok so there is no way of setting the Picture of a contact via EWS on Exchange 2007.

    Is there a way of using a custom form region to set the picture?

    Wednesday, November 26, 2014 9:00 AM