Address problems with Sharepoint site search in Graph API and refine the `search` specification

Address problems with Sharepoint site search in Graph API and refine the `search` specification
2

Upvotes

Upvote

 Jun 29 2022
0 Comments 
New

Regarding SharePoint site searches in the Graph API, we have received several reports of sites not being found, even though they exist on Sharepoint Online.

 

https://docs.microsoft.com/en-us/answers/questions/904313/how-to-search-all-sites-with-graph-api.html

 

The official documentation for `https://graph.microsoft.com/v1.0/sites?search={query}` is vague and seems to confuse many users.

 

https://docs.microsoft.com/en-us/graph/api/site-search?view=graph-rest-1.0&tabs=http

 

https://docs.microsoft.com/en-us/graph/api/resources/sharepoint?view=graph-rest-1.0#%20note-for-existing-sharepoint-developers

 

We would appreciate an investigation into the event of the site not being hit by the search and the detailed specification of the free text search at `https://graph.microsoft.com/v1.0/sites?search={query}` to be made available to the documentation.