authentication-diagnostics
Installation
SKILL.md
Authentication Diagnostics
Purpose
Use this skill when the user reports login failures, permission errors, authentication mismatches, or needs to audit the security configuration of a SQL instance. This skill provides a comprehensive diagnostic workflow covering:
- Platform detection and version validation
- Server login existence and status (disabled, locked, expired)
- Password policy and credential health
- Authentication mode (Mixed vs Windows-only)
- Database user mapping and orphan detection
- Permission audit (explicit DENY, role membership, effective permissions)
- Entra ID (Azure AD) and managed identity principal validation
- Default database accessibility
- Active session authentication scheme detection (Kerberos / NTLM / SQL)
- Login failure analysis from the error log