Query for only recurring events using Exchange Web Services

Hi,

I am trying to fetch only recurring events from a calendar using EWS, but couldn't find a way.

I can filter on isRecurring using FindItem, but it's not reliable. https://msdn.microsoft.com/en-us/library/office/bb204271%28v=exchg.150%29.aspx

I am aware that I can filter on CalendarItemType, once I get the results. Is there any way to do the filtering in the FindItem query itself?

Thanks

May 4th, 2015 9:25am

What is not reliable ? eg if you don't use a CalendarView then you wont get expansion of recurring appointments so if your querying on other values like start and end Date that won't work well. 

You can try the PidLidRecurring Extended Property https://msdn.microsoft.com/en-us/library/ee157994(v=EXCHG.80).aspx which I've found to reliable in the past. All this will return is the Master Instances for any recurring Appointment.

Cheers
Glen


Free Windows Admin Tool Kit Click here and download it now
May 4th, 2015 10:14pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics