Problem with Teams Credentials

Im trying to do a bot with Microsoft teams, but i am unable to provide “valid” credentials althought i can link my hotmail account. Im using a personal account just to test

Describe the problem/error/question

What is the error message (if any)?

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Welcome to the N8n community @Kyle3

Microsoft Teams integration does not work with personal Microsoft accounts like @hotmail.com, @outlook.com, or @gmail.com. I think it requires a Work/School account that is part of a Microsoft 365 organization or something.

welcome to the n8n community @Kyle3

in addition

I’d start by checking the account type. A personal Hotmail account can often sign in, but Teams via Microsoft Graph usually works properly with a work or school Microsoft 365 account. From your screenshots, I’d also keep the Base URL on Global, not US Government, unless you’re actually in that environment, and I’d turn Custom Scopes off first. My guess is this is more of an account/Graph permissions issue than a broken credential.

Hey, can you share the actual error message youre getting when it fails? Also what version of n8n are you on and are you self-hosting or on cloud?

So from those screenshots the “Invalid Token” and the malformed JWT errors both point to the same thing, personal Microsoft accounts just don’t have the right token structure for Teams Graph API calls. You’d need a work or school Microsoft 365 account for this to work. Also I’d turn off Custom Scopes and keep the Base URL on Global unless you actually need the US Government endpoint.