none
Not able to edit event RRS feed

  • Question

  • <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns="http://schemas.microsoft.com/exchange/services/2006/messages">
           <soap:Header>
                  <t:RequestServerVersion Version="Exchange2013"></t:RequestServerVersion>
              </soap:Header>
           <soap:Body>
                  <UpdateItem ConflictResolution="AlwaysOverwrite" SendMeetingInvitationsOrCancellations="SendOnlyToAll">
                         <ItemChanges>
                                <t:ItemChange>
                                       <t:ItemId Id="AAMkAGUxNmQzMzU3LTU1OGYtNDgwYy1hMWQ5LTNiYzhmYzM4MTQ3MABGAAAAAADX7AzcCdnaQJrSv4ml3mgtBwAwEG0Tr1c+S5PCLLuSBAO3AAAAPgS0AAA4fZFkxHWNRr++7Pka0J+kAADf64xMAAA=" ChangeKey="DwAAABYAAAA4fZFkxHWNRr++7Pka0J+kAADf/SpG"></t:ItemId>
                                       <t:Updates>
                                              <t:SetItemField>
                                                     <t:FieldURI FieldURI="item:Subject"></t:FieldURI>
                                                     <t:CalendarItem xmlns="http://schemas.microsoft.com/exchange/services/2006/types">
                                                            <t:Subject>Testing28</t:Subject>
                                                        </t:CalendarItem>
                                                 </t:SetItemField>
                                              <t:SetItemField>
                                                     <t:FieldURI FieldURI="calendar:Location"></t:FieldURI>
                                                     <t:CalendarItem xmlns="http://schemas.microsoft.com/exchange/services/2006/types">
                                                            <t:Location></t:Location>
                                                        </t:CalendarItem>
                                                 </t:SetItemField>
                                              <t:SetItemField>
                                                     <t:FieldURI FieldURI="calendar:Start"></t:FieldURI>
                                                     <t:CalendarItem xmlns="http://schemas.microsoft.com/exchange/services/2006/types">
                                                            <t:Start>2014-08-28T11:30:00Z</t:Start>
                                                        </t:CalendarItem>
                                                 </t:SetItemField>
                                              <t:SetItemField>
                                                     <t:FieldURI FieldURI="calendar:End"></t:FieldURI>
                                                     <t:CalendarItem xmlns="http://schemas.microsoft.com/exchange/services/2006/types">
                                                            <t:End>2014-08-28T12:00:00Z</t:End>
                                                        </t:CalendarItem>
                                                 </t:SetItemField>
                                              <t:SetItemField>
                                                     <t:FieldURI FieldURI="calendar:LegacyFreeBusyStatus"></t:FieldURI>
                                                     <t:CalendarItem xmlns="http://schemas.microsoft.com/exchange/services/2006/types">
                                                            <t:LegacyFreeBusyStatus>OOF</t:LegacyFreeBusyStatus>
                                                        </t:CalendarItem>
                                                 </t:SetItemField>
                                              <t:SetItemField>
                                                     <t:FieldURI FieldURI="item:ReminderIsSet"></t:FieldURI>
                                                     <t:CalendarItem xmlns="http://schemas.microsoft.com/exchange/services/2006/types">
                                                            <t:ReminderIsSet>true</t:ReminderIsSet>
                                                        </t:CalendarItem>
                                                 </t:SetItemField>
                                              <t:SetItemField>
                                                     <t:FieldURI FieldURI="item:ReminderMinutesBeforeStart"></t:FieldURI>
                                                     <t:CalendarItem xmlns="http://schemas.microsoft.com/exchange/services/2006/types">
                                                            <t:ReminderMinutesBeforeStart>15</t:ReminderMinutesBeforeStart>
                                                        </t:CalendarItem>
                                                 </t:SetItemField>
                                              <t:SetItemField>
                                                     <t:FieldURI FieldURI="calendar:IsAllDayEvent"></t:FieldURI>
                                                     <t:CalendarItem xmlns="http://schemas.microsoft.com/exchange/services/2006/types">
                                                            <t:IsAllDayEvent>false</t:IsAllDayEvent>
                                                        </t:CalendarItem>
                                                 </t:SetItemField>
                                              <t:SetItemField>
                                                     <t:FieldURI FieldURI="item:Body"></t:FieldURI>
                                                     <t:CalendarItem xmlns="http://schemas.microsoft.com/exchange/services/2006/types">
                                                            <t:Body BodyType="HTML"></t:Body>
                                                        </t:CalendarItem>
                                                 </t:SetItemField>
                                              <t:SetItemField>
                                                     <t:FieldURI FieldURI="calendar:Recurrence"></t:FieldURI>
                                                     <t:CalendarItem xmlns="http://schemas.microsoft.com/exchange/services/2006/types">
                                                            <t:Recurrence>
                                                                   <t:DailyRecurrence>
                                                                          <t:Interval>2</t:Interval>
                                                                      </t:DailyRecurrence>
                                                                   <t:NoEndRecurrence>
                                                                          <t:StartDate>2014-08-28</t:StartDate>
                                                                      </t:NoEndRecurrence>
                                                               </t:Recurrence>
                                                        </t:CalendarItem>
                                                 </t:SetItemField>
                                              <t:DeleteItemField>
                                                     <t:FieldURI FieldURI="calendar:RequiredAttendees"></t:FieldURI>
                                                 </t:DeleteItemField>
                                          </t:Updates>
                                   </t:ItemChange>
                            </ItemChanges>
                     </UpdateItem>
              </soap:Body>
       </soap:Envelope>


    <?xml version="1.0" encoding="utf-8"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><h:ServerVersionInfo MajorVersion="15" MinorVersion="0" MajorBuildNumber="1015" MinorBuildNumber="18" Version="V2_16" xmlns:h="http://schemas.microsoft.com/exchange/services/2006/types" xmlns="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></s:Header><s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><m:UpdateItemResponse xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"><m:ResponseMessages><m:UpdateItemResponseMessage ResponseClass="Error"><m:MessageText>At least one recipient isn't valid.</m:MessageText><m:ResponseCode>ErrorInvalidRecipients</m:ResponseCode><m:DescriptiveLinkKey>0</m:DescriptiveLinkKey><m:Items/></m:UpdateItemResponseMessage></m:ResponseMessages></m:UpdateItemResponse></s:Body></s:Envelope>
    


    While editing recurrence event I am getting the following error 

    as"At least one recipient isn't valid."

    Please help

    Thursday, August 28, 2014 2:04 PM

All replies

  • What are you actually trying to do with this? That error generally says you have an invalid email address in the Appointment but it looks like your trying to remove all the attendees (at least the required attendees their still maybe optional and resources). What you might want to try is setting the

    SendMeetingInvitationsOrCancellations

    to SendToNone

    Cheers
    Glen

    Friday, August 29, 2014 7:55 AM
  • I am trying to edit recurrence event and getting this error while doing so.

    Normal events are getting edited successfully it is giving error only while editing recurrence event.

    The same xml works sometime and sometime it gives an error.

    I tried 

    setting the

    SendMeetingInvitationsOrCancellations

    to SendToNone

    But its not working.

    Monday, September 1, 2014 8:49 AM
  • But why are you trying to remove all the Required attendees ? A few things to try is just look at the recipients on the Master instance using a Mapi Editor like MFCMapi and see if any of the recipients are invalid (eg it maybe complaining about an Optional or Resource that is invalid). The other would be to do a GetItem on the Appointment first and have a look at the attendees on a Appointment and then try to delete one attendee and see if you get the same issue. Your also missing the TimeZone information in the request which may cause issue as well.

    Cheers
    Glen

    Tuesday, September 2, 2014 6:17 AM