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!

1 Like

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:

2 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?

1 Like

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