Allow / Add onPremisesSamAccountName as a filter
It will be very interesting to allow filter by onPremisesSamAccountName in users endpoint.
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-ad