wlidprov.dll Error in Windows 10 and 11: Windows account provider signal

Windows Settings fails to show a previously linked Microsoft account and names the provider.
The Windows file inventory identifies wlidprov.dll as Microsoft® Account Provider. Capture the actual error, file path and Windows build before making changes.
Check where the error occurs
Compare Windows sign-in with the account display in Settings, taking note of managed-device restrictions.
Check the account type before changing sign-in. Open Settings → Accounts → Your info and note whether Windows shows a local account or the expected personal Microsoft account. If the account only appears in a particular app or is connected for work, record where you see it. Microsoft’s account guide explains what the sign-in options on Your info mean.
If Windows sign-in works but only the account display fails, take down the exact message and leave the working account in place. On a managed PC, send that information to IT. After the supported repair, reopen Your info and confirm it displays the expected account, then verify that the original sign-in still works.
Repair the affected feature
Use the supported Microsoft account tools and keep existing sign-in recovery methods. Involve IT when account options are controlled through policy.
If Windows reports corruption of a protected system file, use Microsoft’s system file repair procedure. Obtain software and drivers through Windows Update or the applicable publisher.
Verify the repair
Verify the same account appears and the normal session survives a restart.
See the publisher’s guidance, the exact Windows file record, and the related PC Repair Atlas guide.