Exchange EWS RecurringMaster Recreate

asaf shazar 1 Reputation point
2021-06-08T06:19:37.917+00:00

Hello People.
I am trying to get data from RecurringMaster and recreate it anywhere else.

I got a problem with the AppointmentType of RecurringMaster.

On the list of DeletedOccurrence and ModifiedOccurrence there no index in the series of the Appointment.
there only "OriginalStartTime",
When I try to do a filter appointment where OriginalStart is the same, the EWS return Error cannot filter by this Param.
because these items are virtual (their master and the occurrences are virtuals)
I must find a way to search the Virtual appointment with the OriginalStart, or if there any Appointment Index (the Occurrence index anything)

Exchange Server Development
Exchange Server Development
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Development: The process of researching, productizing, and refining new or existing technologies.
526 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Glen Scales 4,431 Reputation points
    2021-06-09T00:06:31.067+00:00

    >When I try to do a filter appointment where OriginalStart is the same, the EWS return Error cannot filter by this Param.

    What does you code look like ? . You can't use a SearchFilter restriction in conjunction with a CalendarView and the only way you would get Recurring meeting expansion to happen is if you use a CalendarView, so property what you doing isn't going to work the way your trying.

    You can try paring the recurrence blob yourself to extract that detail https://video2.skills-academy.com/en-us/office/client-developer/outlook/mapi/how-to-read-and-parse-a-recurrence-pattern


  2. Glen Scales 4,431 Reputation points
    2021-06-09T23:45:42.427+00:00

    You could try using Export/Import of the master instance https://video2.skills-academy.com/en-us/exchange/client-developer/exchange-web-services/exporting-and-importing-items-by-using-ews-in-exchange which would be a simple way of maintaining an exact duplicate. Otherwise for more complex sync using the recurrence blob is going to give you the most flexibility.

    0 comments No comments