Get Calendar of Team Members

Tyler Duncan 0 Reputation points
2024-04-04T15:35:06.8133333+00:00

Hello.

I'm looking for an simple way of pulling all schedules for my team members in my department. I see the that there calendars can be pulled for each person, but I don't see an option to filter by specified criteria. Has anyone come up with a way to pull this information?

Microsoft Security | Microsoft Graph
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Achraf Ben Alaya 1,316 Reputation points MVP
    2024-04-04T17:18:43.85+00:00

    HI ,

    could you please try this call

    https://graph.microsoft.com/v1.0/users?$filter=department eq 'YourDepartmentName'&$select=id,displayName&$expand=calendar
    
    

    Hope this helps.

    If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.