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 Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
24,183 questions
0 comments No comments
{count} votes

Your answer

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