Forum Discussion

RPADev's avatar
RPADev
Copper Contributor
Oct 11, 2023

Search through Sharepoint List Items via Graph API

I have a situation in which I would like to find a specific Folder inside a sharepoint environment. So the first steps are:

Get User ID List Side ID List Side Items List Items (Shared Documents) > this call results in listing every single item available under Shared Documents, which can be hundreds up till thousands. How am I able to add a search query or any other filter on this?

I tried with adding ?search={query} so it would look like /sites/{site-id}/lists/{list-id}/items?search={query}

but once fired, the search is ignored. Anyone else knows how to do this as I was unable to find anything on the internet. I saw some things in relation to '?expand=' but I dont know how this works.

Resources