SharePoint Node OAuth Error

SharePoint Node OAuth Error

Hello, I’ve been trying to use the Microsoft SharePoint Node to get some list from different site collections, but I’m running into the following error even after getting admin consent on the Enterprise App registration in Azure. Would appreciate some guidance.

403 Forbidden - Access Denied - Check Credentials

Workflow:

{
  "nodes": [
    {
      "parameters": {
        "resource": "list",
        "operation": "get",
        "site": {
          "__rl": true,
          "mode": "list",
          "value": ""
        },
        "requestOptions": {}
      },
      "type": "n8n-nodes-base.microsoftSharePoint",
      "typeVersion": 1,
      "position": [
        220,
        0
      ],
      "id": "0bf53ce4-1e29-4e60-b637...",
      "name": "Microsoft SharePoint",
      "credentials": {
        "microsoftSharePointOAuth2Api": {
          "id": "236l6g...",
          "name": "Microsoft SharePoint account 2"
        }
      }
    }
  ],
  "connections": {},
  "pinData": {},
  "meta": {
    "templateCredsSetupCompleted": true,
    "instanceId": "8fefca80393c442003133de1b1e4708b19..."
  }
}

Share the output returned by the last node

Information on your n8n setup

  • n8n version: 1.95.3
  • Database (default: SQLite): unsure
  • n8n EXECUTIONS_PROCESS setting (default: own, main): unsure
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Cloud
  • Operating system: Chrome Browser, Windows

In case you haven’t resolved this yet, you may find some useful information in this post about the required permission set for fetching/reading from Sharepoint.

If you did already resolve it, please add a response with details about what you found. Microsoft permissions/authorization issues pop up frequently. Any info/insight you have may be useful to others.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.