Australian cloud for business software — built and run in Sydney since 2002

NetLeverage
NetLeverage

Windows LAPS events 10025 and 10026: the device cannot reach or sign in to Entra ID

Technical article
Troubleshooting

About this article: This article is reviewed against the cited sources. This is source research, not lab validation. Check the stated versions and your own requirements before making changes.

A Windows device is set to keep its local administrator password in Microsoft Entra ID. In the Entra portal the password is missing or old, and in the Windows LAPS log on the device there is event 10025 or event 10026. The first says the device could not find where to register. The second says it could not authenticate with its device identity.

The two failures need different checks. Event 10025 is about reaching a web address, and Microsoft's check includes the proxy. Event 10026 is about the device's own identity in the tenant. Microsoft's troubleshooting page gives a resolution for each, and they are short. Below are what each means, how to separate them by reading only, the single change that can be needed on the device, and what to confirm afterwards. Nothing before the Fix section changes anything.

What the error means

Both events are written to Applications and Services Logs > Microsoft > Windows > LAPS > Operational on the device. Microsoft's table lists both for the Windows LAPS Microsoft Entra ID scenario only.

Event 10025 reads "Azure discovery failed". Microsoft explains that a device, either Microsoft Entra joined or hybrid joined, that is configured with Windows LAPS to store passwords in Microsoft Entra ID "should discover the Enterprise Registration Endpoint". The discovery has failed.

Event 10026 reads "LAPS was unable to authenticate to Azure using the device identity". Microsoft says this issue occurs if there is an issue with the device's Primary Refresh Token (PRT).

Two related events use the same family of wording. Event 10032 is printed on the same page with the identical message, "LAPS was unable to authenticate to Azure using the device identity", and the cause "There might be issues related to Microsoft Entra authentication when using device PRT". Event 10028 is "LAPS failed to update Azure Active Directory with the new password", which appears when the device cannot update the password in Microsoft Entra ID, and event 10059 is "Azure returned a failure code", which carries an HTTP error. The page gives the same resolution for 10026, 10028, 10032 and 10059 apart from the endpoint check.

How the device reaches Entra ID matters for the checks. Microsoft's Windows LAPS pages say a device that backs up to Microsoft Entra ID authenticates with its own device identity, posts the password directly over https, and does not depend on Microsoft Entra Connect.

Likely causes

Event Cause on Microsoft's page What to look at
10025 The device cannot reach the enterprise registration address, https://enterpriseregistration.windows.net Network path, firewall, and the proxy the device uses
10025 A proxy that is not set for the system context The output of the proxy command below
10026 A problem with the device's Primary Refresh Token dsregcmd /status, sections Device status, SSO data and Diagnostic data
10026 Windows LAPS not enabled in the tenant The tenant's device settings, which the device cannot show
10026 The device deleted or disabled in the tenant The device's record in the tenant

Microsoft's Entra page adds a point behind the fourth row. By default, Microsoft Entra ID does not allow managed devices to post new Windows LAPS passwords to Microsoft Entra ID. An IT administrator must first enable the feature at the tenant level, and the page's wording is that you MUST do this. Until it is done, no device can post a password to the tenant.

Prove the cause before changing anything

All of these only read.

  1. Note which event the device logged and the time. If it is 10025, the next checks are about the network path. If it is 10026 or 10032, they are about the device identity.

  2. For 10025, test the endpoint from the device. Microsoft says to connect to https://enterpriseregistration.windows.net in Microsoft Edge or Google Chrome. If the page shows the message "Unsupported method or endpoint.", the connection to the Enterprise Registration Endpoint works. Microsoft describes only that message as the sign of a working connection; a timeout or a block page would point at the network path, which is our reading.

  3. For 10025, check the proxy as the system sees it. Microsoft says that if a proxy server is used, it must be configured under the system context, and shows how to display it: open an elevated command prompt and run the command below.

  4. For 10026, read the device registration state with the command below and look at the three sections Microsoft names: Device status, SSO data and Diagnostic data. Microsoft's instruction is to check these sections for errors, then to verify the error message with the same command and troubleshoot the issue it reports.

  5. Check the device's record in the tenant. Microsoft's resolution says to verify that the machine is not deleted or disabled in the tenant. That check is made in the Microsoft Entra admin centre by someone with access; the page gives no command for it.

  6. Check that Windows LAPS is enabled in the tenant's device settings. The same person makes this check, and the page gives no command.

