Query Details
# Top 100 users that have the most interactive sign ins ## Query Information #### Description Visualize the top 100 users that have performed the most interactive sign ins. ### Defender For Endpoint ``` IdentityLogonEvents | where LogonType == 'Interactive' | where isempty(FailureReason) | distinct AccountUpn, DeviceName | summarize TotalUniqueInteractiveSignIns = count() by AccountUpn | top 100 by TotalUniqueInteractiveSignIns | render columnchart with (title="Top 100 users that have the most interactive sign ins") ``` ### Sentinel ``` IdentityLogonEvents | where LogonType == 'Interactive' | where isempty(FailureReason) | distinct AccountUpn, DeviceName | summarize TotalUniqueInteractiveSignIns = count() by AccountUpn | top 100 by TotalUniqueInteractiveSignIns | render columnchart with (title="Top 100 users that have the most interactive sign ins") ```
This query retrieves the top 100 users who have the highest number of interactive sign-ins. It filters the logon events for interactive sign-ins and excludes any events with failure reasons. It then counts the unique sign-ins for each user and displays the top 100 users in a column chart.

Bert-Jan Pals
Released: February 14, 2023
Tables
Keywords
Operators