Forum Discussion
Adele_V
Sep 09, 2021Copper Contributor
How to search Sharepoint & Teams files through graph API? But not Onedrive files
I'm trying to search Sharepoint & Teams files through POST https://graph.microsoft.com/v1.0/search/query. I passed the `entityType` as `driveItem` in the request body so that I could able to search Sharepoint, Teams & Onedrive files.
But in my case, I should ignore the files from Onedrive. Is there a way to search only Sharepoint & Teams files but not Onedrive files?
No RepliesBe the first to reply