Onedrive Business Folder ID

I am using the self-hosted n8n.

I created an automation that works well and uploads documents to onedrive (personal).
Now I want to replicate it for onedrive for business but I am unable to find the folder ID.

Does anyone know how I can find the IDs for folders?

Hello @strayr and welcome to the community :tada:,

To find the folder ID you can refer to the url when you are in that folder. Have a look at the image below:

onedrive id

The highlighted text is the ID, you need to copy everything between ?id= and %.

Hope this helps!

2 Likes

Hi @strayr, seeing you mentioned OneDrive for business, I suspect you’re using MS 365 where OneDrive uses Sharepoint behind the scenes?

If so, the ID isn’t part of the URL unfortunately, but you could just search for it like so:

6 Likes

Thank you very much for the help. This way exactly what I needed. Honestly, this should be added to the documentation. Is there a way to note someone about that?

2 Likes

Thx for your feedback @strayr, I’ll make sure to pass it on to our technical writer @deborah :slight_smile:

I am unable to understand where the screenshot has been captured from. If it is from Postman, may I kindly request you to share the API details along with the documentation? It would be a great help.

You mean this screenshot @Prateek_Saxena?

That’s just a screenshot of the OneDrive node in n8n

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