onlineMeetings 404 error not found

Daniel Kumlin 1 Reputation point
2021-10-12T14:29:20.06+00:00

My goal is to get information of the online meetings a specific user attends and doesn't attend to in the organization. I am using a java desktop application to do so. However, whenever I make my GET request to get onlineMeetings I get a 404 error. Here is my API request:

OnlineMeetingCollectionPage onlinemeetings = graphClient
                .communications()
                .onlineMeetings()
                .buildRequest()
                .get();

How would I go about to fix this? Do I use users instead of communications?

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

1 answer

Sort by: Most helpful
  1. Sheena-MSFT 1,731 Reputation points
    2022-02-03T12:42:19.117+00:00

    Hi @Daniel Kumlin ,

    To get the details of an online meeting we have to pass either meeting id, joinWebURL or videoTeleconferenceId.

    To get an onlineMeeting using meeting ID with delegated (/me) and app (/users/{userId}) permission:

    GET /me/onlineMeetings/{meetingId}
    GET /users/{userId}/onlineMeetings/{meetingId}

    if we have videoTeleconferenceId of a particular meeting then we can use communications/onlinemeeting endpoint

    GET /communications/onlineMeetings/?$filter=VideoTeleconferenceId%20eq%20'{videoTeleconferenceId}'

    There is no API to get a list of all the onlineMeetings.

    It is the responsibility of the calling application to store the ID of a online meeting at the time that onlineMeeting is created.

    reference: https://learn.microsoft.com/en-us/graph/api/onlinemeeting-get?view=graph-rest-1.0&tabs=http

    Hope this helps.

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