-
Notifications
You must be signed in to change notification settings - Fork 341
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] Can not login with MSAL on Virtual Machine after updating MSAL.NET packages from 4.59.0 #4974
Comments
@AnzarN, Did your app enabled broker flows recently? Are you running your application elevated (as Administrator) on your Virtual Machine? |
@iulico-1, Yes I have enable broker flow in my app but I am not running my app as Administrator on my Virtual Machine |
@AnzarN , please share a screenshot of the UX you select account from ? Are you getting an exception from MSAL.net ? |
MSAL.issue.mp4In this recording, I have recorded issue and exception as well. |
@AnzarN, please share the content of AdditionalExceptionData and the full content of StackTrace from the exception. |
Here is the StackTrace and AdditionalExceptionData StackTrace: AdditionalExceptionData: Microsoft.Identity.Client.MsalClientException This exception was originally thrown at this call stack: |
Library version used
Microsoft.Identity.Client.Broker 4.61.0 and Microsoft.Identity.Client.Extension.Msal 4.61.0
.NET version
.net 8.0
WinAppSDK 1.6 (It is not working in WinAppSDK 1.5 as well)
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
Login is working on physical machine, but on virtual machine, MSAL dialog open but can't login, after clicking on email from list, the dialog close but there is no further process, if Microsoft.Identity package version is more than 4.59.0
If I downgrade version to 4.59.0 it is working fine.
Relevant code snippets
No response
Expected behavior
It should work even if I update package to more than 4.59.0 version.
Identity provider
Microsoft Entra ID (Work and School accounts and Personal Microsoft accounts)
Regression
4.59.0
Solution and workarounds
Downgrade to version 4.59.0 working fine, issue with version more than 4.59.0
The text was updated successfully, but these errors were encountered: