Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,113 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello,
I am calling API for messages (without reply) in a channel (URL: https://graph.microsoft.com/beta/teams/{group-id-for-teams}/channels/{channel-id}/messages) in graph explorer with organization user but it is giving me 403 - forbidden error like in image . In order to solve this issue I have to give admin consent in Modify Permission. How can I get messages
of user If I don't have an admin account?
How can I get normal user's messages using Microsoft Graph API?
An administrator will need to consent on behalf of all users, via tenant-wide admin consent.