Issue Connecting OneDrive to n8n – Permissions Error
Hi everyone,
I’m trying to connect OneDrive to n8n. I created the app, successfully connected with the credentials, but when I try to create a folder or perform any action, I get an error saying I don’t have permission.
I’ve already added the following permissions:
- Sites.ReadWrite.All – Read and write items in all site collections (Application, Admin consent, Microsoft Graph)
- Files.ReadWrite.All – Read and write files in all site collections (Application, Admin consent, Microsoft Graph)
- Files.ReadWrite.All – Have full access to all files user can access (Delegated, Admin consent, Microsoft Graph)
- Files.ReadWrite.AppFolder – Have full access to the application’s folder (Delegated, Admin consent, Microsoft Graph)
- offline_access – Maintain access to data you have given it access to (Delegated, Admin consent, Microsoft Graph)
- Sites.ReadWrite.All – Edit or delete items in all site collections (Delegated, Microsoft Graph)
Even with all these permissions set, I still get a permission error when trying to create a folder or perform actions.
Has anyone faced this issue before? Any ideas on how to fix it? I need urgent help!
Information on your n8n setup
- n8n version:: 1.76.1
- Database (default: SQLite):
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via (Docker, npm, n8n cloud, desktop app):: docker
- Operating system::