Get list of onlineMeetings

Calvin Jouard 20 Reputation points
2024-07-18T23:43:03.1+00:00

Is it possible to get a list/collection of online meetings with just a user id? I currently do not have any other identifying meeting information (i.e. joinWebUrl, videoTeleconferenceId, meetingId), all of which would allow me to grab a given onlineMeeting.

Furthermore, the endpoint https://graph.microsoft.com/v1.0/users/{userId}/onlineMeetings throws a 400 error with the message:
Filter expression expected - /onlineMeetings?$filter={ParameterName} eq '{id}'.

The message further suggests that you need to filter based upon properties of the onlineMeeting resource.

I'm ultimately trying to grab online meeting transcripts, but starting with onlineMeetings seemed like the route to go.

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

Accepted answer
  1. Yakun Huang-MSFT 6,340 Reputation points Microsoft Vendor
    2024-07-19T02:29:41.7566667+00:00

    Hi @Calvin Jouard

    According to the documentation, it is not possible to get all onlineMeetings and the $filter query parameter must be added to queries, so you can use the /events endpoint to get all events. Events with isOnlineMeeting set to true are onlineMeeting.

    All events with isOnlineMeeting value true can be filtered through $filter, but unfortunately, this property does not support filtering, so you can only get all the events first, and then loop through all the events in your code to filter out onlineMeeting.

    GET /users/{id | userPrincipalName}/events
    

    See this link for details on listing all events:

    https://learn.microsoft.com/en-us/graph/api/user-list-events?view=graph-rest-1.0&tabs=http

    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.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

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