Team meetings data via Graph

Nick Manning 1 Reputation point
2022-10-31T12:08:58.327+00:00

HI there

I am having difficulties getting details for Teams meetings via Graph API.

Essentially, I need to harvest details for meetings that our salespeople are having (most meetings they have are through another product).
From what Ive read I should be able to do most of this, in a roundabout way, through perusing the calendar events of each person; but that seems quite clunky, and I understand that unscheduled items will not appear there either.

Surely there must be a better/more straight forward method to access this data? Am I missing something obvious?

Thanks in advance

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

2 answers

Sort by: Most helpful
  1. Shivam Dhiman 5,946 Reputation points
    2022-10-31T16:23:28.147+00:00

    Hi @Nick Manning

    Using Get Event Graph API GET /users/{id | userPrincipalName}/events/{id} you can get Event details in the user's mailbox. Please refer to this documentation for more details.

    You can also use CalendarView Graph API GET /users/{id | userPrincipalName}/calendar/calendarView?startDateTime={start_datetime}&endDateTime={end_datetime} to Get the occurrences, exceptions and single instances of events in a calendar view defined by a time range. Please refer to this documentation for more details.

    As you have mentioned about 'unscheduled items will not appear there either' can you elaborate more on that.

    Hope this helps.

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

    0 comments No comments

  2. Nick Manning 1 Reputation point
    2022-11-04T08:52:01.237+00:00

    Hi there,

    Thanks for your response

    For both of those responses, I would need to have the details of a meeting first...so Im in a Chicken and Egg scenario.
    I can access the User ID but dont have any meeting details until I can list them...at which Point I'll have an ID or a start/end time

    I did see that there is a Beta version of a Teams appointments, which will also provide details of unscheduled meetings too
    https://learn.microsoft.com/en-us/graph/api/reportroot-getteamsuseractivityuserdetail?view=graph-rest-beta

    Im going to explore this avenue

    0 comments No comments