Microsoft excel 365 token not refreshing

I am getting the following error:

Problem in node ‘Microsoft Excel 365‘: No refresh token

I am able to successfully authenticate and the connector will run great but, inevitably, it will eventually fail because of this error.

Please share your workflow

Share the output returned by the last node

Problem in node ‘Microsoft Excel 365‘: No refresh token

Information on your n8n setup

  • **n8n version:1.61.0
  • **Database (default: SQLite):postgres
  • **n8n EXECUTIONS_PROCESS setting (default: own, main):own, main
  • **Running n8n via (Docker, npm, n8n cloud, desktop app):Docker
  • **Operating system:Debian
1 Like

Hi @Anthony_Gerke,

Welcome to the community :tada:

It sounds like the node isn’t getting the refresh token during the auth process. Did you include theoffline_access scope in the OAuth2 setup?

Thank you. I am using the out of the box credential for the Microsoft Excel 365 connector and I don’t think I have the ability to set the scope like I do in the generic oauth2 connector. Could you point me to where I would define the offline_access scope like you described?

@aya I wanted to follow up here. Do you have any advice on handling the offline_access scope using the standard n8n excel for m365 connector?

I just ran into this same issue with a node using Microsoft Graph Security OAuth2 API. I have offline_access set in the scope of the Azure App registration, but there’s not a field for me to set the scope in n8n.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.