← Back to articles Entra

Mastering Windows LAPS with Microsoft Entra ID & Intune: Native Cloud Architecture, Post-Auth Rotation & Incident Forensics

Local administrator accounts on Windows workstations represent one of the most critical attack vectors for lateral movement, credential dumping, and ransomware propagation. For over a decade, organizations relied on legacy Microsoft LAPS, which required schema extensions in on-premises Active Directory and an external MSI agent that failed on cloud-only workstations.

With native Windows LAPS built directly into Windows 10 and 11, Microsoft introduced a completely redesigned, cloud-native architecture natively integrated with Microsoft Entra ID and Microsoft Intune. This deep dive covers the end-to-end engineering blueprint: policy configuration, Post-Authentication Actions (PAA), RBAC access boundaries, and operational event log diagnostics.

🛡️ Intune LAPS Policy Endpoint Security Blade Complexity & Rotation Age 💻 Windows In-Box Engine LAPS CSP (No MSI Needed) Cryptographic Rotation ☁️ Entra ID Cloud Escrow Encrypted Key Storage Scoped RBAC Access 🔄 Post-Auth Actions (PAA) Auto-Reset & Logoff Grace Period (e.g. 2h) FIGURE 1: NATIVE WINDOWS CLOUD LAPS ARCHITECTURE
Figure 1: Native Windows LAPS Cloud Architecture, Policy Distribution, and Automated Post-Auth Action (PAA).

Legacy LAPS vs Modern Cloud Windows LAPS

Capability Legacy Microsoft LAPS (2015) Modern Windows Cloud LAPS (2026)
Operating System Engine External MSI Agent (AdmPwd.dll) Native In-Box OS Component (Windows 10/11)
Identity & Escrow Store Active Directory Only (Computer Object Attributes) Microsoft Entra ID & Active Directory (Hybrid)
Management Plane Group Policy Objects (GPO) Microsoft Intune Endpoint Security CSP
Post-Authentication Action ❌ Not Supported (Manual trigger) ✅ Automated Password Reset & Session Termination
Password History Retention ❌ Overwritten on each cycle ✅ Multi-Version Password History Supported
Access Auditing Domain Controller Security Event 4662 Microsoft Entra Audit Logs & Unified Audit Log

Configuring the Intune Cloud LAPS Policy

To deploy Windows LAPS in Microsoft Intune:

  1. Open Microsoft Intune Admin Center > Endpoint Security > Account Protection.
  2. Click Create Policy, select Windows 10 and later, and choose Local admin password solution (Windows LAPS).
  3. Configure the critical enterprise security parameters:
    • Backup Directory: Backup the password to Microsoft Entra ID only.
    • Password Complexity: Large letters + small letters + numbers + special characters.
    • Password Age Days: 14 days (or 30 days maximum).
    • Post Authentication Actions (PAA): Reset the password and logoff the managed account.
    • Post Authentication Reset Delay: 2 hours.
  4. Assign the policy to your primary device security groups.

Post-Authentication Action (PAA): Eliminating Credential Residue

The single greatest architectural leap in modern Windows LAPS is Post-Authentication Actions (PAA). In traditional IT support, an engineer retrieves the local administrator password to install troubleshooting software. Once the technician walks away, that password remains active for the remainder of the 30-day rotation cycle—leaving a massive window of exposure for pass-the-hash attacks.

How PAA Closes the Attack Surface When a technician logs into the local administrator account, the in-box Windows LAPS engine starts a countdown timer (e.g. 2 hours). When the grace period expires, the LAPS service forcibly logs off the technician, invalidates the Kerberos/NTLM token, generates a new cryptographic password, and escrows the updated secret to Entra ID before releasing the lock.

PowerShell LAPS Diagnostic & Event Forensics

When investigating LAPS policy compliance or key rotation on a workstation, examine the dedicated Windows Event Log channel at Microsoft-Windows-LAPS/Operational:

# ==============================================================================
# Windows Cloud LAPS Forensic & Diagnostic Script
# ==============================================================================
Write-Host ">>> [1/2] Checking Local Windows LAPS Registry & Policy State..." -ForegroundColor Cyan

$lapsReg = "HKLM:\SOFTWARE\Microsoft\Policies\LAPS"
if (Test-Path $lapsReg) {
    Get-ItemProperty -Path $lapsReg | Select-Object BackupDirectory, PasswordComplexity, PasswordAgeDays, PostAuthenticationActions, PostAuthenticationResetDelay | Format-List
} else {
    Write-Warning "No Intune LAPS policy detected in $lapsReg"
}

Write-Host ">>> [2/2] Parsing Microsoft-Windows-LAPS/Operational Event Log..." -ForegroundColor Cyan

$events = Get-WinEvent -LogName "Microsoft-Windows-LAPS/Operational" -MaxEvents 30 -ErrorAction SilentlyContinue

if ($events) {
    foreach ($e in $events) {
        $status = switch ($e.Id) {
            10001 { "✅ [10001] LAPS generated new local admin password." }
            10002 { "ℹ️ [10002] LAPS policy successfully evaluated." }
            10007 { "☁️ [10007] LAPS password successfully escrowed to Microsoft Entra ID." }
            10017 { "❌ [10017] ERROR: Failed to escrow password to Entra ID." }
            10022 { "🔄 [10022] Post-Authentication Action (PAA) triggered rotation." }
            default { "Event ID $($e.Id): $($e.Message)" }
        }
        "[$($e.TimeCreated.ToString('yyyy-MM-dd HH:mm:ss'))] $status"
    }
} else {
    Write-Host "No LAPS operational events found. Verify the device has synced with Intune." -ForegroundColor Yellow
}

Granular RBAC Delegation in Microsoft Entra ID

Never assign Global Administrator or Intune Administrator simply to allow Tier-1 service desk technicians to view LAPS passwords. Microsoft Entra ID supports granular role delegation:

Entra ID Role LAPS Password Permission Recommended Audience
Cloud Device Administrator Read & Trigger Immediate Rotation Senior Workplace Engineers & Incident Responders
Intune Administrator Read & Edit LAPS Security Policy Modern Workplace Architects
Helpdesk Administrator Read-Only (Scoped via Administrative Units) Tier-1 & Tier-2 Service Desk Agents
Global Reader ❌ Cannot view LAPS passwords (Cleartext masked) Compliance & Security Auditors

Summary & Implementation Checklist for Engineers

  1. Verify OS Baseline: Ensure all Windows 10/11 endpoints run the latest cumulative update (LAPS is in-box).
  2. Enable Entra ID LAPS: In Entra ID Admin Center, enable "Enable Azure AD Local Administrator Password Solution (LAPS)" under Device settings.
  3. Deploy Intune Account Protection Policy: Configure 14-day password age, complex character requirements, and 2-hour PAA reset.
  4. Scope Helpdesk RBAC: Use Administrative Units (AUs) so helpdesk technicians can only read passwords for devices in their geographic region.
  5. Monitor Event ID 10007: Set up Microsoft Sentinel or Log Analytics alerting on Event ID 10017 (LAPS Escrow Failure) to catch network isolation issues immediately.
💡 Engineering Field Note By enabling Post-Authentication Actions (PAA) with a 2-hour reset delay, you effectively turn every local administrator credential into a single-use, self-expiring session key. Even if an endpoint is compromised during an active maintenance window, the credential automatically self-destructs within 120 minutes.

Was this article helpful?

🎯
MSEndpoint Academy

Évaluez vos compétences Microsoft 365 & Intune (MD-102)

100% Gratuit • 5 Min

Vous appliquez ce guide en production ? Testez votre niveau technique face aux questions réelles de l'examen Microsoft 365 Certified: Endpoint Administrator (MD-102). Découvrez vos points forts et vos faiblesses immédiatement.

💡 Mini-Challenge Express Question 1 sur 10

Quel outil est obligatoire pour convertir une application Win32 (.exe) au format requis (.intunewin) pour son déploiement via Microsoft Intune ?

🔒 0€ Débité 📊 Scorecard instantanée 🤖 Explications IA
Passer le Test Diagnostic Complet (10 Questions)

🎓 Ready to go deeper?

Practice real MD-102 exam questions, get AI feedback on your weak areas, and fast-track your Intune certification.

Start Free Practice → Book a Session
Souhaiel Morhag
Souhaiel Morhag
Microsoft Endpoint & Modern Workplace Engineer

Souhaiel Morhag is a Microsoft Intune and endpoint management specialist with hands-on experience deploying and securing enterprise environments across Microsoft 365. He founded MSEndpoint.com to share practical, real-world guides for IT admins navigating Microsoft technologies — and built the MSEndpoint Academy at app.msendpoint.com/academy, a dedicated learning platform for professionals preparing for the MD-102 (Microsoft 365 Endpoint Administrator) certification. Through in-depth articles and AI-powered practice exams, Souhaiel helps IT teams move faster and certify with confidence.

Related Articles

Popular on MSEndpoint