Microsoft Sharepoint node is expiting token and fail when n8n run flow

Describe the problem/error/question

Hey folks, Actually I have a n8n flow to connect to Microsoft Sharepoint node, however I check that the node is disconnected when Token is expiring and then to run n8n flow is failed.

Anybody have any idea?

Hey! yeah when the Microsoft SharePoint OAuth token expires — the connection will break, and your n8n workflow will fail.

Try connecting again after you check that you have tokens to use and if auto-refresh isn’t working, try manually reauthorizing the connection every few days as a temporary fix — not ideal, but it works in the short term.

Hope this helps

Thanks Abrar,

1 Like

I’m having the same issues and not finding a fixing method. I think the token is expiringin in about 1 hour after the auth, and the only way to start working again is login in microsoft account in the node’s credentials.
And I’ve tried givin the “offline_access” permission on azure but there’s no scope field in the n8n node.

Sturggeling with the same issue. Because app permissions on the azure app registration are not yet available its a challenging problem.

HI Folks, The solution I had implemented was created an api that doing a web scrapping into n8n to an specific flow and then to sharepoint node and clicked refresh button. its works. its a work around solution until n8n provide a better solution.

Regards

JP