Azure AD API Filter not supported

randy.hardianto 1 Reputation point
2021-06-07T07:56:03.707+00:00

I received an error when calling the below HTTP call. Seems that I am not able to to filter using both lastSignInDateTime and accountEnabled at the same time?

https://graph.microsoft.com/beta/users?$filter=signInActivity/lastSignInDateTime lt 2021-03-09 and accountEnabled eq true

102936-image.png

Microsoft Security | Microsoft Entra | Microsoft Entra ID
0 comments No comments
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.