Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
jsquire opened this issue Mar 7, 2025 · 3 comments
Open

Comments

@jsquire
Copy link

jsquire commented Mar 7, 2025

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

@shueybubbles
Copy link

thx @jsquire !

@ashok672
Copy link
Contributor

@shueybubbles MSAL version 4.47.1 is more than 2 yrs old version at this time. Could you please try with the latest version and if you still have issue, please share code snippet.

@shueybubbles
Copy link

@ashok672 I am not in a position to upgrade the library and give our app to the customers that reproduce the issue. I can't reproduce it myself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants