Skip to main content
Print

Defender not excluded

Performance Store checks, if the correct exclusions are set according to: Configure antivirus software to work with SQL Server – SQL Server | Microsoft Learn
If the Microsoft Defender exclusions are not set up correctly, this alert will be thrown.

To query the Performance Store database for servers where Microsoft Defender exclusions are not in place, use:

select *
from dbo.v_defender_exclusions

The alert will be visible on the Servers dashboard.

The exact reason why the Defender exclusions are not in place can be seen in the “defender_status” column:

To exclude specific servers from this alert, see how to use the dbo.team_alert_exclude table in Alerting.

Table of Contents