I'm currently using the MS Graph API to send Teams messages to a channel
This works fine except for the set reaction api
POST /teams/{teamsId}/channels/{channelId}/messages/{chatMessageId}/setReaction
POST /teams/{teamId}/channels/{channelId}/messages/{messageId}/replies/{replyId}/setReaction
Returns the error message:
{
"error": {
"code": "Forbidden",
"message": "InsufficientPrivileges",
"innerError": {
"code": "1",
"message": "AclCheckFailed-Can't parse Member Role ''",
"date": "2025-05-13T17:44:36",
"request-id": "d982ee52-02e4-4f96-9cca-27d843707c5d",
"client-request-id": "d982ee52-02e4-4f96-9cca-27d843707c5d"
}
}
}
The documentation specifies that the ChannelMessage.Send permission is required
When I decode my JWT access token, here are the scopes included;
"scp": "ChannelMember.Read.All ChannelMessage.Send Chat.ReadWrite.All ChatMessage.Read ChatMessage.Send email Files.ReadWrite GroupMember.Read.All openid profile Sites.Read.All Sites.ReadWrite.All TeamMember.Read.All User.Read User.Read.All",
Which includes the required permission, also on APP API Permissions.

Been on it for hours and can't figure it out, the access token works for sending and updating messages, so not sure why it doesn't work to set reactions.