I want to fetch following data using Microsoft graph API
- All the root sites(group + personal)
- All group root sites
- All personal root sites
For the first case currently I am using
https://graph.microsoft.com/v1.0/sites in order to find out all the root sites
For the second one I am using
https://graph.microsoft.com/v1.0/sites?search=contentclass:STS_Site to find out all group sites.
I am not sure how to which API I can use to find out only personal sites. Do graph API have any filter which does that? Also is there a way to solve point 1 and 2 in a better way?