Bug Description
Microsoft Teams scope was modified in version 2.29.0 as part of making sure n8n doesn't have scopes it doesn't use. However, this change changed the scope Group.ReadWrite.All to Group.Read.All which has a direct impact on Channel messages. Now Teams node cannot send channel messages.
The error being received in the node is 403 and the error message is "Missing scope permissions on the request. API requires one of 'ChannelMessage.Send, Group.ReadWrite.All'. Scopes on the request, 'all the other requested scopes.'"
The documentation is also reflecting this change which should be changed. https://docs.n8n.io/integrations/builtin/credentials/microsoftentra#required-scopes-by-integration
To Reproduce
- Go to Credentials
- Create Microsoft Teams Credential
- Go to workflows
- Create a workflow with any trigger
- Use Microsoft Teams send channel message node with the created credential
Expected behavior
An actual message is being sent in the specified channel
Debug Info
Missing scope permissions on the request. API requires one of 'ChannelMessage.Send, Group.ReadWrite.All'. Scopes on the request, 'all the other requested scopes.'
Operating System
Ubuntu