Thursday, November 10, 2011

Exchange Web Services - OptionalAttendees

When I try to create a new appointment using EWS Managed API, I get the following error.

The request failed schema validation: The element 'OptionalAttendees' in namespace '' has incomplete content. List of possible elements expected: 'Attendee' in namespace ''.

When I add an optional attendee it works but I do not need any optional attendee.

I tried


but no help.

But removing it by using

public readonly static ExtendedPropertyDefinition PidLidOptionalAttendees = new ExtendedPropertyDefinition(DefaultExtendedPropertySet.Meeting, 0x00000007, MapiPropertyType.String);


solved my problem.


Life is Beautiful said...

A developer must know the recent updates and techniques. This is an competitive age. Grafwebcuso