Graph API, how to get the registration link of a webinar event

Hajir Lesani 0 Reputation points
2024-04-19T05:50:37.51+00:00

Hi,

I'm getting the calendar info of webinars created on teams using the below function.

It returns the data but it doesn't have the teams online meeting registration url which is something like this:

https://events.teams.microsoft.com/event/11ce4cdf-258f-4505-ae2e-c5bd46396089@5aa5f3668-4662-22e3-baf0-18766e433ecf

I believe the end of the URL is consisted of the tenant id and before @ should be some id, which I can't find it in the graph Calendar API response.

We want to show the list of webinars on our website and have links for the users to be able to register through our website.

Thanks

var events = await graphClient.Users["0557b9f9-47b7-435c-a403-ef4cfc7ec211"].Calendar.Events
    .GetAsync(requestConfiguration =>
        requestConfiguration.QueryParameters.Filter = "contains(subject,'Demo')"
    );

Microsoft Security | Microsoft Graph
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2024-04-23T03:02:46.8033333+00:00

    Hi @Hajir Lesani

    If you need to get the webinar registration link, this will need to be obtained through the onlineMeetings endpoint, and it should be noted that this version is a beta version, see the link for more information.

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

    If you want to get a webinar registration record that represents an attendee, you can view the link to get a record of the registration for all attendees.

    https://learn.microsoft.com/en-us/graph/api/resources/virtualeventregistration?view=graph-rest-1.0

    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.