$filter does not work on /solutions/virtualEvents/webinars/{webinarId}/registrations endpoint

Justin A 0 Reputation points
2025-01-17T10:54:20.68+00:00

Hello,

I'm trying to implement the Microsoft Teams Webinar endpoint to retrieve registrants. The docs show that it supports the filter param, but I'm having some issues with getting this working.

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

Screen Shot 2025-01-17 at 11.45.46 AM

I'm trying to pull registrants in the past hour inside of Graph Explorer, but it's still retrieving all of my registrants. I've played around with the encodings, tried it without the '$' sign but I'm still not able to get this to work.

Is there something in my query that is wrong?

I did try to use one of the listed queries 'GET /solutions/virtualEvents/webinars/{webinarId}/registrations?$filter=email eq '{email}''.

But this also did not work either after replace {email} with one of the registrant's email.

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,678 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,800 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Akhil Nasalwai - MSFT 165 Reputation points Microsoft Vendor
    2025-01-17T18:04:34.7666667+00:00

    Hello Justin A,

    Thank you for contacting Microsoft!

    Regarding the query, on the Microsoft Teams webinar endpoint, if you want to pull registrants from the past hour, you could use a filter on the createdDateTime property. Can you try the below endpoint once:

    GET /solutions/virtualEvents/webinars/{webinarId}/registrations?$filter=createdDateTime ge 2025-01-17T10:45:00Z
    

    Also, for the email filter, make sure you are correctly encoding the email address in the query.

    Ensure to replace example%40domain.com with the email address of the registrant, property URL-encoded.

    Hope this helps.

    If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.

    0 comments No comments

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.