MsalError.NoAccountForLoginHint Field

Definition

This error code denotes that no account was found having the given login hint.

What happens?

AcquireTokenSilent(IEnumerable<String>, String) or WithLoginHint(String) was called with a loginHint parameter which does not match any account in GetAccountsAsync()

Mitigation

If you are certain about the loginHint, call AcquireTokenInteractive(IEnumerable<String>)
public const string NoAccountForLoginHint;
val mutable NoAccountForLoginHint : string
Public Const NoAccountForLoginHint As String 

Field Value

Applies to