t-kitamura
Jun 29, 2022Copper Contributor
Status:
New
Address problems with Sharepoint site search in Graph API and refine the `search` specification
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/answe...
SanthoshVarghese
Jun 02, 2023Copper Contributor
Also i would recommend support for filtering using all attributes of Site object.
Currently filtering is only possible by displayname (* or keyword*(works as startswith)) and id (by giving the SPSiteId), but that too using search parameter.
Apart from search=*, few filters supported working are listed below.
for siteId,
https://graph.microsoft.com/v1.0/sites?search={SPSite-Id} is working.
for displayname,
https://graph.microsoft.com/v1.0/sites?search={*} or https://graph.microsoft.com/v1.0/sites?search={<firstfew letters of any word in displayname>*) is working.