The permissions are granted on a specific application, in your scenario only to the "MS Graph" app you've created. The Graph explorer tool, which you are using for you second screenshot above, has a different application ID, and thus needs to have the permissions added separately. You can do so by hitting the Modify Permissions button above, then consenting to the required permission(s).
Getting Missing scope permissions on the request. API requires one of 'Chat.ReadBasic, Chat.Read, Chat.ReadWrite'. Scopes on the request 'openid, profile, User.Read, email'" error in MS graph
Hello experts,
I'm new to this AP registrations /MS graph explorer and my requirement is to export the teams chat data of one of the user.
For that I created an application with the name of MS graph and added permissions as bellow
And when I try to search for chat, I'm getting the below error
Can someone suggest me what I had missed here, so that i will implement them to get the requirement.
Thanks in advance
Microsoft Security Microsoft Graph
2 answers
Sort by: Most helpful
-
Vasil Michev 119.5K Reputation points MVP Volunteer Moderator
2023-06-08T15:39:45.76+00:00 -
CarlZhao-MSFT 46,371 Reputation points
2023-06-09T06:48:42.1066667+00:00 Hi @Mani
If you are trying to get all messages from all chats that a user is a participant in, then you should grant the calling app one of the
Chat.Read.All
orChat.ReadWrite.All
application permissions, delegated permissions are not yet supported.Also note that this API is a protected API. Before using application permissions to call this API, you must first fill out the request form.
Hope this helps.
If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.