You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Logs and network traces
When trying to execute WamUsernamePasswordRequestAsync_WithPiiAsync after the changes in #3859
The following error occurs
Test method Microsoft.Identity.Test.Integration.Broker.RuntimeBrokerTests.WamUsernamePasswordRequestAsync_WithPiiAsync threw exception:
Microsoft.Identity.Client.MsalUiRequiredException: WAM Error
Error Code: 0
Error Message: Account has previously been signed out of this application.
Internal Error Code: 540940121
I cant seem to find this error in our SDK so it looks like it is from WAM. However, it does not make sense. My changes are only affecting local MSAL cache so not sure how calling ATS on WAM can generate this error. There is also an identical test that does not use PII that works fine too.
Logs and network traces
When trying to execute WamUsernamePasswordRequestAsync_WithPiiAsync after the changes in #3859
The following error occurs
Test method Microsoft.Identity.Test.Integration.Broker.RuntimeBrokerTests.WamUsernamePasswordRequestAsync_WithPiiAsync threw exception:
Microsoft.Identity.Client.MsalUiRequiredException: WAM Error
Error Code: 0
Error Message: Account has previously been signed out of this application.
Internal Error Code: 540940121
I cant seem to find this error in our SDK so it looks like it is from WAM. However, it does not make sense. My changes are only affecting local MSAL cache so not sure how calling ATS on WAM can generate this error. There is also an identical test that does not use PII that works fine too.
Test: WamUsernamePasswordRequestAsync_WithPiiAsync - fails
Test: WamUsernamePasswordRequestAsync - passes
Both tests are performing a username password auth to sign the user in and they happen one right after another so maybe there is some race condition?
Diff between the two tests
Which version of MSAL.NET are you using?
latest
Platform
What authentication flow has the issue?
Other?
Is this a new or existing app?
Repro
execute the following tests one after another:WamUsernamePasswordRequestAsync, WamUsernamePasswordRequestAsync_WithPiiAsync.
The text was updated successfully, but these errors were encountered: