Griffin31
HEBook a demo
HE
Blog

Defender for Identity - Remove Inactive Service Accounts (Preview)

30 August 2025

Microsoft news

Defender for Identity - Remove Inactive Service Accounts (Preview)A new feature has been released: Defender for Identity can now automatically remove inactive service accounts from its service account management. This helps reduce attack surface and prevent stale accounts from being abused. We’ll dive deeper into the details below. Microsoft Defender for Identity (not to be confused with Entra ID Identity Protection) is a cloud-based security solution that leverages on-premises Active Directory signals to detect advanced threats. The product installs lightweight sensors directly on domain controllers and Active Directory Federation Services (AD FS) servers. From there, it continuously monitors activity and reports to the Defender for Identity cloud service. TL;DR:

Key architectural points:

Before discuss the new feature, a bit of Defender for Identity Architecture:

From an architectural standpoint, Defender for Identity is deployed using sensors installed directly on domain controllers and AD FS servers. These sensors capture and analyze network traffic such as Kerberos authentication, NTLM traffic, and replication events. The collected data is securely forwarded to the Defender for Identity cloud service, where it is processed and enriched with advanced detection algorithms. This design ensures that all identity-related activity within Active Directory is visible, without requiring additional mirroring or complex infrastructure. The cloud component provides a centralized management console for alerts, investigations, and integration into Microsoft 365 Defender, allowing security teams to correlate identity signals with endpoint, email, and cloud activity.

Deep Dive into Remove Inactive Service Accounts (Preview)

The newly released feature focuses on automatically removing inactive service accounts configured for Defender forIdentity. Traditionally, organizations maintained these accounts for specific integrations, but inactive or unused accounts posed a significant security risk if left unattended. Attackers often target dormant accounts, since they may retain privileges but go unnoticed in routine monitoring.

By automatically identifying and removing these inactive accounts, Defender for Identity reduces exposure while simplifying account hygiene.

The motivation behind this change is:

Others Risks and Threats Covered by MDI:

Defender for Identity does not just monitor authentication events — it provides broad security assessments and detection capabilities across multiple attack vectors. The platform helps identify misconfigurations, risky behaviors, and ongoing attack techniques. It continuously evaluates:

In addition, the security assessment feature provides visibility into the overall identity posture of the organization. This includes identifying weak protocols (e.g., NTLM usage), exposed accounts with unconstrained delegation, and administrative accounts with excessive permissions. By covering these categories, Defender for Identity not only detects active threats but also proactively highlights weaknesses that adversaries could exploit.

Resources:

https://learn.microsoft.com/en-us/defender-for-identity/remove-inactive-service-account

https://learn.microsoft.com/en-us/defender-for-identity/architecture

Want to know where your tenant stands? Griffin31 checks your Microsoft 365 security settings continuously and shows you what to fix first.