Looks like microsoft killed this functionality without bumping API versions: https://devblogs.microsoft.com/microsoft365dev/transition-to-microsoft-graph-search-endpoint-for-onedrive-and-sharepoint/
Graph API search with empty array result which is working in earlier
Monika V
70
Reputation points
Hi Team, Suddenly, the Graph API search is not working, we are getting the result of an empty array. Since it is working as expected by yesterday. The search is not working for any of the SharePoint libraries. All the results return an empty array.
The API is something like
https://graph.microsoft.com/v1.0/sites/{tenantid}/lists/{libraryid}/drive/root/search(q='test')