Forum Discussion
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.
2 Replies
- RPADevCopper ContributorI could use Microsoft Search API ?
https://learn.microsoft.com/en-us/graph/search-concept-files#example-2-search-list-items- RPADevCopper Contributor
I have solved the challenge using Graph API Microsoft Search