10 votesIn Beta · 1 comment · Microsoft Graph Feature Requests » Users · Flag idea as inappropriate… · Admin →Anonymous shared this idea ·
his capability is now available in Microsoft Graph public preview. It’s not currently documented.
NOTE: you’ll need to use a custom HTTP request header ConsistencyLevel: eventual and request $count=true as well, to enable this query capability.
GET ../beta/users?$filter=onPremisesSamAccountName eq ‘name’&$count=true
See also related queries in the changelog entry https://docs.microsoft.com/en-us/graph/changelog#identity-and-access-azure-adAnonymous supported this idea ·