Skip to content

[QUERY] Can someone explain this error acquiring a token on Windows? #5177

@jsquire

Description

@jsquire

Issue Transfer

This issue has been transferred from the Azure SDK for .NET repository, #48613.

Please be aware that @shueybubbles is the author of the original issue and include them for any questions or replies.

Details

Library name and version

MSAL 4.47.1.0 MSAL.Desktop 4.8

Query/Question

We have a customer report where their users can't acquire a token with a cryptic error:

[WamBroker] AcquireTokenInteractive - login hint provided? False

True MSAL 4.47.1.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2025-02-11 21:12:44Z] [WamBroker] Could not login interactively. Status: Unexpected

Error: 0xffffffff80070520

Context: Unexpected exception while waiting for accounts control to finish: '(pii)'

Tag: 0x1f7d734b

I couldn't find any open issue on Github about this nor does a web search bring up anything obvious about how MSAL could be blocked with 0x80070520 "A specified login session does not exist". The customer didn't experience this error with earlier versions of our app using older MSAL or ADAL. Is there any guidance we can give the customer to unblock?

Environment

Windows 10

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