In n8n cloud I am trying to create a sharepoint credential, whan i get to the Connect to my account button and i click it, it asks me for admin approval, send the link to the admin, but thy are concerned about the too broad permissions requested, see below:
How could i narrrow down the permissions, a solution like in the Microsoft Entra ID accounts Enabled scopes would be handy, but i do not find any solution.
Ensure you are using a MS tenant admin account. This won’t work if you don’t have the right permissions.
n8n will request the correct scopes that were missing before.
Once the connection is successful you can open up a workflow, add a Sharepoint node and create new credentials. This time, because the scopes were added already, you won’t run into the error 403 problem.
The issue is that the official Sharepoint Node does not automatically add the right scopes (or give you the option to do so) when you create a credential through there. This method circumvents that and adds the scopes that are needed so you can use the official Sharepoint n8n node.
Hi i have used custom http request, which had its own problem set regarding the authorization in my case, but my devops colleague solved it working closely with the clients sys admin, and it turned out to be a good choice in the end, because i have more control thrugh microsofts Graph API, like, i can insert just a row in an excel table etc.