Windows LAPS on Entra-Joined Devices: The Join State, Recovery, and Permission Dependencies That Define the Design

Share
Windows LAPS on Entra-Joined Devices: The Join State, Recovery, and Permission Dependencies That Define the Design
Modern Endpoint · Security Insights

Windows LAPS on Entra-Joined Devices: The Join State, Recovery, and Permission Dependencies That Define the Design

Consider an organization that has fully migrated its endpoint fleet to Entra-joined Windows 11 devices, enabled Windows LAPS through Intune, and declared the local administrator password problem solved. Six months later, the helpdesk is recovering passwords using a shared Cloud Device Administrator account, Conditional Access has never been applied to that role, and the first time a device was deleted during offboarding, nobody noticed the credential was gone with it. The control is deployed. The governance model is not.

19 min read ArticleModernEndpoint

That gap is what this article is about.

Windows LAPS is architecturally simple to describe: it rotates the local administrator password on each device and backs it up to a directory. The Microsoft documentation attaches join-state restrictions, RBAC requirements, Conditional Access constraints, device lifecycle dependencies, and a hard deprecation of the legacy product. Each of those attachments represents a design decision. Make the decisions well, and Windows LAPS is a reliable lateral movement control. Leave them to chance, and the control exists on paper while the risk continues in practice.

🔍 The Security Problem Windows LAPS Is Actually Solving

Local administrator accounts are not inherently dangerous. What makes them dangerous is a pattern that is endemic to enterprise endpoint management: shared passwords across a large device population.

When a local administrator account carries the same password on hundreds or thousands of devices, compromising one device yields credentials that work everywhere else. This is lateral movement through Pass-the-Hash (PtH), an attack that Windows LAPS is documented to mitigate. An attacker who extracts the NTLM hash of the local administrator password from a single compromised endpoint can authenticate to every other device in scope without ever knowing the plaintext password. The attack does not require elevated privilege escalation on each target; the credential itself is the escalation.

The scale of this risk correlates directly with the uniformity of the password. Organizations that image devices with a standard local admin password and never rotate it are effectively operating a skeleton key. The credential does not expire. And because local accounts authenticate to the device directly rather than through Entra ID, they fall outside the Conditional Access and MFA enforcement model — which means every cloud identity control the organization has layered on its user sign-in path does not apply to local administrator authentication.

A shared local admin password is not a single credential. It is as many credentials as there are devices, and they are all the same key.

Windows LAPS addresses this by making each device's local administrator password unique, time-bounded, and centrally backed up. Recovery is controlled, logged, and role-governed. The password on Device A tells an attacker nothing about Device B. That is the architectural intent.

What it does not do is close every lateral movement path, replace a broader privileged access strategy, or manage any account it has not been explicitly told to manage. Those boundaries matter, and they are addressed later.

🧩 What Windows LAPS Does (and What It Does Not Touch)

Windows LAPS automatically manages and backs up the password of a local administrator account on Entra-joined or Active Directory-joined Windows devices. On Active Directory domain controllers, it can also manage the Directory Services Restore Mode (DSRM) account password. (Microsoft Learn)

The control is scoped precisely. Windows LAPS manages one local administrator account per device at a time. It rotates that account's password on a schedule defined by policy. It stores the result in the configured directory, either Microsoft Entra ID or Windows Server Active Directory. Authorized administrators retrieve the password through the directory when they need access to the device.

That is the full scope of what the feature directly controls.

It does not manage service accounts. It does not manage domain accounts. It does not manage multiple local administrator accounts simultaneously. It does not affect how other privileged accounts on the device are governed. And it does not prevent an attacker who already has local administrator access from reading the LAPS-managed password from memory before rotation occurs.

What This Doesn't Solve

Windows LAPS does not resolve lateral movement risk that originates from domain accounts, service accounts, or local accounts it has not been assigned to manage. Organizations that treat LAPS enablement as a complete lateral movement remediation have misunderstood the scope of the control.

🏗️ Join State Is the First Architecture Decision

Before any policy is written, the join state of the device determines what backup options are even available. This is not a configuration preference — it is a hard architectural constraint enforced by the feature.

