Microsoft Graph API: can't list recurring events of a meeting room
Asked Answered
F

1

8

I'm building a Ruby on Rails app where the events within an organization are grouped & shown by the meeting rooms using the Microsoft Graph API with the app only authorization flow described in the below link.

http://graph.microsoft.io/docs/authorization/app_only

I am using the following request to list the events of a meeting room

https://graph.microsoft.com/v1.0/users/<meeting room email>/events

But the thing is that not all the events are being listed for the upcoming weeks and I suppose those are the recurring events.

Is there any way to include the recurring events into the results.

Figure answered 26/12, 2015 at 18:1 Comment(0)
F
15

I found the solution, calendarView method is listing all events for a given time range in ISO 8601 format

https://graph.microsoft.com/v1.0/users/<meeting room email>/calendarView/?endDateTime=2015-12-28T22:23:00Z&startDateTime=2015-12-28T00:00:00Z

List calendarView Reference

Figure answered 30/12, 2015 at 9:14 Comment(3)
"The specified object was not found in the store." ? is there any permissons process to do ?( developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/api/…)Narbada
@julestruong If I remember right "Read user calendars" and "Have full access to user calendars" in delegated permissions should be enough. But changes in app permissions on Azure don't affect immediately. It may take some time to be applied.Figure
Also, you can use the Microsoft Graph API explorer to test your endpoints. developer.microsoft.com/en-us/graph/graph-explorerFigure

© 2022 - 2024 — McMap. All rights reserved.