Multiple users in a single graph call

Christopher R 0 Reputation points
2024-07-16T21:02:50.5233333+00:00

Hello. In my application, I received a list of users in my organization, and when I parse through the list in my code, I loop through each user and call the graph api calendarView to receive their events(in a 3 month range) and place it onto a third party scheduler feature. By looping through the list and calling the graph api for each one, it can be a long process. In a testing phase of just 4 users, it roughly takes about 16-24 seconds to get the events. In production, it might go up to 30 users.

When I use the graph api calendarView call, is it possible to call the entire list of users in one call, or I have to use the graph api call for each individual user?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,338 questions
0 comments No comments
{count} votes