The commands, each of which only reads:

netsh winhttp show proxy
dsregcmd /status

For a hybrid joined device, Microsoft points to its guidance for troubleshooting Microsoft Entra hybrid joined devices and to the Device Registration Troubleshooter Tool. If the dsregcmd output contains an error message, Microsoft says to look up its code in the Microsoft Entra authentication and authorization error codes.

Example (illustrative): at contoso.com.au all 35 laptops log 10025 every hour after the head office firewall rules were tightened. Edge on a laptop cannot load https://enterpriseregistration.windows.net, while other sites work. The cause is the network path to the endpoint, and no device identity check is needed. A single laptop logs 10026 and its dsregcmd /status output shows a device that was removed from the tenant by a clean-up script. That laptop has an identity problem, and the other 34 do not.

Fix

Match the fix to the event.

10025: make the endpoint reachable

Microsoft's resolution is only a check: confirm the connection works, and where a proxy is in use confirm it is configured under the system context. The page does not give commands for changing the proxy or the firewall, so these changes are described and not walked through. They belong to whoever runs the network, who can read the proxy output above and the endpoint address Microsoft names, and decide which rule or setting is at fault. After any change, the Edge test above is repeated on a test device before the others.

10026 and 10032: repair the identity or the tenant setting

Microsoft's resolution is a list of checks that lead to the repair: confirm Windows LAPS is enabled in the tenant, confirm the device is not deleted or disabled, read dsregcmd /status and troubleshoot the error it reports, and use the Device Registration Troubleshooter Tool for registration problems. Enabling the feature is made at the tenant level by an administrator, and Microsoft's Entra page sends the reader to a separate page for the steps, which is not summarised here. Re-registering a device that was removed is a change to the device's identity that the page does not describe in steps. Both are described here and not walked through, and each is a decision for the people who manage the tenant.

Start a policy cycle once the cause is fixed

Save first. Keep the log entries for the failed cycles by saving them from Event Viewer, so the earlier events are still available after the new cycle writes its own. This is general advice; the page gives no command for it.

Disruptive step: the next command starts a Windows LAPS processing cycle on this device now. If a password is due, Windows LAPS generates a new local administrator password and tries to store it in Microsoft Entra ID, and the local account's password changes. The page gives no way to undo a password rotation. Run it on one device first, and not while someone is signed in with the account.

Invoke-LapsPolicyProcessing

Microsoft says Windows LAPS processes the active policy every hour, and that this command avoids the wait.

To undo it: the page gives no way to undo it. The cycle does not change policy; the only lasting change is the new password.

Confirm the fix

  • The next cycle writes event 10029, "LAPS successfully updated Azure Active Directory with the new password.", which Microsoft's Entra page names as the way to verify that the password was updated in Microsoft Entra ID.
  • Event 10020, "LAPS successfully updated the local admin account with the new password.", follows for the local account.
  • No 10025, 10026, 10028, 10032 or 10059 in the same cycle.
  • An administrator with a role that can read the password can see it on the device's record in the tenant. Microsoft says that by default the Global Administrator, Cloud Device Administrator and Intune Administrator roles can retrieve the clear-text password.

What to watch afterwards

  • Devices that log 10025 only at certain locations. That points at a network or proxy difference between sites, since the check is about reaching one address.
  • Devices that log 10026 after being rebuilt or re-registered. The identity has to be valid in the tenant, and a rebuilt device may not match its old record.
  • The tenant setting after any change to device settings, because a device cannot show it.
  • Password age. Microsoft says the minimum is seven days when the backup directory is Microsoft Entra ID.
  • Entra authentication errors reported by dsregcmd, which Microsoft says to look up by their code.

Risks and limits

These steps have not been run or lab-tested. Microsoft's troubleshooting page, last updated on 2026-02-12, says it lists only some of the possible root causes. It gives no version range for events 10025 and 10026, and it uses "Azure" in the event messages and "Microsoft Entra ID" in its prose; both are quoted as printed.

The page gives the same wording for events 10026 and 10032, and the same resolution text for 10026, 10028, 10032 and 10059, so an event number alone does not say which step of the sign-in failed. The page does not say how to change a proxy, enable the tenant setting or re-register a device, so no steps are given for them here either. A change to a proxy, a firewall rule or a tenant setting reaches more devices than the one that logged the event, so test on one device first.

Sources