I’m currently working on a scenario that sends a chat message to a Microsoft Teams chat using the Microsoft Teams module. However, I’m encountering the following error:
RuntimeError [403]: Missing scope permissions on the request. API requires one of ‘ChatMessage.Send, Chat.ReadWrite’. Scopes on the request ‘email, Files.Read.All, Files.ReadWrite, Files.ReadWrite.All, Group.Read.All, Group.ReadWrite.All, openid, Sites.Read.All, Sites.ReadWrite.All, SMTP.Send, User.Read, profile’
It seems like my scenario is missing the required ChatMessage.Send
or Chat.ReadWrite
scope permissions.
How can I add the correct permissions to allow my scenario to send messages to Teams? Could anyone provide step-by-step guidance? Any help or suggestions are greatly appreciated!
Hello! Welcome to the Make Community!
These scopes should be added by Make automatically when you created the connection to Teams. May I ask you to create a new connection directly from the Module “Send a Message” and see if it works?
Are you using your own ClientID?
Regards
Benjamin
Hi Benjamin,
Thank you for the suggestion. I am not using my own ClientID. I attempted to create a new connection as instructed, but I encountered an issue. When I tried to add my account, I received a message stating that admin approval is required (see attached screenshot). However, I contacted my organization’s IT, and they informed me that they did not receive any approval request from Microsoft.
Could you advise on what might be causing this, or how I can ensure the approval request is sent to the correct admin?
Thank you for your assistance.
Oh, this is a known issue where we are requesting too many scopes, making Microsoft have an admin approve the connection… by chance do you have a admin that can help? He should have a notification.
May I ask how the other connection was created?
Benjamin
Hi Benjamin,
Thank you for the clarification. Unfortunately, my admin mentioned that they haven’t received any notification for approval.
Regarding the previous connection, it was set up through the usual process in Make, and the admin has approved the connection.
Hello,
Apparently, the scopes should be here… May I ask you to open a ticket to support so that they can have a closer look?
Benjamin