Access to ChatMessage in Graph API requires the following permissions: Chat.Read or Chat.ReadWrite, ChannelMessage.Read.All. However, the application only has
What causes it and how to fix it:
- A comma in a Graph permissions table can mean AND — searching Teams messages needs two scopesSearching chatMessage needs Chat.Read and ChannelMessage.Read.All; the 403 spells it out, the table does not (+ webUrl vs webLink from the same endpoint)Cause and fix →