'Azure Graph, filtering on activity and group membership
Is it possible, within a single GET call, to only obtain users who are members of one group, not a member of a different group and have signed in within X days?
I have been trying to do this with a call similar to:-
"https://graph.microsoft.com/beta/users?$select=id,signInActivity&$expand=memberOf&$filter=signInActivity/lastSignInDateTime le 2021-04-26T17:30:09Z&$filter=contains(memberOf.id,'11111111-1111-1111-1111-111111') and NOT contains(memberOf,'222222-2222-2222-2222-22222222')&$top=999"
but however I try to formulate the filter parameters it always produces an error
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
