Query Details
# Visualization authentication Methods Used ## Query Information #### Description This visualisation shows the authentication methods that have been used based on the selected TimeFrame. #### References - https://learn.microsoft.com/en-us/entra/identity/authentication/concept-authentication-methods ## Sentinel ```KQL let TimeFrame = 30d; SigninLogs | where TimeGenerated > ago(TimeFrame) | where ResultType == 0 | summarize Total = count() by AuthenticationProtocol, bin(TimeGenerated, 1d) ```
This query is designed to create a visualization that displays the different authentication methods used over a specified period, which is set to the last 30 days by default. Here's a simple breakdown of what the query does:
Data Source: It uses the SigninLogs table, which contains records of sign-in activities.
Time Filter: It filters the records to include only those generated within the last 30 days (TimeFrame = 30d).
Successful Sign-ins: It further filters the data to include only successful sign-in attempts, indicated by ResultType == 0.
Aggregation: It counts the total number of successful sign-ins for each authentication method (AuthenticationProtocol) on a daily basis (bin(TimeGenerated, 1d)).
Output: The result is a summary table showing the total number of successful sign-ins for each authentication method, grouped by day.
This visualization helps in understanding which authentication methods are being used most frequently over the selected time period.

Bert-Jan Pals
Released: February 23, 2025
Tables
Keywords
Operators