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.
I had the same problem. I was confused when I changed credentials from one account to another, but then I discovered that the Microsoft OneDrive node supports only files that are stored in My files in the personal space of M365 OneDrive.
Let me explain with an example. If you have M365 account, you might notice that your files might be placed in a few locations: https://{your tenant}.sharepoint.com ← this is a storage for projects and shared documents (Teams). Members of projects or teams might change and those files won’t be removed when they are gone. https://{name of your tenant}-my.sharepoint.com/my/ ← this is a personal (but company-owned) space that contains your files and settings that are available to you and might be shared with others, but will be lost when your account is closed.
If you don’t have any results in the OneDrive node, please copy one file to the https://{your tenant}-my.sharepoint.com/my/ list and try to search for it again. You may need to wait a minute or two for the search to index it. In my case, I got the result almost immediately.
This is not a solution to the general problem because files stored in M365’s personal space are, by default, private and will be gone when the account is closed. So, it is not recommended to keep there files that are project-related and must stay persistent.
To solve this problem, n8n must update its Microsoft OneDrive node with an option to add a URL to Site Collections. Otherwise, they will get only results from My Sites (personal sites).
I do not think what you say applies to personal OneDrive. What you talk about is related to business one drive where the concept of company space and personal space exists. If you try to use Sharepoint as personal user, you won’t be able to because it does not apply to personal accounts.
I am having the same problem. All my files I am reading and writing are within the “My files” on my personal OneDrive. Created folder via n8n and the folder cannot be found by search.
I have opened a case with Microsoft via my personal subscription, but I am not expecting much help there as they will probs blame it on the 3rd party issue.
I have also tried creating folder via web OneDrive and OneDrive on PC and I am finding the same problem there now. So here is a difference:
n8n created: A219063F77D9031F!s9bf9470746fe49b389a2cbd56baf9938
web: A219063F77D9031F!s893dd74d1aae48f0a00d04c2ef0bbefc
pc: A219063F77D9031F!s320368c5ff9f4ff4945942beb8dbb648
6m+ old folder: A219063F77D9031F!92838
Seems folders now have different format of the ID. However I am not sure if that is anyhow related. But anything with the short ID, I can find.
I am not sure Microsoft has understood correctly my request, however this is their response:
Hello Miro,
Thank you for your time and patience.
I understand that you have been facing issues with OneDrive. Thank you so much for reporting the issue. Unfortunately, this is a known issue and our engineering team recognized this issue and started working to fix it.
While we don't have a timeline for the release of the fix, we are working to get it resolved as soon as possible. We apologize for the inconvenience. I have bookmarked the ticket for your reference.
The resolution will likely come in the form of an update, so keep an eye out for future releases. We also let you know that this may not be resolved with the next update, but we are actively working on a fix. Thank you for your understanding.
I apologize profusely for this inconvenience.
Thank you
Hello there,
As I have already informed you that we are aware of the situation and our engineering team are working on the fix. Hopefully, in upcoming week it should be fixed. We can't promise you that it will be fixed tomorrow, or when because there is no ETA but issue is on our priority list.
So, I would request you to show patience and co-operate with us.
Thanks,
A quick update while I continue browsing for solutions.
In the link below someone suggested to perform a first search inside the Onedrive UI (web browser) and then repeat the query on n8n.
I made a quick test and it worked. Wondering if it’ll not broke after a couple of time.
Hope this helps moving forward while n8n does not bring a definite solution