← Back to Explore
kqlHunting
Visualization SignIn Failures due to Conditional Access Policy
This visualisation will return the failure types that occur in your tenant that are related to any conditional access failure. This can be used to deterime which failures are related to a policy and if strange activity is being performed or if a policy needs to be tuned in a specific manner.
Detection Query
SigninLogs
| where ResultDescription has "Conditional Access"
| summarize Total = count() by ResultType, ResultDescription
| render barchart with(title="Conditional Access Failures")Data Sources
SigninLogs
Platforms
azure-adazure-sentinel
Tags
azure-active-directory
Raw Content
# Visualization SignIn Failures due to Conditional Access Policy
## Query Information
#### Description
This visualisation will return the failure types that occur in your tenant that are related to any conditional access failure. This can be used to deterime which failures are related to a policy and if strange activity is being performed or if a policy needs to be tuned in a specific manner.
#### References
- https://learn.microsoft.com/en-us/azure/active-directory/develop/reference-error-codes
## Sentinel
```KQL
SigninLogs
| where ResultDescription has "Conditional Access"
| summarize Total = count() by ResultType, ResultDescription
| render barchart with(title="Conditional Access Failures")
```