SOLVED

Filter Azure AD Signin Logs using Graph API

Occasional Contributor

Hello!

 

I am exploring how to filter the signin logs using REST calls. I'll be honest, for me, the syntax for this is a little confusing. Any help would be great. I am interested in filtering for signin status where the errorcode has a value of zero

 

So far, and woefully wrong! :

 

2 Replies
best response confirmed by Compulinx (Occasional Contributor)
Solution
I'll be the first to agree that filtering in Graph is crap :D Try this:

https://graph.microsoft.com/beta/auditLogs/signins?$filter=status/errorcode eq 0&$top=1
Vasil you genius! You did it again mate!
/A