Step-up authentication fails to launch the UI
Symptom
Step-up authentication fails to launch the UI, and logs indicate errors related to WebView2 initialization.
Environment
EPM Windows Agent
Windows
Cause
These logs suggest that the WebView2 runtime is either missing or improperly installed, which prevents the authentication UI from rendering:
[Timestamp] PID:XXXX TID:YYYY <no class name>::WinMain: INFO: Creating host window
[Timestamp] PID:XXXX TID:YYYY <no class name>::WinMain: INFO: LastLoggedInUserIDP data Not Found
[Timestamp] PID:XXXX TID:YYYY HostWindow::Create: ERROR: CreateCoreWebView2EnvironmentWithOptions failed. hr=-2147024894
[Timestamp] PID:XXXX TID:YYYY <no class name>::WinMain: ERROR: hostWindow.Create failed. hr=0Resolution
1. Install or Repair WebView2 Runtime
Follow Microsoft’s official guidance:
- Visit the WebView2 download page .
- Download the Evergreen Standalone Installer for your system architecture (x86, x64, or ARM64).
- Run the installer as Administrator to ensure system-wide installation.
Note: Installing WebView2 with elevated privileges ensures it is available to all users, which is critical for system-level authentication flows like EPM MFA
2. Ensure Windows is Up to Date
Install the latest Windows updates and service packs. WebView2 is often bundled with Microsoft 365 Apps and Windows 11 updates
In some cases, installing Microsoft Teams has resolved WebView2-related issues. This is because:
- Microsoft Teams (new version) relies on WebView2 for rendering its UI
- Installing Teams may trigger the installation or update of the WebView2 runtime as a dependency.
However, this is not a guaranteed fix and should not replace direct installation of WebView2. Teams may install a user-scoped version of WebView2, which might not be sufficient for system-level applications like EPM MFA.
Always install WebView2 explicitly using the Evergreen Standalone Installer with admin rights.