The graph api doesnt support adding $count
to the the search API, neither does it allow querying sites with count.
Is there any way to get the total number of sites in a system with one hit.
Variations tried:
https://graph.microsoft.com/v1.0/sites?search=*&$select=name&$top=999
https://graph.microsoft.com/v1.0/sites?$count=true
Thanks