UID property of Calendar Null Exchange Web Services 2010 SP2 RRS feed

  • Question

  • Hi,

    I'm using Java to consume EWS APIs. I am trying to fetch Calendar items within a certain date range. For few Calendars items I'm getting UID property as null. As per the MSDN documentation UID of Calendar cannot be null or empty reference 

    Here is the request payload:

    <soap:Envelope xmlns:soap="" xmlns:t="">
    		<t:RequestServerVersion Version="Exchange2007_SP1" />
    		<GetItem xmlns="" xmlns:t="">
    					<t:FieldURI FieldURI="calendar:Organizer" />
    					<t:FieldURI FieldURI="calendar:OptionalAttendees" />
    					<t:FieldURI FieldURI="calendar:RequiredAttendees" />
    					<t:FieldURI FieldURI="item:Body" />
    					<t:ExtendedFieldURI PropertyTag="0x1013" PropertyType="Binary" />
    					<t:ExtendedFieldURI PropertyTag="0x1000" PropertyType="String" />
    					<t:FieldURI FieldURI="item:DateTimeCreated" />
    					<t:FieldURI FieldURI="calendar:Start" />
    					<t:FieldURI FieldURI="calendar:End" />
    					<t:FieldURI FieldURI="calendar:Location" />
    					<t:FieldURI FieldURI="item:LastModifiedTime" />
    					<t:FieldURI FieldURI="calendar:AppointmentSequenceNumber" />
    					<t:FieldURI FieldURI="item:Subject" />
    					<t:FieldURI FieldURI="item:ItemId" />
    					<t:FieldURI FieldURI="item:ParentFolderId" />
    					<t:FieldURI FieldURI="calendar:UID" />
    				<t:ItemId Id="AAMkADlkMGVlMGNlLTljNDktNGFlMi1iZmIyLTJhMzcyNDg2NDg4NwBGAAAAAABXjL+81Py5TY5OXVsf4Q4NBwDlZIRAnXFLTrTCydbbFjQEAACkS8cwAAA5cSgq91wDQp3guH/kYhAjAEPbSRyBAAA=" />

    In the response I do get UID field at all which in turn is evaluated null.

    Can somebody confirm whether it's an issue with exchange? Because we have written out business logic with an assumption that UID will never be null.


    Nitin Arora

    • Edited by aronitin Wednesday, April 9, 2014 12:52 AM
    Wednesday, April 9, 2014 12:51 AM

All replies

  • What version of Rollup are you at with SP2 ? Also have you tried versioning your requests to Exchange 2010_SP2 ? you might also want to try testing this with the EWSEditor to see if you get the same results .

    As a general rule the best id to use for calendaring would be the CleanGlobalObjectId . You can get this using and Extended Properties and it should never be blank


    Wednesday, April 9, 2014 5:40 AM
  • Hi Glen,

    Thanks for the reply. The problem that we are facing is on one of our client's exchange server.

    1. I don't exactly know the Rollup version for SP2. But below is the response that I receive from our client's exchange server.

    <h:ServerVersionInfo MajorVersion="14" MinorVersion="3" MajorBuildNumber="174" MinorBuildNumber="1" Version="Exchange2010_SP2" xmlns:h="" xmlns="" xmlns:xsi="" xmlns:xsd="" />

    2. Yes I tried to version requests to Exchange 2010_SP2 but got the same results.

    3. Since this problem is coming at one of our client's exchange server we cannot use ewseditor to test.

    4. I will try to fetch the CleanGlobalObjectId and will update this post with results.


    Nitin Arora

    • Edited by aronitin Wednesday, April 9, 2014 10:26 PM
    Wednesday, April 9, 2014 10:24 PM
  • >> ServerVersionInfo MajorVersion="14" MinorVersion="3" MajorBuildNumber="174" MinorBuildNumber="1"

    This translates to Service Pack3 Rollup 4 (Exchange2010_SP2 is just the schema version which is the same on SP2 and SP3). Rollup 5 is the latest rollup for 2010 SP3.


    Thursday, April 10, 2014 4:33 AM