question

CasepointDeveloper-2078 avatar image
0 Votes"
CasepointDeveloper-2078 asked phsignor answered

Get Microsoft Team Channel's conversation with organization's any user authentication and not only admin authentication

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?

162466-messageinchannelapierror.png




microsoft-graph-teamwork
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

phsignor avatar image
0 Votes"
phsignor answered

An administrator will need to consent on behalf of all users, via tenant-wide admin consent.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.