79677717

Date: 2025-06-24 14:05:30
Score: 1.5
Natty:
Report link
https://graph.microsoft.com/v1.0/sites/{siteId}/drive/root:/directoryName1/directoryName2:/children?search(q='Data')

To directly search within that specific path, you should remove the /children segment and use the /search endpoint like this:

https://graph.microsoft.com/v1.0/sites/siteId/drive/root:/directoryName1/directoryName2:/search(q='Data')

It will return all files in the specified directory, and then apply the search filter

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Code4Rice