Microsoft Outlook credential error

Im trying to get my outlook email trigger, did all the OAuth credentials, got the admin to set the permissions and i keep getting this error:
{
“errorMessage”: “The resource you are requesting could not be found”,
“errorDescription”: “The mailbox is either inactive, soft-deleted, or is hosted on-premise.”,
“errorDetails”: {
“rawErrorMessage”: [
“404 - {"error":{"code":"MailboxNotEnabledForRESTAPI","message":"The mailbox is either inactive, soft-deleted, or is hosted on-premise."}}”
],
“httpCode”: “404”
},
“n8nDetails”: {
“nodeName”: “Microsoft Outlook Trigger”,
“nodeType”: “n8n-nodes-base.microsoftOutlookTrigger”,
“nodeVersion”: 1,
“time”: “1/15/2026, 12:01:58 PM”,
“n8nVersion”: “2.2.4 (Self Hosted)”,
“binaryDataMode”: “filesystem”,
“stackTrace”: [
“NodeApiError: The resource you are requesting could not be found”,
" at PollContext.requestWithAuthentication (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_@[email protected]_@[email protected]_ec37920eb95917b28efaa783206b20f3/node_modules/n8n-core/src/execution-engine/node-execution-context/utils/request-helper-functions.ts:1513:10)“,
" at processTicksAndRejections (node:internal/process/task_queues:105:5)”,
" at PollContext.requestWithAuthentication (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_@[email protected]_@[email protected]_ec37920eb95917b28efaa783206b20f3/node_modules/n8n-core/src/execution-engine/node-execution-context/utils/request-helper-functions.ts:1813:11)“,
" at PollContext.microsoftApiRequest (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-nodes-base@file+packages+nodes-base_@[email protected]_asn1.js@5_8da18263ca0574b0db58d4fefd8173ce/node_modules/n8n-nodes-base/nodes/Microsoft/Outlook/v2/transport/index.ts:52:10)”,
" at PollContext.getPollResponse (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-nodes-base@file+packages+nodes-base_@[email protected]_asn1.js@5_8da18263ca0574b0db58d4fefd8173ce/node_modules/n8n-nodes-base/nodes/Microsoft/Outlook/trigger/GenericFunctions.ts:60:19)“,
" at PollContext.poll (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-nodes-base@file+packages+nodes-base_@[email protected]_asn1.js@5_8da18263ca0574b0db58d4fefd8173ce/node_modules/n8n-nodes-base/nodes/Microsoft/Outlook/MicrosoftOutlookTrigger.node.ts:66:19)”,
" at WorkflowExecute.executePollNode (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_@[email protected]_@[email protected]_ec37920eb95917b28efaa783206b20f3/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1093:19)“,
" at WorkflowExecute.runNode (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_@[email protected]_@[email protected]_ec37920eb95917b28efaa783206b20f3/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1244:11)”,
" at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_@[email protected]_@[email protected]_ec37920eb95917b28efaa783206b20f3/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1662:27",
" at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_@[email protected]_@[email protected]_ec37920eb95917b28efaa783206b20f3/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:2297:11"
]
}
}

Describe the problem/error/question

What is the error message (if any)?

{
“errorMessage”: “The resource you are requesting could not be found”,
“errorDescription”: “The mailbox is either inactive, soft-deleted, or is hosted on-premise.”,
“errorDetails”: {
“rawErrorMessage”: [
“404 - {“error”:{“code”:“MailboxNotEnabledForRESTAPI”,“message”:“The mailbox is either inactive, soft-deleted, or is hosted on-premise.”}}”
],
“httpCode”: “404”
},
“n8nDetails”: {
“nodeName”: “Microsoft Outlook Trigger”,
“nodeType”: “n8n-nodes-base.microsoftOutlookTrigger”,
“nodeVersion”: 1,
“time”: “1/15/2026, 12:01:58 PM”,
“n8nVersion”: “2.2.4 (Self Hosted)”,
“binaryDataMode”: “filesystem”,
“stackTrace”: [
“NodeApiError: The resource you are requesting could not be found”,
" at PollContext.requestWithAuthentication (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_@[email protected]_@[email protected]_ec37920eb95917b28efaa783206b20f3/node_modules/n8n-core/src/execution-engine/node-execution-context/utils/request-helper-functions.ts:1513:10)“,
" at processTicksAndRejections (node:internal/process/task_queues:105:5)”,
" at PollContext.requestWithAuthentication (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_@[email protected]_@[email protected]_ec37920eb95917b28efaa783206b20f3/node_modules/n8n-core/src/execution-engine/node-execution-context/utils/request-helper-functions.ts:1813:11)“,
" at PollContext.microsoftApiRequest (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-nodes-base@file+packages+nodes-base_@[email protected]_asn1.js@5_8da18263ca0574b0db58d4fefd8173ce/node_modules/n8n-nodes-base/nodes/Microsoft/Outlook/v2/transport/index.ts:52:10)”,
" at PollContext.getPollResponse (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-nodes-base@file+packages+nodes-base_@[email protected]_asn1.js@5_8da18263ca0574b0db58d4fefd8173ce/node_modules/n8n-nodes-base/nodes/Microsoft/Outlook/trigger/GenericFunctions.ts:60:19)“,
" at PollContext.poll (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-nodes-base@file+packages+nodes-base_@[email protected]_asn1.js@5_8da18263ca0574b0db58d4fefd8173ce/node_modules/n8n-nodes-base/nodes/Microsoft/Outlook/MicrosoftOutlookTrigger.node.ts:66:19)”,
" at WorkflowExecute.executePollNode (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_@[email protected]_@[email protected]_ec37920eb95917b28efaa783206b20f3/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1093:19)“,
" at WorkflowExecute.runNode (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_@[email protected]_@[email protected]_ec37920eb95917b28efaa783206b20f3/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1244:11)”,
" at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_@[email protected]_@[email protected]_ec37920eb95917b28efaa783206b20f3/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1662:27",
" at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_@[email protected]_@[email protected]_ec37920eb95917b28efaa783206b20f3/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:2297:11"
]
}
}

