Using MS Graph to retrieve webinar registrations

Dennis van der Schoor 6 Reputation points
2024-02-29T16:00:13.56+00:00

Hi,

We are trying retrieve the registrations from a Teams webinar.
following this API reference: https://learn.microsoft.com/en-us/graph/api/virtualeventwebinar-get?view=graph-rest-1.0&tabs=http it should be very straightforward.

I can retrieve the general webinar information with /solutions/virtualEvents/webinars/{webinarId}
Then moving to retrieving the registrations by adding /registrations like this /solutions/virtualEvents/webinars/{webinarId}/registrations

But it just won't retrieve anything, only 401 Unauthorized, but it doesn't make sense to me as the only required permissions are VirtualEvent.Read which are also the requirement for retrieving the general information.

Any one got this to work, tips or different calls to get to the webinar registrations? Thanks!

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

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.