IntuneDeep dive

Windows LAPS event IDs and errors: Entra ID and AD backup, policy and password rotation

The Windows LAPS Operational events Microsoft documents: policy cycle, Entra ID and Active Directory backup failures, password updates and post-authentication actions, with fixes.

Windows LAPS writes every policy cycle, password change and backup attempt to its own event log, using IDs in the 10000 range. This quick reference lists the events Microsoft documents for Microsoft Entra ID and Active Directory backup, policy processing and post-authentication actions, each with the usual cause and the first thing to check.

Codes in this quick reference

  • Event 10003: LAPS policy processing is now startingEvent Viewer (LAPS Operational)
  • Event 10004: LAPS policy processing succeededEvent Viewer (LAPS Operational)
  • Event 10005: LAPS policy processing failed with the error code below (for example 80070032)Event Viewer (LAPS Operational)
  • Event 10021: current LAPS policy, backup directory Active DirectoryEvent Viewer (LAPS Operational)
  • Event 10022: current LAPS policy, backup directory Azure AD (Microsoft Entra ID)Event Viewer (LAPS Operational)
  • Event 10023: current LAPS policy comes from a legacy Microsoft LAPS policyEvent Viewer (LAPS Operational)
  • Event 10013: LAPS failed to find the currently configured local administrator accountEvent Viewer (LAPS Operational)
  • Event 10019: LAPS failed to update the local admin account with the new passwordEvent Viewer (LAPS Operational)

+ 26 more codes in the tables below.

How this guide is organized: How to read these events → Policy cycle and configuration events → Managed account and password events → Microsoft Entra ID backup events → Active Directory backup events → Post-authentication action events → How to verify a fixFlow diagram of the article's sections in reading order: 1. How to read these events. 2. Policy cycle and configuration events. 3. Managed account and password events. 4. Microsoft Entra ID backup events. 5. Active Directory backup events. 6. Post-authentication action events. 7. How to verify a fix. Toolbox: 0x80070032, Event ID 10065, Invoke-LapsPolicyProcessing, Reset-LapsPassword, dsregcmd /status.1How to read theseevents2Policy cycle andconfiguration events3Managed accountand password events4Microsoft Entra IDbackup events5Active Directorybackup events6Post-authenticationaction events7How to verify a fixTOOLBOX0x80070032Event ID 10065Invoke-LapsPolicyProcessingReset-LapsPassworddsregcmd /statusHow this guide is organized: How to read these events → Policy cycle and configuration events → Managed account and password events → Microsoft Entra ID backup events → Active Directory backup events → Post-authentication action events → How to verify a fixFlow diagram of the article's sections in reading order: 1. How to read these events. 2. Policy cycle and configuration events. 3. Managed account and password events. 4. Microsoft Entra ID backup events. 5. Active Directory backup events. 6. Post-authentication action events. 7. How to verify a fix. Toolbox: 0x80070032, Event ID 10065, Invoke-LapsPolicyProcessing, Reset-LapsPassword, dsregcmd /status.1How to read these events2Policy cycle and configuration events3Managed account and password events4Microsoft Entra ID backup events5Active Directory backup events6Post-authentication action events7How to verify a fixTOOLBOX0x80070032Event ID 10065Invoke-LapsPolicyProcessingReset-LapsPassworddsregcmd /status
At a glance: how this guide is organized · 7 sections · 5 key settings and tools

How to read these events#

