Hey all,
I want to integrate microsoft teams into n8n (cloud version). That doesn’t work due to a problem with the credentials.
1. Here is what I did so far:
- I got myself a Microsoft 365 subscription that comes with Teams
- I created an Azure Account
- I added n8n as an application and granted permission to do everything teams-related (and yes, I clicked on admin authorization)
- I created a workflow in n8n, added the node “create chat message” and connected with the credential for teams
- adding the credentials was “successfull”
- I got the chat ID from teams and my plan was to write a “Hello world”
2. Error-Message
- When I executed the node, I got the error: “No authorization information present on the request.”
- Error code 403
3. Troubleshooting
- I tried using HTTP request node and “custom” credentials with “Microsoft OAuth2 API”, adding the scope that I needed for testing: https://graph.microsoft.com/User.Read offline_access
- Then I tried to “ping” to see if the request actually reaches Microsoft and apperently it does: URL: https://graph.microsoft.com/v1.0/me
- This works and I do get a JSON back. But as soon as I want to create a message, I get the mentioned error.
Now I don’t know, if it is a problem with the node, the credential or Microsoft. I think it might be a problem with Microsoft and the permissions tho
Does anybody have an idea, what I might do wrong?
Thanks in advance for your help!
Information on my n8n setup
- n8n version: 1.95.3
- Running n8n via n8n-cloud
- Operating system: macOS 15.5