Maintaining the health of Microsoft Defender for Endpoint (MDE) sensors is essential to ensure continuous visibility across your virtual machines. When a sensor goes from Active to Inactive, it can create blind spots and delay threat detection. This blog shows you how to automate detection and alerting for these sensor health transitions using Kusto Query Language (KQL) and Azure Logic Apps. With this setup, your security team will receive timely alerts when sensors stop reporting, enabling faster response and stronger endpoint coverage with minimal manual effort.
Updated Nov 09, 2025
Version 2.0