问题
My question is nearly identical to this question. I would have just commented over there but am unable to do so due to being a new user.
My request to https://graph.microsoft.com/v1.0/me/events?$filter=iCalUId eq '<iCalUId>'
returns the event object if I am querying a singleInstance
event (this is expected). However, it appears that if the event is part of a series I get back an empty array.
I'm not sure if I am missing something or if this is expected behavior. I've scoured MS Graph docs (including here and here) and have not been able to find a reason for this behavior.
Any help with this would be greatly appreciated.
Thanks!
回答1:
I ran into the same issue - in my opinion this is a bug in the Microsoft Graph API. I was able to work around this issue by using the /calendarView endpoint which does return events that are part of a series when searching by iCalUId
.
来源:https://stackoverflow.com/questions/50684521/filtering-on-icaluid-returns-empty-array-if-event-is-part-of-a-series