MAUI .NET 8.0 Android WebView with SharePoint page - "We couldn't sign you in. Please try again." followed by "Unknown error." in SharePoint

foobar291 25 Reputation points
2024-09-11T16:42:51.68+00:00

Was working fine for several months, and now SharePoint will not sign in from WebView in a Android app built using MAUI .NET 8.0 for users who have previously authenticated. Issues started happening this week.

Tried with no effect:
(1) Cleared the app cache, deleted data on both the custom app and System WebView - no effect.
(2) Reinstalling the custom app - same sequence of issues.
(3) Other MAUI apps - same issue.
(4) Reinstalling the O365 apps (Outlook, Teams, M365) - no effect.
(5) Opened the app in the Chrome browser - so far, no issues.

Worked (but not a solution):
Resetting the device entirely, which is not a routine we would like to start doing.

Any thoughts on what could be causing the session to log out, and future attempts to log in fail?

Microsoft Authenticator
Microsoft Authenticator
A Microsoft app for iOS and Android devices that enables authentication with two-factor verification, phone sign-in, and code generation.
6,811 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,684 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,482 questions
{count} votes

2 answers

Sort by: Most helpful
  1. foo 0 Reputation points
    2024-09-18T22:39:38.3733333+00:00

    https://chromereleases.googleblog.com/?m=1this problem seems to be fixed on Webview ver.130 (still beta) try this version.


  2. foo 0 Reputation points
    2024-09-18T22:42:49.0966667+00:00

    ※duplicate comment deleted

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.