Support the $count operator for user and group objects
Given that the return size of any query is limited, the $count operator should be supported a lot more broadly. My immediate need when targetting AzureAD instead of an OnPrem AD is knowing the number of users, and number of groups when I send a query.
This capability is now available in Microsoft Graph public preview.
NOTE: you’ll need to use a custom HTTP request header to enable this query capability.
See also related queries in the changelog entry https://docs.microsoft.com/en-us/graph/changelog#identity-and-access-azure-ad