Which version of MSAL.NET are you using?
MSAL.NET 4.32
Platform
.NET Framework 4.7.2
What authentication flow has the issue?
Is this a new or existing app?
Upgraded from 4.28 (?) to 4.32 when AADSTS50196 started to appear.
Repro
AcquireTokenSilent()
(with the same account), which always fails with MsalUiRequiredException
since the cache is brand new and not shared among test clientsAcquireTokenInteractive()
on exception caughtExpected behavior
All clients (which use the same AAD account) login successfully.
Actual behavior
AADSTS50196: The server terminated an operation because it encountered a loop while processing a request
Problems are:
AcquireTokenInteractive()
Possible solution
We're investigating sharing the token cache more broadly in tests to avoid multiple calls to the authn server in a short period (that is, to effectively leverage the cache and therefore have at worst one authn per test, and at best one per test run). TBD for results on whether that works.
Additional context / logs / screenshots
To be clear, we understand that if the bug is indeed throttling then this is an error on our side, misusing the API. But we found no way to confirm that, which is the actual bug being logged here.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4