How to triage a failed Windows LAPS policy cycleDid the cycle that started with 10003 end with 10005 instead of 10004? if No, 10004: The cycle succeeded (No update events appear if the password wasn't due for rotation); if Yes, 10005: Which events sit between 10003 and 10005? if Account, password: Fix the managed account or password policy (10013: account not found; 10027: length or complexity conflicts with policy); if Entra ID backup: Check the tenant setting and device state (Tenant setting first for 10026, 10028, 10032, 10059; proxy for 10025); if AD backup: Check DCs, schema and permissions (Functional level, writable DC, LDAP bind, schema and OU self-permission)Did the cycle that started with10003 end with 10005 insteadof 10004?OKThe cycle succeededNo update events appear ifthe password wasn't duefor rotationNo, 10004Which events sit between10003 and 10005?FIXFix the managedaccount or passwordpolicy10013: account not found;10027: length or complexityconflicts with policyAccount, passwordFIXCheck the tenantsetting and devicestateTenant setting first for10026, 10028, 10032,10059; proxy for 10025Entra ID backupFIXCheck DCs, schema andpermissionsFunctional level, writableDC, LDAP bind, schema andOU self-permissionAD backupYes, 10005How to triage a failed Windows LAPS policy cycleDid the cycle that started with 10003 end with 10005 instead of 10004? if No, 10004: The cycle succeeded (No update events appear if the password wasn't due for rotation); if Yes, 10005: Which events sit between 10003 and 10005? if Account, password: Fix the managed account or password policy (10013: account not found; 10027: length or complexity conflicts with policy); if Entra ID backup: Check the tenant setting and device state (Tenant setting first for 10026, 10028, 10032, 10059; proxy for 10025); if AD backup: Check DCs, schema and permissions (Functional level, writable DC, LDAP bind, schema and OU self-permission)Did the cycle that started with 10003 end with10005 instead of 10004?No, 10004OKThe cycle succeededNo update events appear if the password wasn't duefor rotationYes, 10005Which events sit between 10003 and10005?Account, passwordFIXFix the managed account or passwordpolicy10013: account not found; 10027: length orcomplexity conflicts with policyEntra ID backupFIXCheck the tenant setting and devicestateTenant setting first for 10026, 10028, 10032,10059; proxy for 10025AD backupFIXCheck DCs, schema and permissionsFunctional level, writable DC, LDAP bind, schemaand OU self-permission
Figure 1 · Decision tree How to triage a failed Windows LAPS policy cycle. Find the latest cycle in the LAPS Operational log, then answer the questions to see which event family applies and what to check first.

Open Event Viewer › Applications and Services Logs › Microsoft › Windows › LAPS › Operational. Windows LAPS processes its policy every hour, and each background cycle is bracketed: it starts with 10003 and ends with 10004 (success) or 10005 (failure). The events in between say what went wrong, so read a failed cycle from its 10003 onward instead of looking at 10005 alone.

  • Scenario matters. Some events only occur when the device backs up to Active Directory (AD), some only for Microsoft Entra ID, and some in both. The tables mark the scenario Microsoft assigns.
  • Error codes are HRESULTs. A 10005 or 10043 event can carry a code such as 80070032, which is Win32 error 50, "The request is not supported". Decode any code with certutil -error 0x80070032.
  • Old names in event text. Windows still prints "Azure" and "Azure Active Directory" in these messages; the target is Microsoft Entra ID, so search for both names.
  • Domain controllers are different. On a DC, the LAPS log only records management of the DSRM account, never the client behavior described here.
  • Not every ID is documented. Microsoft publishes the most common events; read any other ID in the context of its cycle.

To run a cycle now and read it in order, use an elevated PowerShell window:

PowerShell
Invoke-LapsPolicyProcessing
Get-WinEvent -LogName 'Microsoft-Windows-LAPS/Operational' -MaxEvents 25 |
    Sort-Object TimeCreated |
    Format-Table TimeCreated, Id, LevelDisplayName, Message -Wrap

When the events aren't enough, Get-LapsDiagnostics collects the logs and traces for a deeper investigation or a support case.

Policy cycle and configuration events#

EventMeaningUsual causeFirst check
10003"LAPS policy processing is now starting."The hourly schedule, a policy change or Invoke-LapsPolicyProcessingNone; it marks the start of the cycle you're reading
10004"LAPS policy processing succeeded."The cycle completedNone. If the password wasn't due for rotation, no update events appear in between
10005"LAPS policy processing failed with the error code below."Any failure earlier in the cycleThe events between 10003 and 10005; decode the error code
10021Current policy, backing up to Active Directory: policy source, account, age, complexity, length and encryption settingsLogged every cycle while backup is enabledPolicy source (GPO or CSP) and values match what you deployed
10022Current policy, backing up to Microsoft Entra ID; Intune policy shows Policy source: CSP and Backup directory: Azure ADLogged every cycle while backup is enabledA wrong source or unexpected values point to a competing policy
10023Current policy comes from a legacy Microsoft LAPS policy (Policy source: Legacy LAPS)Windows LAPS is running in legacy LAPS emulation modeIs that intended? If not, replace the legacy policy with a Windows LAPS policy

Managed account and password events#

EventMeaningUsual causeFirst check
10013"LAPS failed to find the currently configured local administrator account" (AD and Entra ID)The account named in policy doesn't exist; with no name set, LAPS looks for the built-in account whose SID ends in 500net user or lusrmgr.msc; no leading or trailing spaces in the configured name. Before Windows 11, version 24H2 and Windows Server 2025, LAPS can't create the account for you
10019"LAPS failed to update the local admin account with the new password" (AD and Entra ID)The account exists but the change failed: a resource problem, or third-party software managing the same accountRestart and retest; review tools that also manage local accounts
10027"LAPS was unable to create an acceptable new password." (AD and Entra ID)LAPS length or complexity conflicts with the local or domain password policy, or a password filter rejects the passwordnet accounts and gpresult /h; align the policies; look for third-party password filter DLLs loaded in LSASS
10020"LAPS successfully updated the local admin account with the new password."Normal rotationNone; the event names the account and its RID
10031"LAPS blocked an external request that tried to modify the password of the current managed account."A person, script or tool tried to change the managed passwordFind the source; rotate with Reset-LapsPassword instead of changing it by hand

If the account itself is the problem, see managing local Administrators with Intune.

Microsoft Entra ID backup events#

EventMeaningUsual causeFirst check
10025"Azure discovery failed" (Entra ID)The device can't discover or reach the Enterprise Registration endpoint; a proxy that isn't set for the system contextBrowse to https://enterpriseregistration.windows.net: "Unsupported method or endpoint." means it's reachable. Then netsh winhttp show proxy
10026"LAPS was unable to authenticate to Azure using the device identity" (Entra ID)A problem with the device's Primary Refresh TokenLAPS enabled in the tenant; device not deleted or disabled; dsregcmd /status device state, SSO data and diagnostic data
10032Same text as 10026 (Entra ID)Microsoft Entra authentication of the device failedThe same checks; translate any AADSTS code in the details
10028"LAPS failed to update Azure Active Directory with the new password" (Entra ID)The upload of the new password was refused or failedTenant setting, device object state and dsregcmd /status errors
10059"Azure returned a failure code", with an HTTP error (Entra ID)Connecting, authenticating or updating the password was rejectedThe HTTP code in the event, endpoint reachability, tenant setting, device state
10029"LAPS successfully updated Azure Active Directory with the new password."Normal backupThe password appears on the device in Intune and Microsoft Entra ID

Tip: By default Microsoft Entra ID refuses LAPS passwords until the tenant setting is turned on, so check it first for 10026, 10028, 10032 and 10059. The setup is in deploying Windows LAPS with Intune; join problems are covered in troubleshooting hybrid join with dsregcmd and the AADSTS quick reference.

Active Directory backup events#

EventMeaningUsual causeFirst check
10006"LAPS password encryption is required but the Active Directory domain is not yet at 2016 domain functional level." (AD)Password encryption, on by default, needs the Windows Server 2016 domain functional levelRaise the functional level; turning encryption off works but Microsoft doesn't recommend it
10011"LAPS failed when querying Active Directory for the current computer state" (AD)The hourly query to a DC failed: DC discovery or blocked portsConnectivity and required ports to the domain controllers
10012"The Active Directory schema has not been updated with the necessary LAPS attributes" (AD)Schema not extended, or the change hasn't replicated to the DC the client usesUpdate-LapsADSchema as Schema Admin (legacy emulation: Update-AdmPwdADSchema); repadmin /showreps on the DC named in 10055
10055Names the domain controller LAPS is working with (AD)InformationalUse that DC for replication and connectivity checks
10056"LAPS failed to locate a writable domain controller" (AD)Password writes need a writable DC and discovery failednltest /dsgetdc:<domain> /force /writable; error 1355 means no DC was found
10057"LAPS was unable to bind over LDAP to the domain controller" with an error code (AD)Machine-context authentication to the DC failedComputer account still exists; nltest /sc_query:<domain>; rejoin if the secure channel is broken, after confirming you know a local admin password
10034"The configured encryption principal is an isolated (ambiguous) name." (AD)The authorized password decryptors setting holds a bare nameUse a SID, DOMAIN\Group or user@domain; no stray spaces
10035"The configured encryption principal name could not be mapped to a known account." (AD)The group was deleted, or is new and hasn't replicatedpsgetsid on the client with the name or SID from the event
10065"LAPS received an LDAP_INSUFFICIENT_RIGHTS error trying to update the password using the legacy LAPS password attribute." (AD)The computer can't write its own password, often after a move to another OUSet-LapsADComputerSelfPermission -Identity <OU>; for legacy emulation the event suggests Update-AdmPwdComputerSelfPermission
10017"LAPS failed to update Active Directory with the new password. The current password has not been modified" (AD)A status event closing a failed cycle; it has no cause of its ownThe earlier events in the same cycle
10018"LAPS successfully updated Active Directory with the new password."Normal backupGet-LapsADPassword shows the new expiration time

For the underlying directory problems, see the AD replication and LDAP bind quick references.

Post-authentication action events#

When post-authentication actions are configured, LAPS watches for sign-ins with the managed account and resets the password after the grace period in policy.

EventMeaningUsual causeFirst check
10041"LAPS detected a successful authentication for the currently managed account."Someone used the account; a reset is scheduledExpected after use; the event shows the reset deadline
10042"The post-authentication grace period has expired per policy."The grace period endedNone; the configured actions run next
10044"LAPS successfully reset the password for the currently managed account and completed all configured post-authentication actions."Normal completionNone
10043"LAPS failed to reset the password for the currently managed account."The reset failed; LAPS keeps retrying and logs the retry count and error codeDecode the error code; check the directory connection
10048"The currently pending post-authentication reset timer has been retried the maximum allowed number attempts and will no longer be scheduled"More than 100 retries on one bootConnectivity to AD or Microsoft Entra ID, then any other errors in the log
10049"LAPS attempted to reboot the machine as a post-authentication action but the operation failed"The actions include a reboot and shutdown was blockedApplications blocking shutdown; shutdown privileges

How to verify a fix#

  1. Run Invoke-LapsPolicyProcessing and read the new cycle. Healthy looks like 10003, then 10021 or 10022, then 10004, with no 10005.
  2. To prove the backup path end to end, force a rotation with Reset-LapsPassword and expect 10018 or 10029 plus 10020 in that cycle. Don't script it in a loop: Microsoft warns that excessive use can be throttled.
  3. Confirm the directory has the new password:
PowerShell
# Microsoft Entra ID: metadata only needs Device.Read.All + DeviceLocalCredential.ReadBasic.All
Connect-MgGraph -TenantId '<tenant-id>' -ClientId '<app-client-id>'
Get-LapsAADPassword -DeviceIds 'PC-0042'

# Active Directory
Get-LapsADPassword -Identity 'PC-0042'

Success is an expiration time that moved forward with the rotation you just triggered. In Intune, the device's Local admin password page should show the new rotation time. Watch the log for a few hourly cycles before closing the ticket.

References#

Written and checked against current Microsoft Learn documentation. Test changes with a pilot group before rolling them out to everyone, and if an admin center path has moved since, search for the setting name instead.

Spotted a mistake, or did this fix work differently for you? Email me or message me on LinkedIn — corrections are credited in the article.

Written by

Omer Eltayeb

Intune Subject Matter Expert in Cairo, Egypt, former Microsoft Cloud Solutions Architect, Microsoft Certified Trainer and Microsoft Innovative Educator Expert (2024–26) and Microsoft Elevate Educator Expert (2026–27). I share practical, step-by-step guides, study plans, scripts and toolkits for Microsoft Intune, Configuration Manager, Microsoft Entra ID, Microsoft Defender, Exchange and Microsoft 365 with the community.

Microsoft Certified Trainer (MCT) 2026Microsoft Innovative Educator Expert 2025–2026Microsoft Elevate Educator Expert 2026–2027ISC2 Certified Information Systems Security Professional (CISSP)Microsoft 365 Certified: Enterprise Administrator Expert (MS-102)