Skip to content

AD-USER-08: Never-logged-in enabled user count should be retrievable

ID AD-USER-08
Severity Info
Suite Active Directory (on-premises)
Product Active Directory
Feature Users
Security area Identity lifecycle and hygiene
Resource type User
Reads from On-premises Active Directory

Enabled accounts that have never logged on may indicate incomplete provisioning, abandoned onboarding, or unnecessary standing access. These objects should be reviewed to ensure they still have a valid business purpose.

Detective

Investigate enabled accounts with no recorded logon activity. Disable or remove unused accounts and make sure future provisioning workflows include validation and cleanup steps.

This test retrieves Active Directory user data from Get-MtADDomainState, filters to enabled users, and counts accounts where LastLogonDate is null.

  • Test-MtAdUserDormantEnabledCount
  • Test-MtAdUserDisabledCount
  • Test-MtAdUserPasswordNeverExpiresCount

Mito check. Author: soulemike. Open-source licences.

Open-source licences. CIS Benchmark material © Center for Internet Security, Inc.; CISA SCuBA baselines are public domain (CC0).

© 2026 Virtual Petals. Mito is a Virtual Petals service, hosted in Microsoft Azure UAE North.