Empty result from OneDrive Search operation

Problem

When using the Search operation in the MS Onedrive Node, no results is passed back, even when I leave the Query empty (wildcard).

There was another thread with the same issue. However the thread has been closed with no resolution.

What is the error message (if any)?

There is no error message. The result returned is empty, even when I know that the searched folder or file exists.

Please share your workflow

Share the output returned by the last node

The output returned is empty

Information on your n8n setup

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

Hi @Erich

Welcome to the community and apologies on the late reply!

Can you recreate the credentials, or could you try with a different user to see if you can list anything?

which version of One Drive are you using (personal vs business)?

Thanks!

I have the same problem. I reconnected my OneDrive account, but the result is the same. The workflow successfully worked until early December 2024 (after that, no events triggered it until now). It is n8n, not the workflow or the credentials. Can someone resolve this?

I’m having the same issue, unfortunately. I tried creating 2 app registration and secret but nothing works. I can create folder and unable to retrieve.

Same here. I have a Personal account (Microsoft 365 Family) and a Business account (OneDrive company). The Personal account can never search any folder or file. It always comes back with 0 results. It can create a folder, but not find it even. The Business account works without any issues. What is the issue here? I’m at a loss, since there is nothing I can do. I removed and added the credentials like 5x now, and even restarted the server (using n8n Cloud).

I even revoked n8n access from my Microsoft account and re-added in n8n to ask permissons again. Still nothing.

Has anyone found a solution to this extremely annoying issue?
Can CREATE folders with n8n but searching for the SAME folders just created returns empty.
Tried EVERYTHING we could think of to no avail.