Skip to content

[Bug] Usability issue: using broker flashes "Just a moment" multiple times when logging into new Windows account #6055

Description

@teh173

Library version used

4.84

.NET version

.NET 4.7.2 and .NET 8

Scenario

PublicClient - desktop app

Is this a new or an existing app?

The app is in production, and I have upgraded to a new version of MSAL

Issue description and reproduction steps

Probably more of a usability issue than a bug (sign in works fine), but using the Windows Desktop broker flashes "Just a moment" multiple times when logging into new Windows account on the device.

  1. Create a project logging into a PublicClient with WithWindowsDesktopFeatures( new BrokerOptions( BrokerOptions.OperatingSystems.Windows ) )
  2. Login to a new system account instead of just the app.
IssueLogin2.mp4

Relevant code snippets

Expected behavior

Just a moment is only shown once instead of refreshing multiple times.

Didn't see this behavior when using the non-broker login methods.

Identity provider

Microsoft Entra ID (Work and School accounts and Personal Microsoft accounts)

Regression

No response

Solution and workarounds

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions