I am experiencing an issue with n8n where my scheduled tasks work fine when n8n is open, but when n8n is closed, I get the error “Authorization failed - please check your credentials”. The error occurs when n8n attempts to read an Excel file stored on OneDrive using Microsoft Azure OAuth2 credentials. The task runs successfully when n8n is open, but fails when n8n is closed.
Error message:
“Authorization failed - please check your credentials”
“You do not have permissions to open this file in the browser.”
Share the output returned by the last node
- n8n version: 1.78.1
- Database (default: SQLite): Postgresql
- n8n EXECUTIONS_PROCESS setting (default: own, main): default
- Running n8n via (Docker, npm, n8n cloud, desktop app): Serber
- Operating system: Windows