Sychronize with exchange using Webdav and Ews RRS feed

  • Question

  • We store the DAV:id in our database for synchonizing exchange with our application.This id looks like AQEAAAAACJlOCQAAAAAOlwsAAAAA.

    How can i get this id in EWS? Is there a propertyId that represents the DAV:id? I think the first characters are the folderId. Can i construct the rest with the unique id?

    I'm using EWS Java API. Thanks in advance.
    Monday, January 16, 2012 4:39 PM


  • What version of Exchange are you using on 2007 you can still use WebDAV or get access to this property via an Extended Property in EWS in 2010 you can't do either of these.

    The underlying Mapi property for Dav:id is the PR_Instance_Key which is explained in (which also explains its not a very good property to use as a identifier in a database).  PR_Instance_Key isn't accessible  using EWS so if you have already migrated to 2010 you'll need to find a new property to use and then use a Mapi application where you can use the PR_Instance_Key to get the Item and update your database if you want to use EWS going forward.


    • Marked as answer by Baz1nga Friday, January 20, 2012 2:39 PM
    Wednesday, January 18, 2012 5:14 AM