Windows LAPS in Microsoft Entra

Many organisations use the same local administrator password on every device. If that one password leaks, an attacker can sign in to all of them. Windows LAPS (Local Administrator Password Solution) fixes that: every device gets a unique, strong password that rotates automatically and is stored securely in Microsoft Entra ID. This article shows how to enable it with Entra and Intune, and how to retrieve a password.

What do you need?

Step 1: enable LAPS in Entra

  1. Go to entra.microsoft.com > Devices > All devices > Device settings.
  2. Set Enable Microsoft Entra Local Administrator Password Solution (LAPS) to Yes.
  3. Select Save.
Enabling LAPS in Microsoft Entra device settings

Step 2: create a policy in Intune

  1. Go to intune.microsoft.com > Endpoint security > Account protection > Create policy.
  2. Choose platform Windows and profile Local admin password solution (Windows LAPS).
  3. Set Backup directory to Backup the password to Microsoft Entra ID only.
  4. Choose the password age (for example 30 days), length and complexity.
  5. Configure post-authentication actions: after use, the password rotates automatically and the session can be signed out.
  6. Assign the policy to a device group and save.
Creating a Windows LAPS policy in Microsoft Intune

Step 3: retrieve the password

Only roles such as Cloud Device Administrator, Intune Administrator or a custom role with read access to local credentials can see the password. Every view is recorded in the audit logs. See admin roles in Microsoft 365.

Viewing the local administrator password in Microsoft Entra

Rotate the password right away

Used the password or shared it with a colleague? In Intune, choose Rotate local admin password on the device. The device creates a new password at its next sync.

Setting up new devices? Combine LAPS with Windows Autopilot and security defaults in Entra ID.

Read also

Windows Autopilot: what it is and how to set it up in 4 steps
Security defaults in Microsoft Entra ID: what they do and how to enable them
Install the Intune Company Portal automatically on all computers

Nederlandstalige versie: Zo activeer en gebruik je Windows LAPS met Microsoft Entra ID


More in English