🏗 Windows LAPS — Join State to Backup Target Routing
☁️
Entra-Joined Only
Devices joined exclusively to Microsoft Entra ID. Backup target is Entra ID only. Active Directory backup is not available, regardless of policy configuration.
Backup → Entra IDRecovery via Entra portal / Graph API
↓
🏢
AD-Joined Only
Devices joined exclusively to Windows Server Active Directory. Backup target is Active Directory only. Entra ID backup is not available.
Backup → Active DirectoryRecovery via AD tooling
↓
🔀
Hybrid-Joined (Entra + AD)
Devices joined to both. Policy can target either Entra ID or Active Directory — but not both simultaneously. This is a design choice, not a default. The choice determines recovery tooling, RBAC model, and audit pipeline.
Backup → Entra ID (policy choice)Backup → Active Directory (policy choice)Not both simultaneously
↓
🚫
Entra Registered (Workplace-Joined)
BYOD and workplace-registered devices. Windows LAPS is explicitly not supported. These devices appear to be Entra-connected but fall outside the feature boundary entirely.
Not supportedNo backup path available

The constraint that matters most operationally is the last row: Entra registered devices are not supported. (Microsoft Learn) In organizations with active BYOD programs or conditional enrollment, these devices appear in Entra ID device inventory but receive no LAPS coverage. Assuming uniform coverage across all Entra-visible devices is a reliable way to leave the highest-risk devices unmanaged.

The hybrid-joined row carries a different kind of risk. The choice between Entra ID and Active Directory as the backup target is a policy decision, not a technical one. Teams that default to Active Directory out of familiarity are making a consequential choice: they inherit the AD recovery model (tooling, RBAC, audit), not the Entra model. Changing the backup target later means changing policy, so it is worth deciding deliberately at the start.

Architect Note

An inventory step belongs before LAPS policy deployment, not after. An organization needs to know the join-state distribution of its device population before it can reason about coverage. Devices that are Entra-registered but not Entra-joined will not receive backup coverage and will not appear in the LAPS enumeration view. That is not a misconfiguration — it is a feature boundary.

📊 Licensing: What Is Covered and Where the Ceiling Starts

The licensing story for Windows LAPS is simpler than most Microsoft security features — until custom roles or Conditional Access enter the design.

CapabilityLicense Required
Windows LAPS feature (built into OS)No separate license — available at no cost on all supported Windows platforms
Back up passwords to Active DirectoryNo additional licensing requirement
Back up passwords to Microsoft Entra IDMicrosoft Entra ID Free or higher
Custom RBAC roles for scoped recovery accessMicrosoft Entra ID P1 or P2
Administrative units for scoped role assignmentSeparate requirement (see Entra ID documentation for AU licensing)
Conditional Access policies (protecting recovery roles)Separate Conditional Access licensing requirement
Microsoft Intune for MDM-based policy deploymentSeparate Intune licensing requirement

Source: Microsoft Learn — What is Windows LAPS?; Microsoft Learn — Windows LAPS in Microsoft Entra ID

Note

The base LAPS capability with Entra ID Free is real. However, most enterprise governance requirements for scoped recovery access, Conditional Access protection of the recovery action, and administrative unit delegation each carry their own licensing dependencies. A design that relies on any of those controls needs the corresponding licenses before deployment, not as a future add-on.

🔐 Recovery Authorization: RBAC Design Before Anyone Needs a Password

The moment LAPS is enabled, the question of who can read passwords is live. The answer is defined by RBAC, and the design of that RBAC model has security consequences that compound over time.

The source documentation distinguishes two separate permissions:

  • microsoft.directory/deviceLocalCredentials/password/read — reads the actual password
  • microsoft.directory/deviceLocalCredentials/standard/read — reads metadata only (device name, last rotation, next rotation)

These are not equivalent. Granting metadata access to a broad audience is reasonable; granting password read access is a privileged action that should be tightly controlled.

Role / MethodPassword ReadMetadata ReadCA scoping (built-in roles only)Notes
Cloud Device Administrator (built-in)✅ Yes✅ YesBuilt-in roleBroad built-in role; grants full password read to all devices
Intune Service Administrator (built-in)✅ Yes✅ YesBuilt-in roleSame scope as Cloud Device Administrator for LAPS purposes
Helpdesk Administrator (built-in)❌ No✅ YesBuilt-in roleMetadata only; cannot retrieve the password
Security Administrator (built-in)❌ No✅ YesBuilt-in roleMetadata only
Security Reader (built-in)❌ No✅ YesBuilt-in roleRead-only; metadata only
Custom Role (P1/P2 required)✅ If permission assigned✅ If permission assigned❌ Not supportedScoped delegation is possible; CA does not apply
Administrative Unit-scoped role✅ If Cloud Device Admin scoped to AU✅ Yes❌ Not supportedDevice-scope delegation without CA protection

Source: Microsoft Learn — Windows LAPS in Microsoft Entra ID

🔍 Reality Check
Assumption: Cloud Device Administrator is a suitable role to assign to helpdesk teams for device management tasks in Entra ID.
↓
Documented behavior: Cloud Device Administrator can read LAPS passwords for every device in the tenant. Assigning the role broadly gives every member of it the ability to retrieve the local administrator password of any Entra-joined device.

The architectural consequence: RBAC design for LAPS should happen before LAPS is enabled, not after the first helpdesk ticket arrives. Once the feature is active and credentials are backed up, every holder of Cloud Device Administrator has read access to those credentials. Role assignments that were made for other device management purposes become LAPS recovery permissions automatically.

If I were designing this today, I would avoid assigning Cloud Device Administrator broadly for helpdesk functions unless LAPS password access for that entire team is an explicit, reviewed decision. The correct architecture is either scoped custom roles (accepting the P1/P2 dependency) or a dedicated, tightly governed recovery identity for password retrieval — separate from the roles used for day-to-day device management.

⚠️ Conditional Access for Recovery: Protecting the Recovery Action Itself

Conditional Access for LAPS recovery sounds straightforward: require MFA before anyone can retrieve a local administrator password. The documentation confirms this is possible and describes requiring MFA for administrators as an applicable pattern. (Microsoft Learn — Windows LAPS in Microsoft Entra ID)

The constraint that changes the design is this: Conditional Access policies for LAPS recovery can be scoped to built-in roles only. Custom roles and administrative unit-scoped roles are explicitly not supported.

This creates a hard trade-off between delegation flexibility and access protection.

An organization that uses a custom role to scope LAPS password recovery to a specific helpdesk tier gets precise delegation. It does not get Conditional Access enforcement on that recovery action. The CA layer simply does not apply. An organization that uses a built-in role like Cloud Device Administrator gets CA enforcement, but inherits the full breadth of that role's permissions across the tenant.

Security Consideration

Organizations that delegate LAPS password recovery through custom roles or administrative unit-scoped assignments lose the Conditional Access enforcement layer entirely. This is a governance gap that is easy to miss because the CA policy may appear correctly configured — it is; it just does not apply to those role types. Internal runbooks should document this boundary explicitly.

🎯 Enterprise Decision Point
Before choosing between built-in roles and custom roles for LAPS recovery delegation, decide which constraint is more acceptable: broad built-in role scope with full Conditional Access protection, or scoped custom role delegation without Conditional Access enforcement. There is no configuration that currently delivers both for the same recovery action. The documentation does not state whether this limitation will change.

🚨 Device Deletion Destroys the Credential — Permanently

This behavior deserves explicit attention in the offboarding runbook: when a device object is deleted from Entra ID, the LAPS credential stored for that device is lost with it. There is no recovery path from within Entra ID.

The documentation is explicit: "When a device is deleted in Microsoft Entra ID, the LAPS credential that was tied to that device is lost, and the password that is stored in Microsoft Entra ID is lost. Unless you have a custom workflow to retrieve LAPS passwords and store them externally, there's no method in Microsoft Entra ID to recover the LAPS managed password for a deleted device." (Microsoft Learn — Windows LAPS in Microsoft Entra ID)

Danger

A device deletion during an offboarding or decommissioning workflow permanently destroys the LAPS credential for that device. If the physical device has not yet been wiped, or if local access is needed for hardware recovery, the password is gone. There is no Entra-side retrieval path after deletion. Any external storage workflow must exist before deletion occurs, not as a response to the situation.

Consider an enterprise offboarding process that deletes the Entra device object as the first step, because deregistration is treated as the logical start of decommissioning. If the device has not yet been physically returned, or if IT needs local access to the machine before wipe, the credential has already been destroyed.

The operational fix is sequencing: password retrieval (if needed) before device deletion, not after. That requires the offboarding runbook to treat the LAPS credential as a device asset that must be handled before the device record is removed, not as a side effect that disappears cleanly.

🧩 Account Policy Decisions: What Gets Managed and What Gets Forgotten

Windows LAPS manages one local administrator account per device at a time. That constraint has an operational consequence that is easy to overlook during a naming convention change or account restructuring.

