[EWS][2016][Exchange-Online]EWS Managed API ExtendedProperty PidLidResponseStatus gives String instead of integer like it is defined RRS feed

  • Question

  • since Exchange 2016, the extended property PidLidResponseStatus gives Strings. But it is defined as MapiPropertyType.Integer: Here is how it is defined:

    ExtendedPropertyDefinition PidLidResponseStatus = new ExtendedPropertyDefinition(DefaultExtendedPropertySet.Appointment, 0x00008218, MapiPropertyType.Integer);

    Is this a Bug in Exchange EWS?

    At the Moment I am using this workaround:

     object propval = null;
     if (sourceitem.TryGetProperty(PidLidResponseStatus, out propval))
           isMeetingDeclined = (int)propval == 4; //  olResponseDeclined
        catch (InvalidCastException)
            // Bei Exchange 2016/Office 365 leider als String
            NoResponseReceived */
            isMeetingDeclined = ((String)propval == "Decline");

    Is there somebody who knows something about it? Or is there something I am doing wrong?

    • Edited by Somebytes Saturday, May 26, 2018 11:33 AM
    Thursday, May 3, 2018 4:03 PM

All replies

  • The Bug still exists!

    Here is some more info.

    If I request the Item. It will give this response:

    <m:GetItemResponseMessage ResponseClass="Success">
          <t:ExtendedFieldURI DistinguishedPropertySetId="Appointment" PropertyId="33304" PropertyType="Integer" />

    instead of an integer value.

    • Edited by Somebytes Saturday, May 26, 2018 11:44 AM More Info
    Saturday, May 26, 2018 11:29 AM