Device EDR settings are not compliant
Device EDR Configuration Not Compliant
Query
DeviceTvmSecureConfigurationAssessment
| join kind=inner DeviceTvmSecureConfigurationAssessmentKB on ConfigurationId
| where IsCompliant == 0 and IsApplicable == 1
| where ConfigurationSubcategory == "EDR"About this query
Device EDR settings are not compliant
Defender XDR
Explanation
This query is designed to identify devices that are not compliant with specific Endpoint Detection and Response (EDR) security settings. Here's a simple breakdown of what it does:
-
Data Source: It starts by using data from two tables:
DeviceTvmSecureConfigurationAssessmentandDeviceTvmSecureConfigurationAssessmentKB. -
Joining Tables: It combines these two tables based on a common field called
ConfigurationId. This means it matches records from both tables that have the sameConfigurationId. -
Filtering Non-Compliant Devices:
- It filters the results to include only those devices where the
IsCompliantfield is equal to 0, indicating that these devices are not compliant with the required security settings. - It also checks that the
IsApplicablefield is equal to 1, meaning the security setting is relevant and should be applied to these devices.
- It filters the results to include only those devices where the
-
Focusing on EDR Settings: Finally, it narrows down the results to focus specifically on settings related to the "EDR" (Endpoint Detection and Response) category.
In summary, this query identifies devices that should have certain EDR security settings applied but currently do not comply with those settings.
Details

Bert-Jan Pals
Released: January 18, 2026
Tables
Keywords
Operators