When I try to use n8n’s Microsoft SharePoint node with OAuth2 credentials, the Site dropdown never populates and I see a “403 – Forbidden” error (screenshot attached). I’ve tested with two different Microsoft 365 accounts, each one is a SharePoint site owner, but the issue remains.
In Entra/Azure AD I found two n8n-related apps:
• n8n post to teams (under App Registrations), where I granted Sites.ReadWrite.All
• n8n (under Enterprise Applications), where I’m unable to modify scopes
As a last resort, I added Sites.ReadWrite.All to the App Registrations entry, assuming the app’s permissions were the culprit, but I still get the same 403 error.
I’ve run through every troubleshooting step I can think of; any guidance would be hugely appreciated! I’m just going to use HTTP nodes in the meantime to accomplish this but I thought I’d save myself some time trying to get the native SharePoint node to work.
Hey folks, just wanted to say that I did have the exact same issue. With the same cloud version of n8n. I just updated the instance to 1.100.1 and removed all existing credenitals, deleted Entra App Registration and Enterprise App (which had all necessary scopes by the way) and now I am not even able to setup a new connection like described here (Microsoft credentials | n8n Docs). Now I am getting this one:
I was just about to start transferring my automations from Microsoft Power Automate to n8n and it hit me hard in the very beginning. Hope it is just me stupid and the community is able to help. Much appreciated!
I have more or less the same issue. Setting up the credentials wen just fine. Gave the sharepoint api permissions to List.ReadWrite.All but when adding the sharepont node to retreive lists i get the following 403 forbidden error. Even after adding all sharepoint permissions (and granting them)
No clue. Anyone?
Experiencing a similar issue with both SharePoint trying to do exactly what you’re trying to do, as well as with the Teams node trying to set up a trigger based on reading messages in a channel. The default permissions generated when clicking ‘connect my account’ are insufficient and there is no ability to add the permissions to the n8n Enterprise Application that is created automatically.
Running into the same issue. I double/triple checked all permission but I cannot get it to populate the file field. Anything that can be done about it?
Hey there, I hope this helps as it worked for me. I’m using self-hosted version and not sure if the solutions will work for the cloud version. When granting API permissions, select “Delegated Permissions” then assign the appropriate permissions. For now, I just gave mine full control and it worked. My assumption is because we’re not using the enterprise we can’t “share” our credentials?
I’ve got the same issue. I made a n8n-sharepoint conenctor manually, and I can assign permissions to that. But the connector made by n8n via selecting Sharepoint as a credential, I can’t add any permissions to this. Solutions?? I’m on the cloud version.