GRAPH - GET onlineMeetings return always 404

Marcelo Schoen 96 Reputation points
2025-01-31T00:50:20.36+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.

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"         }     } }

Yes I know the prerequisites for obtaining one

Yes I know the Event Id (from the events endpoint) is not the meetingId

Yes I'm the organizer and/or participant of the meeting

Yes the application has the API Permissions

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

Accepted answer
  1. CarlZhao-MSFT 45,186 Reputation points
    2025-01-31T02:25:29.82+00:00

    Hi @Marcelo Schoen

    After much testing, I finally found the problem. You must use the user's ID instead of the userPrincipalName 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.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Ambrish A 0 Reputation points
    2025-02-05T11:10:04.91+00:00

    @Marcelo Schoen can you help me with the code
    im struck here for more than a month in this


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.