[Bug] Broker-based flows fail for MSA accounts with latest MSAL #4696
Labels
broker
bug
P1
public-client
regression
Behavior that worked in a previous release that no longer works in a newer release
runtime
scenario:Desktop
Library version used
4.60.1
.NET version
6.0
Scenario
PublicClient - desktop app
Is this a new or an existing app?
This is a new app or experiment
Issue description and reproduction steps
Here is the sample code that I use:
This worked in MSAL.NET 4.59.0, but upon upgrading to 4.60.1 I am now getting this error:
Keep in mind that the account was already selected (MSA account which is secondary on the OS) and then the error pops up. The code worked OK in MSAL 4.59.0.
Relevant code snippets
No response
Expected behavior
Broker-based flow goes through.
Identity provider
Microsoft Entra ID (Work and School accounts and Personal Microsoft accounts)
Regression
4.59.0
Solution and workarounds
None. Downgrade MSAL to 4.59.0.
The text was updated successfully, but these errors were encountered: