Login Last Access - SQL01

Created: 2026-07-19 09:25:00
Source: www.powershelldba.de | sqmSQLTool v1.9.103.0
Illustrative example, login names below are representative placeholders rather than this lab's actual accounts. Values below are representative, not measured output.
LoginTypeDisabledLast AccessDays SinceSourceConfidenceActive SessionsNote
app_svcSQL_LOGINNo2026-07-19 08:410LiveExact3
etl_svcSQL_LOGINNo2026-07-19 03:000ErrorLogExact0
CONTOSO\dba_teamWINDOWS_GROUPNo--NoneUnknown0Windows group login - members connect with their own AD account, not this group's identity.
report_roSQL_LOGINNo2026-06-02 07:1547ErrorLogExact0
legacy_appSQL_LOGINNo--NoneUnknown0No session and no ErrorLog entry found in the retained window - default AuditLevel only records failed logins.
old_migration_svcSQL_LOGINYes2025-11-08 14:02254ErrorLogExact0Login disabled - retained for audit history.

SQL Server does not persist a true "last login" timestamp - this combines live sessions (sys.dm_exec_sessions) with successful-login entries still present in the SQL Server error log.