01-18-2023 06:38 AM
We have AnyConnect 4.10.05111 installed and use Okta to connect with SAML
AnyConnect is set to use the embedded browser but it appears an update to Microsoft Edge WebView2 Runtime 109.0.1518.52 broke the Okta login page from displaying properly
We have AnyConnect version 4.10.05111 and the newer one did not fix the issue. I would hate to go back a version especially since things were working fine till the latest update.
We did fix it on one machine by uninstalling/reinstalling AnyConnect and webview2. Anyone else experience this issue and have an easier fix?
Solved! Go to Solution.
01-18-2023 01:01 PM - edited 01-18-2023 01:12 PM
We experienced the same issue in our org when we had machines update Microsoft Edge WebView2 Runtime from the 16th.
I would like to point out we are also running the same version of Anyconnect too.
We first thought it was the Windows January Cumulative update however, yea it turns out it was the Microsoft Edge WebView2 Runtime when looking at DART logs. It appears during the update it potentially corrupted something in the WebView2 install as some people were unaffected.
The only fix we have been able to find is re-installing WebView2. We first dealt with tickets we had on a case by case by getting people to go to add and remove programs click on WebView2 and choose to modify and then repair. This just installs the runtime again.
We have now deployed a scripted uninstall and install of WebView2 through our SCCM server to all devices which we are hoping will help close off this issue we have seen.
01-18-2023 01:01 PM - edited 01-18-2023 01:12 PM
We experienced the same issue in our org when we had machines update Microsoft Edge WebView2 Runtime from the 16th.
I would like to point out we are also running the same version of Anyconnect too.
We first thought it was the Windows January Cumulative update however, yea it turns out it was the Microsoft Edge WebView2 Runtime when looking at DART logs. It appears during the update it potentially corrupted something in the WebView2 install as some people were unaffected.
The only fix we have been able to find is re-installing WebView2. We first dealt with tickets we had on a case by case by getting people to go to add and remove programs click on WebView2 and choose to modify and then repair. This just installs the runtime again.
We have now deployed a scripted uninstall and install of WebView2 through our SCCM server to all devices which we are hoping will help close off this issue we have seen.
01-18-2023 02:08 PM
We are also experiencing the same problem (thankfully with only a subset of people, seems to be random as majority are fine). Thank you for posting this question and the fix - I am going to do a reinstall via SCCM package for our affected users. We also opened a TAC case will be curious if Cisco can do anything on their end.
01-18-2023 03:43 PM
Microsoft has now acknowledged this is a bug and is now tracked. https://github.com/MicrosoftEdge/WebView2Feedback/issues/3136
I posted the fix on there too with a simple PS script I wrote if anyone is interested.
01-19-2023 07:11 AM - edited 01-19-2023 09:29 AM
EDIT: made corrections, I noticed some of the machines that were affected did not have the required folder/setup.exe left anymore in program files, because of the corruption. In this case I had to include the setup.exe from a working installation into the files dir and point to that in the script for the uninstall
Here is the relevant portion of my PSADT PowerShell script for doing the reinstall if anyone finds it helpful
##execute silent force uninstall of Webview2, throws exit code 19 when it succeeds so ignoring
Execute-Process -Path "$dirFiles\setup.exe" -Parameters '--uninstall --msedgewebview --system-level --verbose-logging --force-uninstall' -IgnoreExitCodes '19'
##execute silent Install of Webview2
Execute-Process -Path "$dirFiles\MicrosoftEdgeWebView2RuntimeInstallerX64.exe" -Parameters '/silent /install'
01-19-2023 12:09 PM - edited 01-19-2023 12:09 PM
We've seen a user who's WebView2 update didn't install fully. Leaving the old version behind, with random bits of the new one. We had to manually uninstall the old setup.exe. Which removed the old and new remnants. Then the standalone WebView2 installer worked properly.
01-19-2023 12:51 PM
Thanks for everyone's help on this issue! Our Workstation Team has a solution in place to reinstall WebView2.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide