How to get Meeting Registration for Teams Webinar? (Bad Request 400 for certain events)

2jh5vj 0 Reputation points
2023-01-26T15:08:29.8766667+00:00

Hi,

I tested the Beta API for getting the registrants of a teams webinar. Depending on how the Webinar was created, I can get the registration details from the following endpoint:

https://graph.microsoft.com/beta/me/onlineMeetings/{id}/registration

  • If I use the "New meeting" button and change the "Require Registration" to "Everyone", I can get the registration details
  • If I create a new webinar using the "New webinar" button, I and up with an almost identical event in Teams (more options for registration page design, attendee limit). But for this kind of event, I cannot access the registration details per API because I get a 400 Bad Request

I tested via Postman on the Developer Account and via SAP CPI on an productive environment, getting the same results.

I am thankful for some hints what might be wrong.

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

1 answer

Sort by: Most helpful
  1. HarmeetSingh7172 4,821 Reputation points
    2023-01-30T21:02:59.34+00:00

    Hello @2jh5vj

    Thanks for reaching out!

    As per this GitHub thread, meetingRegistration fails for onlineMeeting with "isBroadcast":"true" and works with "isBroadcast":"false". Please test this API in API client like Postman, and make sure you are retrieving only those events (onlineMeetings), where "isbroadcast" property is set to false.

    I tested Get Meeting Registration API in Postman and it's working as expected. Please refer below screenshot for the same.

    Get Meeting Registration1

    Note: APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

    Hope this helps.

    If the answer is helpful, please click Accept Answer and kindly upvote. If you have any further 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.