Please share your workflow

Its the first trigger node, all other next nodes are ok. 

Share the output returned by the last node

{
“errorMessage”: “The resource you are requesting could not be found”,
“errorDescription”: “The mailbox is either inactive, soft-deleted, or is hosted on-premise.”,
“errorDetails”: {
“rawErrorMessage”: [
“404 - {"error":{"code":"MailboxNotEnabledForRESTAPI","message":"The mailbox is either inactive, soft-deleted, or is hosted on-premise."}}”
],
“httpCode”: “404”
},
“n8nDetails”: {
“nodeName”: “Microsoft Outlook Trigger”,
“nodeType”: “n8n-nodes-base.microsoftOutlookTrigger”,
“nodeVersion”: 1,
“time”: “1/15/2026, 12:01:58 PM”,
“n8nVersion”: “2.2.4 (Self Hosted)”,
“binaryDataMode”: “filesystem”,
“stackTrace”: [
“NodeApiError: The resource you are requesting could not be found”,
" at PollContext.requestWithAuthentication (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_@[email protected]_@[email protected]_ec37920eb95917b28efaa783206b20f3/node_modules/n8n-core/src/execution-engine/node-execution-context/utils/request-helper-functions.ts:1513:10)“,
" at processTicksAndRejections (node:internal/process/task_queues:105:5)”,
" at PollContext.requestWithAuthentication (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_@[email protected]_@[email protected]_ec37920eb95917b28efaa783206b20f3/node_modules/n8n-core/src/execution-engine/node-execution-context/utils/request-helper-functions.ts:1813:11)“,
" at PollContext.microsoftApiRequest (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-nodes-base@file+packages+nodes-base_@[email protected]_asn1.js@5_8da18263ca0574b0db58d4fefd8173ce/node_modules/n8n-nodes-base/nodes/Microsoft/Outlook/v2/transport/index.ts:52:10)”,
" at PollContext.getPollResponse (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-nodes-base@file+packages+nodes-base_@[email protected]_asn1.js@5_8da18263ca0574b0db58d4fefd8173ce/node_modules/n8n-nodes-base/nodes/Microsoft/Outlook/trigger/GenericFunctions.ts:60:19)“,
" at PollContext.poll (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-nodes-base@file+packages+nodes-base_@[email protected]_asn1.js@5_8da18263ca0574b0db58d4fefd8173ce/node_modules/n8n-nodes-base/nodes/Microsoft/Outlook/MicrosoftOutlookTrigger.node.ts:66:19)”,
" at WorkflowExecute.executePollNode (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_@[email protected]_@[email protected]_ec37920eb95917b28efaa783206b20f3/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1093:19)“,
" at WorkflowExecute.runNode (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_@[email protected]_@[email protected]_ec37920eb95917b28efaa783206b20f3/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1244:11)”,
" at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_@[email protected]_@[email protected]_ec37920eb95917b28efaa783206b20f3/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1662:27",
" at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_@[email protected]_@[email protected]_ec37920eb95917b28efaa783206b20f3/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:2297:11"
]
}
}

Information on your n8n setup

  • n8n version:2.2.4
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app): docker on a remote server at digitalocean
  • Operating system: Mac OS Sequoia

Hi @Alonso_Espinosa_de_l ,

The Microsoft Outlook Trigger uses Microsoft Graph API, which only works with: Exchange Online (cloud-based mailboxes) and Microsoft 365 mailboxes

It does NOT work with: on-premise Exchange servers, Hybrid Exchange (partially on-premise) and Inactive mailboxes.

You Check Your Mailbox Type

Ask your admin to verify in the Microsoft 365 Admin Center:

  • Go to Users → Active users

  • Select your user

  • Check the Mail section

  • Look for “Mailbox location” - it should say “Exchange Online”

If it says “On-premises” or shows a hybrid setup, that’s your issue.

Also your account needs an Exchange Online license:

  • Microsoft 365 Business Basic/Standard/Premium

  • Exchange Online Plan 1 or 2

  • Office 365 E1/E3/E5

Let me know if this works.

I have this but i cant figure it out

Did you manage to look at the screenshots and see if you could find some idea of whats wrong?

@Alonso_Espinosa_de_l Have your admin try accessing your mailbox via Graph API directly:

https://graph.microsoft.com/v1.0/users/[email protected]/messages

lets see If this returns the same error.

I tried but got this:

Any more to try?