Forum Discussion
Compulinx
Jan 27, 2022Copper Contributor
Filter Azure AD Signin Logs using Graph API
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! :
https://graph.microsoft.com/beta/auditLogs/signins?$filter=userDisplayName/any(s:s
Where am I going wrong?
Thanks
/A
- I'll be the first to agree that filtering in Graph is crap 😄 Try this:
https://graph.microsoft.com/beta/auditLogs/signins?$filter=status/errorcode eq 0&$top=1
2 Replies
- I'll be the first to agree that filtering in Graph is crap 😄 Try this:
https://graph.microsoft.com/beta/auditLogs/signins?$filter=status/errorcode eq 0&$top=1- CompulinxCopper ContributorVasil you genius! You did it again mate!
/A