Authentification failed with Microsoft Teams node

Hi,

Here is the error message I get when I try to authentificate to Microsoft Teams

DeepL translation:

Administrator approval required
unverified
requires authorization to access your organization’s resources, and this access can only be granted by an administrator. Please ask an administrator to grant permission for this application before you can use it.

I don’t really understand because I think I am administrator (at least I can access Teams administration center). I have no problem with Microsoft Outlook node.

n8n version: 0.168.2

Thanks a lot :slight_smile:

Hi @dot, I am very sorry to hear you’re having trouble!

Are you using Microsoft Teams as a member of an (Azure) Active Directory? If so, could you confirm you’re an admin in your Active Directory? You should see a checkbox allowing you to consent on behalf of your organization in this case:

If you’re not an AD admin, could you check with your organization’s IT team who might be able to approve the app usage?

Hi,

Thank you very much, you were right, I was’nt admin in Active Directory.
Works like a charm now :slight_smile:

1 Like

Awesome, glad to hear and thanks so much for confirming!

1 Like

Hi there, I am having the same problem. Outlook and Excel are working but I can’t get Teams to work. I am not an Azure admin since my company has their IT outsourced to a service provider. So I am wondering what the solution would be in my case. The same popup as above shows up with the option “If you have an administrator account, sign in with it.” Is the solution that our IT admin logs in using his admin credentials?

Thank you!

Best, Michael

I have resolved the issue and documented it. Please refer to: n8n Microsoft Teams 集成:解决 Need admin approval 问题 | Marchccc

Hi, i have the same problem with the authorization, the connection successfully but when i try to send a message in teams chat, there is the error that it seems that i have not enough authorization:

{
“errorMessage”: “No authorization information present on the request.”,
“errorDetails”: {
“rawErrorMessage”: [
“No authorization information present on the request.”
],
“httpCode”: “403”
},
“n8nDetails”: {
“nodeName”: “Microsoft Teams”,
“nodeType”: “n8n-nodes-base.microsoftTeams”,
“nodeVersion”: 2,
“resource”: “chatMessage”,
“operation”: “getAll”,
“time”: “2025/4/10 下午4:37:20”,
“n8nVersion”: “1.86.0 (Self Hosted)”,
“binaryDataMode”: “default”,
“stackTrace”: [
“NodeApiError: No authorization information present on the request.”,
" at ExecuteContext.microsoftApiRequest (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Microsoft/Teams/v2/transport/index.js:56:11)“,
" at processTicksAndRejections (node:internal/process/task_queues:95:5)”,
" at ExecuteContext.microsoftApiRequestAllItems (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Microsoft/Teams/v2/transport/index.js:64:20)“,
" at ExecuteContext.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Microsoft/Teams/v2/actions/chatMessage/getAll.operation.js:49:26)”,
" at ExecuteContext.router (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Microsoft/Teams/v2/actions/router.js:73:26)“,
" at ExecuteContext.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Microsoft/Teams/v2/MicrosoftTeamsV2.node.js:39:12)”,
" at WorkflowExecute.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/workflow-execute.js:681:27)“,
" at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/workflow-execute.js:913:51”,
" at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/workflow-execute.js:1246:20"
]
}
}

and there is no green √ on the condition column of my API authorizations


please help me ,thanks! 謝謝!


I have the same:
Error code

403

Other info

Node type

n8n-nodes-base.microsoftTeams

Node version

2 (Latest)

n8n version

1.86.1 (Self Hosted)

Time

4/25/2025, 1:00:33 PM

Stack trace

NodeApiError: No authorization information present on the request. at ExecuteContext.microsoftApiRequest (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Microsoft/Teams/v2/transport/index.js:56:11) at processTicksAndRejections (node:internal/process/task_queues:95:5) at ExecuteContext.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Microsoft/Teams/v2/actions/chatMessage/sendAndWait.operation.js:58:10) at ExecuteContext.router (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Microsoft/Teams/v2/actions/router.js:53:5) at ExecuteContext.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Microsoft/Teams/v2/MicrosoftTeamsV2.node.js:39:12) at WorkflowExecute.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/workflow-execute.js:681:27) at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/workflow-execute.js:913:51 at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/workflow-execute.js:1246:20

Microsoft Teams

Test step

Parameters

Settings


Docs

Credential to connect with

Resource

Operation

Chat

Fixed

Expression

Content Type

Fixed

Expression

Message

Fixed

Expression

Options

No properties

Add option

I wish this node would…

Problem running workflow

The workflow has issues and cannot be executed for that reason. Please fix them first.

Hi there, I’m having issues with connecting my Teams account to n8n. Our IT department is outsourced and they’re telling me that they’ve granted me all the required permissions, and asked that I reach out to n8n support because they don’t know why I can’t connect because they feel they’ve done everything required of them from their side. Here’s what they sent me below. I tried the incognito window and it still wouldn’t connect. Any help you can offer will be greatly appreciated!
We know:

Admin consent has already been granted

“User assignment required” is set to No

Publisher is verified

Your user consent settings are wide open

Permissions requested are low-impact (“Sign in and read user profile”)

Probable causes for error:

The admin consent grant did not propagate correctly OR the user is still hitting an auth flow that requires prompt=admin_consent in the URL (set by n8n Cloud).

I just re-authorized in case.

I need you to:

1.Open an InPrivate/Incognito browser window

2.Go to the n8n Cloud login page

3.Sign in again

This ensures no cached tokens or stale consent prompts from old sessions.

Still Seeing the Prompt?

If yes, then:

1.n8n Cloud may be hard-coding a prompt=admin_consent in their OAuth URL.

You’ll need to contact n8n support and ask if they’re appending that parameter to Microsoft login.

If they are, it will always force an admin prompt, even if everything is already granted.

2.You can verify this in-browser:

Click F12 on the login page

Go to Network tab

Watch the redirect to login.microsoftonline.com

See if the query string includes prompt=admin_consent

The Entra config looks to be 100% correct

The publisher is verified, permissions are low-impact, and consent settings allow it

The most likely cause now is:

n8n is using prompt=admin_consent (forcing the prompt)