Microsoft Graph Search API does not return every One Drive item that matches query

Katie Bullock 5 Reputation points
2023-09-13T16:03:59.0433333+00:00

Hello! Currently, when testing on Graph Explorer, I am noticing that using the Search API does not return every result that matches the query. I have added 3 files to One Drive in the time frame between January 1st, 2023 and today, September 13th, 2023. When running the following query, I am only returned 2 of the 3 files, every time. Please advise!

{
    "requests": [
        {
            "entityTypes": [
                "driveItem"
            ],
            "query": {
                "queryString": "lastModifiedTime>=01/01/2023 AND lastModifiedTime<=09/13/2023"
            }
        }
    ]
}
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,818 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.