In mobile app, I have written ADAL authentication logic which is working for most of the users.
var authContext = new AuthenticationContext(authority);
var controller =
UIApplication.SharedApplication.KeyWindow.RootViewController;
var uri = new Uri(returnUri);
var platformParams = new PlatformParameters(controller);
var authResult = await authContext.AcquireTokenAsync(resource, clientId,
uri, platformParams);
Only 2-3 odd users are getting below exception.
{Microsoft.IdentityModel.Clients.ActiveDirectory.AdalException: multiple_matching_tokens_detected: The cache contains multiple tokens satisfying the requirements. Call AcquireToken again providing more arguments (e.g. UserId) at Microsoft.IdentityModel.Client…}
What is the root cause of this issue ? Why it is coming for only few users? How to solve this?