I am trying to do a graph search query that bring the last 20 items updated from a specific site ordered by the lastModifiedDateTime, and if possible also filtered by a custom field that they should have.
this is the query i have
POST https://graph.microsoft.com/v1.0/search/query
{
"Requests": [
{
"entityTypes": [
"listItem"
],
"query": {
"queryString": "isDocument:true AND siteId:<site-id> "
}
}
]
}
in this example the when i try to add the siteid the query breaks and brings no result
Path
as well. Check this: sharepoint.stackexchange.com/questions/310922/… and let me know if it works for you.Path
will work for you or not?