Skip to content

Commit 2c3e682

Browse files
Merge pull request #221456 from cilwerner/patch-1
[GTD][Core Content] Remove .NET 3.1 references in scenario-desktop-acquire-token-wam.md
2 parents b826d31 + 594f50c commit 2c3e682

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

articles/active-directory/develop/scenario-desktop-acquire-token-wam.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.service: active-directory
99
ms.subservice: develop
1010
ms.topic: conceptual
1111
ms.workload: identity
12-
ms.date: 06/07/2022
12+
ms.date: 12/14/2022
1313
ms.author: dmwendia
1414
ms.custom: aaddev, devx-track-python
1515
#Customer intent: As an application developer, I want to know how to write a desktop app that calls web APIs by using the Microsoft identity platform.
@@ -21,11 +21,9 @@ MSAL is able to call Web Account Manager, a Windows 10 component that ships with
2121

2222
## Availability
2323

24-
MSAL 4.25+ supports WAM on UWP, .NET Classic, .NET Core 3.1, and .NET 5.
24+
MSAL 4.25+ supports WAM on UWP, and .NET 5.
2525

26-
For .NET Classic and .NET Core 3.1, WAM functionality is fully supported but you have to add a reference to [Microsoft.Identity.Client.Desktop](https://www.nuget.org/packages/Microsoft.Identity.Client.Desktop/) package, alongside MSAL, and instead of `WithBroker()`, call `.WithWindowsBroker()`.
27-
28-
For .NET 5, target `net5.0-windows10.0.17763.0` (or higher) and not just `net5.0`. Your app will still run on older versions of Windows if you add `<SupportedOSPlatformVersion>7</SupportedOSPlatformVersion>` in the csproj. MSAL will use a browser when WAM isn't available.
26+
For .NET 5, target `net5.0-windows10.0.17763.0` (or higher) and not just `net5.0`. Your app will still run on older versions of Windows if you add `<SupportedOSPlatformVersion>7</SupportedOSPlatformVersion>` in the *.csproj* file. MSAL will use a browser when WAM isn't available.
2927

3028
## WAM value proposition
3129

@@ -78,7 +76,7 @@ catch (MsalUiRequiredException) // no change in the pattern
7876
}
7977
```
8078

81-
Call `.WithBroker(true)`. If a broker isn't present (for example, Win8.1, Mac, or Linux), then MSAL will fall back to a browser. Redirect URI rules apply to the browser.
79+
Call `.WithBroker(true)`. If a broker isn't present (for example, Win8.1, Mac, or Linux), then MSAL will fall back to a browser, where redirect URI rules apply.
8280

8381
## Redirect URI
8482

@@ -131,7 +129,7 @@ Applications cannot remove accounts from Windows!
131129
- Removes app-only (not OS-wide) accounts.
132130

133131
>[!NOTE]
134-
> Apps cannot remove OS accounts. Only users can do that. If an OS account is passed into `RemoveAsync`, and then `GetAccounts` is called with `ListWindowsWorkAndSchoolAccounts` enabled - the same OS account will still be returned.
132+
> Ony users can remove OS accounts, whereas apps themselves cannot. If an OS account is passed into `RemoveAsync`, and then `GetAccounts` is called with `ListWindowsWorkAndSchoolAccounts` enabled, the same OS accounts will still be returned.
135133
136134
## Other considerations
137135

0 commit comments

Comments
 (0)