Hi @Maxime Clavel,
Per my research, currently we are unbale to filter the site by isPersonal properties. As a workaround, I would recommend you to use graph search to get the sharepoint site. Since the url of OneDrive starts with https://contoso-my.sharepoint.com/
, and the url of SharePoint site starts with https://contoso.sharepoint.com/
. So you could add filter in th query like this to ignore Onedrive site:
"queryString":"path:\"https://contoso.sharepoint.com/*""
Reference:
https://learn.microsoft.com/en-us/graph/search-concept-files#example-5-use-filters-in-search-queries
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.