Freigeben über


MsalError.MultipleTokensMatchedError Field

Definition

Multiple Tokens were matched.

What happens?

This exception happens in the case of applications managing several identities, when calling AcquireTokenSilent(IEnumerable<String>, IAccount) or one of its overrides and the user token cache contains multiple tokens for this client application and the specified Account, but from different authorities.

Mitigation [App Development]

specify the authority to use in the acquire token operation
public const string MultipleTokensMatchedError;
val mutable MultipleTokensMatchedError : string
Public Const MultipleTokensMatchedError As String 

Field Value

Applies to