cloudap.dll Error in Windows 10 and 11: Work account sign-in errors

A managed device cannot complete a work sign-in and logs cloudap.dll or a CloudAP event.
What this DLL does
CloudAP is a Windows cloud authentication provider involved in some Microsoft Entra sign-in scenarios.
Start with this check
Record the exact work account error and its time. Confirm network reachability using the approved connection and check if other managed devices are affected.
Write down the exact message, the time, and what you were doing. If the application closes, open View reliability history from Start, select the matching failure, and copy its technical details. An exception code, full module path and application version help identify the next test.
Choose the appropriate repair
Give the error and device context to your Microsoft Entra administrator. Follow the organization’s supported recovery steps without disconnecting the work account or removing device enrollment as a first response.
Use Microsoft’s application repair options when only one program fails and its publisher supports those options. If multiple built-in Windows features fail and there are signs of Windows system file corruption, follow Microsoft’s DISM and System File Checker instructions in that order. Use trusted Windows or publisher packages when restoring DLLs.
Verify the result
Sign in to the original authorized work account and verify access to a known approved resource. Keep the original error information until the same operation also works after a restart.
The DLL Errors & Fixes Library includes related troubleshooting, including logoncli.dll. Reference: Microsoft’s Entra sign-in architecture guidance.