Reputation: 47
I'm working on a project where I need to use the Microsoft Graph API to fetch a list of webinars and display them in our front-end application. However, I've encountered an issue that I can't seem to resolve.
**The Problem: **I am trying to retrieve all webinars using the following API endpoint:
https://graph.microsoft.com/v1.0/solutions/virtualEvents/webinars
Despite having granted the necessary permissions (as shown in the screenshot), the API keeps returning an access denied error when trying to fetch all webinars. However, when I attempt to get the details of a single webinar by its ID, it works perfectly fine. This behavior is very confusing.
What I've Tried:
Screenshots:
Proof of granted permissions but failing to fetch all webinars:
Successful fetch of a single webinar by ID:
Has anyone else encountered this issue? Is there something I'm missing in terms of permissions or API usage?
Any guidance would be greatly appreciated!
For the update, If I try with application permission then I get the data count but I am not getting the webinars list is coming empty all the time.
I already tried to remove the $count from the filter part the also list is coming empty([]), And here is the proof that I have the webinar on my list
Thanks in advance!
Upvotes: 0
Views: 72
Reputation: 20788
The endpoint GET /solutions/virtualEvents/webinars
doesn't support delegated permissions, only application permissions.
Upvotes: 0