Forum Discussion
Microsoft Graph API: Unable to Retrieve All Webinars, But Can Fetch Single Webinar by ID
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 using its ID, it works perfectly fine. This behaviour is very confusing.
```
What I've Tried:
- I've double-checked the permissions in Azure AD and ensured that I have the necessary scopes (screenshots attached).
- I've refreshed the Graph Explorer page multiple times.
- I’ve tried re-granting the permissions 2-3 times to ensure everything is correct.
- None of these steps have resolved the issue.
Screenshots:
Proof of granted permissions but failing to fetch all webinars:
Evidence that a single API is working
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!
Thanks in advance!