When the account name defined in LAPS policy changes, the original account is no longer managed. If the new account is configured for backup, the new account's credentials appear in the directory. The previous account's details are no longer available from within the Intune admin center or from the configured directory. (Microsoft Learn — Windows LAPS in Microsoft Entra ID)

That previous account does not disappear from the device. It continues to exist locally, with whatever password it last had — but that password is no longer tracked, rotated, or backed up. The account has effectively dropped out of the governance model while remaining present on the endpoint.

Architect Note

An operational trap to plan for: an organization updates its local administrator account naming convention and pushes the new LAPS policy. All devices begin backing up the new account. The old account persists on every device with a static, unrotated password that is no longer visible in any directory. Teams that validate LAPS by confirming the new account appears in recovery view have confirmed forward coverage, not that the prior account is neutralized.

The mitigation is straightforward: when changing the managed account name, include a step that disables or removes the previous local administrator account from devices. That step is a separate action from the LAPS policy change and needs to be sequenced deliberately.

📋 Audit Coverage: What Is Logged and Who Sees It

Windows LAPS with Entra ID generates audit log entries for two events: password update (when the device rotates and backs up a new credential) and password recovery (when an authorized administrator retrieves the password through the portal or API).

Both events are accessible through the Entra admin center at Entra ID > Devices > Overview > Audit logs, filtered by activity type. The documentation confirms the specific activity filter values: "Update device local administrator password" and "Recover device local administrator password." (Microsoft Learn — Windows LAPS in Microsoft Entra ID)

Recovery events are audited regardless of whether the recovery is performed through the portal or the Microsoft Graph API. This matters because API-based retrieval, which is available to any caller with the appropriate Graph permissions, generates the same audit footprint as portal-based recovery. An automation script that retrieves LAPS passwords programmatically is visible in the same audit log.

The source documentation does not describe retention periods for these audit events, alert integration with Microsoft Sentinel, or whether the audit log surface is identical across Azure Government and Microsoft Azure operated by 21Vianet. Those details require review of the broader Entra ID audit documentation.

What the documentation does establish: audit coverage for LAPS recovery events exists and is structured. Any SOC or governance function that needs visibility into who retrieved which device's local administrator password has a log surface to query.

⚖️ Windows LAPS vs. Legacy Microsoft LAPS: The Decision to Migrate

The legacy Microsoft LAPS product was released in 2016 and shipped as a separate MSI installation. Windows LAPS shipped as part of Windows Updates released April 11, 2023, and is native to the OS. (Microsoft Learn)

The deprecation position is clear: legacy Microsoft LAPS is deprecated as of Windows 11 23H2 and later. Newer OS versions block installation of the legacy MSI. Microsoft no longer considers code changes for the legacy product.

DimensionLegacy Microsoft LAPSWindows LAPS
Deployment modelSeparate MSI installation requiredNative to OS; no installation required
Backup targetWindows Server Active Directory onlyEntra ID or Active Directory (join-state dependent)
Password encryption in ADNot supportedSupported
Password historyNot supportedSupported
Entra ID supportNot supportedSupported (Entra-joined and hybrid-joined)
MDM/Intune policy supportNot availableAvailable via Intune CSP
Group Policy supportYesYes (hybrid-joined devices)
Legacy emulation modeN/AAvailable during migration
OS support (new installs)Blocked on Windows 11 23H2+Supported on Windows Server 2019+, Windows 10 20H2+, Windows 11 (requires April 11, 2023 Update or later on each platform)
Active developmentNo (deprecated)Yes
Migration pathN/ALegacy emulation mode available; see Microsoft migration documentation

Source: Microsoft Learn — What is Windows LAPS?

The migration decision is not really a decision for organizations on Windows 11 23H2 or later: the installer is blocked. For organizations with older OS versions still running legacy LAPS, migration planning should begin now. Microsoft will support legacy LAPS on those older versions only through the normal end-of-support lifecycle for each OS version.

⚡ Assumption Challenge
Assumption: "Legacy LAPS and Windows LAPS are roughly equivalent, and Windows LAPS is a newer version of the same product."
Documented behavior: Windows LAPS is a separate implementation that is native to the OS. It supports Entra ID backup, password encryption in Active Directory, password history, and MDM policy, none of which legacy LAPS supports. The two products are not interchangeable, so migration needs explicit planning.

🚫 What This Control Does Not Solve

Windows LAPS is a credential rotation and backup control for a single local administrator account. That is a precise, valuable thing. It is also a narrow thing, and the boundaries deserve explicit treatment.

