MSTeams integration with N8N with Microsoft Azure Bot

Hi All,

I am trying to integrate N8N with MSTeams. I enabled an outgoing webhook to receive the messages from the MSTeams channel and acknowledged them as “processing”. After I processed, I am trying to send reply messages to the MSTeams channel, but the authentication asks for the below API permission( User.ReadWrite.All, Group.ReadWrite.All, Chat.ReadWrite.All), which is not allowed in my organisation. I don’t have any fields to define the scope of it. How to handle it? Any suggestions, or is it not possible in N8N? Also, why are the above permissions required if I am only trying to send the responses with my channel ID?

Hello @Balachandar_P,
Permissions in the MS Teams node are not granular, as the credentials need to work with any operation defined in the node.

I’d suggest using the HTTP Request node instead. However, you’ll need to set up your own generic Microsoft credentials, where defining specific scopes is possible.


1 Like

Thanks i could define the scope and work on it.