How to make an API Call to reindex a drive ou driveitem in Sharepoint 365?

Pedro Santos 0 Reputation points
2023-11-20T19:32:55.4766667+00:00

I have a integration using Microsoft Graph for Sharepoint, and i have a problem when searching for files. When a file is uploaded it doesnt show in the search for an unspecified amount of time. I need to be able to make a call to reindex the drive or driveitem. I know its possible for the whole site, but i need a more fine tuned reindex. It can be via powershell but it is prefered in python.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,340 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,235 questions
0 comments No comments
{count} votes