Skip to content
Sponsor
3.0 preview2.3.0 stable

These docs describe the preview. Pick the version you run and every page marks what it doesn't have yet. Get the preview →
Maester 2.x docs (archived) →

Never-logged-in enabled user count should be retrievable

AD-USER-08InfoActive DirectoryUsers

Part of Active Directory · Active Directory · Users · All checks

Run this check
Invoke-Maester -TestId AD-USER-08

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
Every attribute of this check
FieldValue
Test IDAD-USER-08
SeverityInfo
SuiteActive Directory
ProductActive Directory
FeatureUsers
AreaIdentity lifecycle and hygiene
Resource typeUser
MITRE ATT&CKNone
PowerShell testTest-MtAdUserNeverLoggedInCount
ServicesActiveDirectory
PermissionsActiveDirectory:Ldap:user:ReadProperty