I’m trying to create a workflow that triggers when new files are added to an enterprise OneDrive folder. I’m primarily working with invoices, but the file type isn’t relevant to the issue. Whenever I attempt to “Fetch Test Event” in the Microsoft OneDrive Trigger node, I consistently receive the message “No Microsoft OneDrive data found.” To ensure there were files to detect, I’ve added both older and recent Word documents to the specified folder.
What’s particularly confusing is that I receive the same “No Microsoft OneDrive data found” message even when I enter an invalid Folder ID. I would expect an error message indicating an invalid ID in that case.
I’ve personally created the application within the Microsoft tenant and obtained the Folder ID using the Search node technique.
I’m using the Microsoft OneDrive Trigger node, configured to trigger on “File Created” and to look for the folder by its ID.
I’m at a loss as to how to troubleshoot this problem. I believe I’m performing a very basic task, which makes this issue quite frustrating.
What is the error message (if any)?
I’m not receiving any error messages. I also have no confirmation that the folder is being accessed at all.
Thank you Tero for your answer. It did not work as every run had no data returned . I’ll just assum that the module is broken and that nobody can get it work. It was akeward to implement anyway.
Thank you for the reply biotech-fourier. I could not make it work.
My eye cought sometime howerver. I noticed that there is a link to open the folder in Onedrive just in case that I had the wrong Folder ID, and to my surprise, the lonk brought me to live.com. I think that it tries to open the personnel OneDrive instead of going to the professionnel one.
I have no idea what to do with that information. My understanding was that I had to use folder ID to make it append. May be I should use the sharepoint nodes instead but to do so I will have to learn the sharepoint API. I am nowhere close enough to understant n8n to start to work with direct web request all by myself.
Same observation on my own. It is impossible to trigger a OneDrive file or folder from a professional account using n8n OneDrive module. I’ve tryed selected file both using “By url” or “By Id”. Parameters has been checked twice, confirming it works with other ochestrator like make.com.
It is nevertheless possible to get files or folders using this module, with the same connection / credentials configuration.
So it appears there is a bug on the trigger function. Confirming as well the opening of live.com by clicking on refered icon, which is incorrect in my case.
I’ve also been trying to set up a OneDrive trigger but am unable to do so. I’ve tried using the folder ID as well as the URL and could get neither to work. After trying for a while I decided to check the forum and found this.
I don’t really understand the solution proposed by @biotech-fourier; what’s the point of polling every minute and every day?
Just want to add two alternatives both Box.com and Google Drive are stable and good. The box one works almost instanteous on triggers, with google having polling time, but working great.
I met the same issue but the OneDrive folder I was using belongs to another account. Once I copied that folder to my own OneDrive, and use the new ID instead, the node now works.