Skip to content

Commit bdb3995

Browse files
committed
add new article
1 parent 163318d commit bdb3995

1 file changed

Lines changed: 61 additions & 0 deletions

File tree

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
---
2+
title: Your browser is not supported or up-to-date error in MSAL app
3+
description: This article describes how to resolve the "Your browser is not supported or up-to-date" error when you use an app that integrates with MSAL.
4+
author: genlin
5+
ms.author: willfid
6+
ms.service: entra-id
7+
ms.date: 01/11/2025
8+
ms.custom: sap:Microsoft Entra App Integration and Development
9+
---
10+
11+
# Your browser is not supported or up-to-date error in MSAL app
12+
13+
This article describes how to resolve the "Your browser is not supported or up-to-date" error that occurs in an Microsoft Authentication Library (MSAL) based app.
14+
15+
## Symptoms
16+
17+
When you open an app that integrates with MSAL and try to register Microsoft Entra ID Multifactor Authentication (MFA), you might see the following error message:
18+
19+
>Your browser is not supported or up-to-date. Try updating it, or else download and install the latest version of Microsoft Edge.
20+
You could also try to access https://aka.ms/mysecurityinfo from another device.
21+
22+
## Cause
23+
24+
This issue occurs when the MSAL app uses outdated web browser controls, such as WebView1. These older controls do not support Microsoft Entra ID MFA registration or the self-service password reset wizard.
25+
26+
27+
## Resolution
28+
29+
### For end users
30+
31+
To work around this issue, register for Microsoft Entra ID Multifactor Authentication (MFA) using a supported browser before you use the app:
32+
33+
1. Open [My Apps](https://myapps.microsoft.com) in Microsoft Edge or another supported browser.
34+
2. Complete the MFA registration process.
35+
3. After successful registration, open your app.
36+
37+
## For developers
38+
39+
To resolve the issue, enable broker authentication by using [Web Account Manager](/entra/identity-platform/scenario-desktop-acquire-token-wam) in your app.
40+
41+
The following is a sample code that creates a client to use Broker Authentication.
42+
43+
```csharp
44+
var pca = PublicClientApplicationBuilder.Create("client_id").WithBroker(new BrokerOptions(BrokerOptions.OperatingSystems.Windows))
45+
```
46+
47+
If Web Account Manager is unavailable (such as on Windows Server 2012), consider the following options:
48+
49+
- Use WebView2 (Edge-based Embedded WebView)
50+
51+
To enable WebView2, the app must target .NET 6+ Windows. Configure this setting in the project file:
52+
53+
```xml
54+
<TargetFramework>net6.0-windows10.0.22621.0</TargetFramework>
55+
```
56+
57+
- Use the System Browser
58+
59+
If WebView2 cannot be used or your app can't target .NET 6+ Windows, then use the [default system browser for authentication](/entra/msal/dotnet/acquiring-tokens/using-web-browsers#how-to-use-the-default-system-browser).
60+
61+
[!INCLUDE [Azure Help Support](../../../includes/azure-help-support.md)]

0 commit comments

Comments
 (0)