none
Unable to delete activesync created appointment RRS feed

  • Question

  • Greetings all,

    I've been working on an activesyc client for some time now and I'm having some odd behavior I can't explain. I'm hoping someone can shed some light on it.

    I have successfully created and modified an appointment. The appointment looks and behaves normally in Outlook, except that it cannot be deleted in Outlook. It modifies just fine, either from the client or from Outlook but when I delete it from within Outlook nothing happens.Later when my client decides to talk to activesync,  the client receives a sync from the server containing a 'change' for the appointment, though I do not see any changes. I thought perhaps it might just be my local copy of Outlook being screwed up so I had some of my co-workers go in via Outlook on the test account I am using and attempt to delete it and it doesn't work for them either.

    To add to the strangeness, I can delete the appointment just fine using outlook web access....at which point the client receives the normal sync response telling it to delete the appointment.

    As far as i can tell the XML is correct going out and it is being correctly translated into WBXML. The majority of the stuff in the schema in MS-ASCAL.pdf is 'optional' so I can't imagine anything Imight be missing directly causing such odd behavior. The appointment is created and shows up in outlook just fine and I get a proper response and the exchange server can obviously find it again later or it wouldn't be able to modify it. Lastly all the sync keys are correct, so i don't think I'm getting an old copy of creation response or something like that.


    Does anyone have any idea what might be going on here?

    Thank you for your time in advance,
    Cosmo

    Initial Creation XML from Client....
    <Sync xmlns="AirSync:" xmlns:airsyncbase="airsyncbase:" xmlns:calendar="calendar:">
      <Collections>
        <Collection>
          <SyncKey>1464552764</SyncKey>
          <CollectionId>1</CollectionId>
          <Commands>
            <Add>
              <ClientId>733DAF9A-09C8-FC48-8263-8F76BABBC612</ClientId>
              <ApplicationData>
                <calendar:TimeZone>LAEAACgAVQBUAEMALQAwADUAOgAwADAAKQAgAEUAYQBzAHQAZQByAG4AIABUAGkAbQBlACAAKABVAFMAIAAmACAAQwAAAAsAAAABAAIAAAAAAAAAAAAAACgAVQBUAEMALQAwADUAOgAwADAAKQAgAEUAYQBzAHQAZQByAG4AIABUAGkAbQBlACAAKABVAFMAIAAmACAAQwAAAAMAAAACAAIAAAAAAAAAxP///w==</calendar:TimeZone>
                <calendar:DTStamp>20140224T161504Z</calendar:DTStamp>
                <calendar:StartTime>20140224T170000Z</calendar:StartTime>
                <calendar:Subject>DELETE ME</calendar:Subject>
                <calendar:Organizer_Name>redacted</calendar:Organizer_Name>
                <calendar:Organizer_Email>redacted@redacted.com</calendar:Organizer_Email>
                <calendar:UID>D504797E-FAD4-B545-AD85-AD7F63259263</calendar:UID>
                <calendar:Attendees>
                  <calendar:Attendee>
                    <calendar:Attendee_Email>redacted@redacted.com</calendar:Attendee_Email>
                    <calendar:Attendee_Name></calendar:Attendee_Name>
                    <calendar:Attendee_Status>0</calendar:Attendee_Status>
                    <calendar:Attendee_Type>2</calendar:Attendee_Type>
                  </calendar:Attendee>
                </calendar:Attendees>
                <calendar:EndTime>20140224T180000Z</calendar:EndTime>
                <calendar:AllDayEvent>0</calendar:AllDayEvent>
                <calendar:Reminder>0</calendar:Reminder>
              </ApplicationData>
            </Add>
          </Commands>
        </Collection>
      </Collections>
    </Sync>

    Creation Response....
    <Sync xmlns="AirSync">
      <Collections>
        <Collection>
          <SyncKey>716464887</SyncKey>
          <CollectionId>1</CollectionId>
          <Status>1</Status>
          <Responses>
            <Add>
              <ClientId>733DAF9A-09C8-FC48-8263-8F76BABBC612</ClientId>
              <ServerId>1:1</ServerId>
              <Status>1</Status>
            </Add>
          </Responses>
        </Collection>
      </Collections>
    </Sync>

    Delete from within Outlook...
    <Sync xmlns:Calendar="Calendar:" xmlns:AirSyncBase="AirSyncBase:" xmlns="AirSync">
      <Collections>
        <Collection>
          <SyncKey>1568694635</SyncKey>
          <CollectionId>1</CollectionId>
          <Status>1</Status>
          <Commands>
            <Change>
              <ServerId>1:1</ServerId>
              <ApplicationData>
                <Calendar:TimeZone>LAEAACgAVQBUAEMALQAwADUAOgAwADAAKQAgAEUAYQBzAHQAZQByAG4AIABUAGkAbQBlACAAKABVAFMAIAAmACAAQwAAAAsAAAABAAIAAAAAAAAAAAAAACgAVQBUAEMALQAwADUAOgAwADAAKQAgAEUAYQBzAHQAZQByAG4AIABUAGkAbQBlACAAKABVAFMAIAAmACAAQwAAAAMAAAACAAIAAAAAAAAAxP///w==</Calendar:TimeZone>
                <Calendar:DTStamp>20140224T161800Z</Calendar:DTStamp>
                <Calendar:StartTime>20140224T170000Z</Calendar:StartTime>
                <Calendar:Subject>DELETE ME</Calendar:Subject>
                <Calendar:UID>D504797E-FAD4-B545-AD85-AD7F63259263</Calendar:UID>
                <Calendar:Organizer_Name>redacted</Calendar:Organizer_Name>
                <Calendar:Organizer_Email>redacted@redacted.com</Calendar:Organizer_Email>
                <Calendar:Attendees>
                  <Calendar:Attendee>
                    <Calendar:Attendee_Email>redacted@redacted.com</Calendar:Attendee_Email>
                    <Calendar:Attendee_Name>redacted</Calendar:Attendee_Name>
                    <Calendar:Attendee_Status>0</Calendar:Attendee_Status>
                    <Calendar:Attendee_Type>2</Calendar:Attendee_Type>
                  </Calendar:Attendee>
                </Calendar:Attendees>
                <Calendar:EndTime>20140224T180000Z</Calendar:EndTime>
                <AirSyncBase:Body>
                  <AirSyncBase:Type>1</AirSyncBase:Type>
                  <AirSyncBase:EstimatedDataSize>0</AirSyncBase:EstimatedDataSize>
                  <AirSyncBase:Truncated>1</AirSyncBase:Truncated>
                </AirSyncBase:Body>
                <Calendar:Sensitivity>0</Calendar:Sensitivity>
                <Calendar:BusyStatus>0</Calendar:BusyStatus>
                <Calendar:AllDayEvent>0</Calendar:AllDayEvent>
                <Calendar:Reminder>0</Calendar:Reminder>
                <Calendar:MeetingStatus>0</Calendar:MeetingStatus>
                <AirSyncBase:NativeBodyType>1</AirSyncBase:NativeBodyType>
                <Calendar:ResponseRequested>1</Calendar:ResponseRequested>
                <Calendar:ResponseType>1</Calendar:ResponseType>
              </ApplicationData>
            </Change>
          </Commands>
        </Collection>
      </Collections>
    </Sync>

    Deleted from within OWA
    <Sync xmlns="AirSync">
      <Collections>
        <Collection>
          <SyncKey>1439219241</SyncKey>
          <CollectionId>1</CollectionId>
          <Status>1</Status>
          <Commands>
            <Delete>
              <ServerId>1:1</ServerId>
            </Delete>
          </Commands>
        </Collection>
      </Collections>
    </Sync>
    Monday, February 24, 2014 4:24 PM

Answers

  • Hi Cosmo:

    Although your question is related to the ActiveSync protocol, we believe that the Outlook developers' forum would be a better place to ask this question. They are better equipped to troubleshoot why Outlook is having an issue with the appointment that you created using your mobile client. If it is determined later that there is a problem with the appointment, and the details of which are not covered by the ActiveSync documentation, we can certainly look into that for you.
    The outlook developers forum is located here: http://social.msdn.microsoft.com/Forums/office/en-US/home?forum=outlookdev


    Regards, Obaid Farooqi


    Monday, February 24, 2014 8:12 PM
    Owner