question

asafshazar-6552 avatar image
0 Votes"
asafshazar-6552 asked GlenScales-6756 answered

Exchange EWS RecurringMaster Recreate

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)

office-exchange-server-dev
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

GlenScales-6756 avatar image
0 Votes"
GlenScales-6756 answered asafshazar-6552 commented

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://docs.microsoft.com/en-us/office/client-developer/outlook/mapi/how-to-read-and-parse-a-recurrence-pattern

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

That not good calendar view
Cause I wanna copy Mailbox to another Mailbox (and update every like 2 hours)
so If it recursive It problem, cause if once I delete any occur or modify the date, so calendarview not work.

0 Votes 0 ·
GlenScales-6756 avatar image
0 Votes"
GlenScales-6756 answered

You could try using Export/Import of the master instance https://docs.microsoft.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.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.