GET - OnlineMeetings always return 404

Marcelo Schoen 96 Reputation points
2025-01-22T05:21:20.99+00:00

Hello, I'm trying to get the onlineMeeting object, tried using the joinWebUrl filter, but it always return a 404.

endpoint I'm using is /v1.0/users/{user}/onlineMeetings?$filter=JoinWebUrl eq 'URL'

Tried to url encode everytthing after the JoinWebUrl (to remove spaces and other characters)

My sample URL:

https://graph.microsoft.com/v1.0/users/******@latam.stefanini.com/onlineMeetings?$filter=JoinWebUrl%20eq%20 'https://teams.microsoft.com/l/meetup-join/19:meeting_ZjJlMWQ3YTMtZWI5Yy00ZTNiLTg4YmUtNDgyZTdkYWExNGEw%40thread.v2/0?context={"Tid"%3a"d8bde65a-3ded-4346-9518-670204e6e184"%2c"Oid"%3a"ceff7fa8-b5a8-4776-afca-63b07fe42956"}'

Kindly let me know what can be done to solve it as the link is valid and if I list this meeting using the /events endpoint, it is also there.

Also I would like to know if the ID given on the events endpoint is the onlineMeeting ID, because if it is it also returns a 404 status (/onlineMeetings/{id})

Always receive this json as the result:

{     "error": {         "code": "UnknownError",         "message": "",         "innerError": {             "date": "2025-01-22T03:47:10",             "request-id": "4ec2d9ac-dfc6-4a89-843c-a7f47c5b896b",             "client-request-id": "8602d002-0404-8224-80af-96fe9502cce7"         }     } }

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

Accepted answer
  1. CarlZhao-MSFT 45,021 Reputation points
    2025-01-31T02:32:01.8766667+00:00

    Hi @Marcelo Schoen

    After many tests, I found the problem. This API does not support UPN yet, you must use the user's ID to get the online meeting.

    GET /users/{userId}/onlineMeetings?$filter=JoinWebUrl%20eq%20'{joinWebUrl}'
    

    User's image

    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.

1 additional answer

Sort by: Most helpful
  1. CarlZhao-MSFT 45,021 Reputation points
    2025-01-22T07:47:45.9466667+00:00

    Hi @Marcelo Schoen

    The online meeting id is not the event id, you cannot get the online meeting id by calling the event endpoint. If you are creating an event and enabling it as an online meeting, you will get a joinUrl, through which you can retrieve the online meeting.

    Please note that when getting the online meeting of a user in application-only context, you must ensure that the target user is the organizer or attendee of the current online meeting.


    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 Answers by the question author, which helps users to know the answer solved the author's problem.