LAPS does not protect accounts it does not manage. Other local administrator accounts on the same device, including accounts created by imaging processes, software deployments, or previous naming conventions, remain outside LAPS governance. Their passwords are not rotated, not backed up, and not visible in any directory.

LAPS does not enforce least privilege on the managed account. The account Windows LAPS manages still has full local administrator rights. LAPS makes that account's password unique and time-bounded; it does not constrain what the account can do while it is in use.

LAPS does not protect against an attacker who has already obtained the password before rotation. If a credential is read from memory or extracted by a threat actor, rotation on the next scheduled cycle removes the exposure — but only going forward.

LAPS does not apply to Entra registered devices. This is not a configuration gap; it is a documented feature boundary. Organizations with mixed endpoint populations need to account for this when mapping LAPS coverage.

LAPS does not replace a privileged access workstation strategy or a broader just-in-time access model. It is one layer in a privileged access architecture, not the architecture itself.

🎯 Final Architect Recommendation

Windows LAPS on Entra-joined devices is a control worth deploying. The lateral movement risk it addresses is real, the licensing cost at the base tier is minimal, and the OS-native implementation removes the friction that made legacy LAPS adoption inconsistent. My recommendation is to deploy it — but to sequence the surrounding governance model before the feature goes live, not as a follow-up task.

Here is how I would sequence that:

1. Run the inventory first. Before policy reaches devices, know the join-state distribution of the fleet. Entra-registered devices will not receive LAPS coverage. Hybrid-joined devices require a deliberate choice of backup target, and that choice has downstream consequences for recovery tooling, RBAC, and audit. Deploy without this inventory and coverage gaps will be invisible.

2. Design the RBAC model before enabling the feature. The moment LAPS is active, every holder of Cloud Device Administrator has read access to every backed-up local administrator password in the tenant. Review current role assignments. If Cloud Device Administrator is broadly assigned for helpdesk device management, that is now a LAPS password read assignment for that entire group. Decide whether that is intentional. If scoped delegation is needed, design the custom role model and accept the Conditional Access trade-off that comes with it.

3. Resolve the Conditional Access gap explicitly. If recovery access is delegated through custom roles or administrative unit-scoped assignments, document in the governance model that CA enforcement does not apply to those recovery paths. Do not assume CA protects all recovery actions because CA is configured for built-in roles. The gap is real and should appear in the security control documentation, not discovered during an audit.

4. Update the device offboarding runbook before deletion workflows run. The LAPS credential is gone the moment the device record is deleted. Any process that deletes device objects without first retrieving the credential, or confirming it is not needed, creates an irrecoverable state. Fix the sequence in the runbook; it is a one-line addition that prevents a permanent loss.

5. Account for the single-managed-account constraint during policy changes. If the managed account name ever changes, the prior account persists on devices with an unrotated, untracked password. Explicitly disable or remove the prior account as part of any account rename or naming convention change. This is not automatic.

6. For organizations still on legacy LAPS, begin migration planning now. On Windows 11 23H2 and later, the legacy installer is blocked. On older OS versions, support ends at normal OS end-of-life. Windows LAPS offers emulation mode to ease the transition, but that mode is a bridge, not a destination. Migration guidance lives in the Migrate to Windows LAPS from legacy LAPS documentation.

LAPS governance is not configured in the feature settings. It is configured in the RBAC model, the device lifecycle runbooks, and the Conditional Access design that existed before the feature was turned on.

Before trusting this control at scale, validate four things:

  • Devices appear in the local administrator password recovery enumeration view.
  • Audit log entries are generated after a deliberate recovery test.
  • The Conditional Access policy applies to the Cloud Device Administrator role.
  • A test device deletion does not silently strand an unwiped physical asset.

If all four pass, the control is operational. If any fail, the governance model is not yet complete.

Read more

Conditional Access Authentication Strengths: What the Policy Accepts and Where the Guarantees End

Conditional Access Authentication Strengths: What the Policy Accepts and Where the Guarantees End

Modern Endpoint · Security Insights Conditional Access Authentication Strengths: What the Policy Accepts and Where the Guarantees End MSMenahem SuissaMicrosoft MVP · AI Workforce & Security Tech Lead 16 min read ArticleModernEndpoint Contents 10 sections · 16 min read 🎯 The Design Question Conditional Access Authentication Strengths Actually Answer 🏗️ Where Authentication Strengths Fit in

By menahem suissa, Microsoft MVP