I'm trying to get the meetingAttendanceReport data for a meeting that has been ended.
I do get the data in the Graph Explorer, when the token is generated by the Graph Explorer but when I use the tokens created by my app it does not work. I have tried both "Delegated Permissions" and "Application Permissions" but the endpoint keeps returning
{
"error": {
"code": "Forbidden",
"message": "Forbidden",
"innerError": {
"date": "2021-05-06T11:58:26",
"request-id": "....",
"client-request-id": "...."
}
}
}
I've used https://jwt.ms/ to look at the scope's of the tokens and they use the same scopes, they are not identical but the relevant scopes (OnlineMeetings.Read and OnlineMeetings.ReadWrite) is there so I don't understand why I can't get the data from POSTMAN but it works in Graph Explorer.
I can also add to this that when I request:
https://graph.microsoft.com/beta/users/{a-user-id}/onlineMeetings/{meeting-id}
I do get the data for the meeting, but when adding
The response changes to "forbidden"
Where should I start? Is there any way to see the reson to why the request is forbidden?