Skip to content
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

[Bug] Broker mode throwing Microsoft.Identity.Client.MsalServiceException #5004

Open
keyuxuan opened this issue Nov 25, 2024 · 4 comments
Open
Labels
needs attention Delete label after triage public-client tracked-ado untriaged Do not delete. Needed for Automation

Comments

@keyuxuan
Copy link

Library version used

4.65.0

.NET version

.NET 8

Scenario

PublicClient - desktop app

Is this a new or an existing app?

The app is in production, I haven't upgraded MSAL, but started seeing this issue

Issue description and reproduction steps

When performing Broker mode, MSAL throws Microsoft.Identity.Client.MsalServiceException.
We have the CorrelationId ca261fb6-3701-466c-b5f9-fc6821bb34f9

Attached the error message, could you help take a look at and see what went wrong?
image

Relevant code snippets

No response

Expected behavior

No response

Identity provider

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

Regression

No response

Solution and workarounds

No response

@keyuxuan keyuxuan added needs attention Delete label after triage untriaged Do not delete. Needed for Automation labels Nov 25, 2024
@Ugonnaak1
Copy link
Contributor

@keyuxuan are you running this program as the user who is currently logged into the system or as another user? You can check this by going to your Task Manager, go under the details tab, search for your app that is currently running and check if "User name" currently matches the user who is currently logged in
Screenshot 2024-12-03 140232

@mijpeterson
Copy link

Hi @Ugonnaak1, I can confirm that the app is being run under the logged in user.

@Ugonnaak1
Copy link
Contributor

Hi @mijpeterson , would you mind sending a screenshot showing the program running alongside the username (same format as the screenshot I sent) so that I can confirm? Thank you!

@Ugonnaak1
Copy link
Contributor

@keyuxuan , @mijpeterson would either of you be able to send a screenshot confirming that the program is running under the logged in user? Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs attention Delete label after triage public-client tracked-ado untriaged Do not delete. Needed for Automation
Projects
None yet
Development

No branches or pull requests

4 participants