Partager via


MsalError.UnknownUser Field

Definition

What happens

You can get this error when using AcquireTokenByUsernamePassword(IEnumerable<String>, String, String) The user is not known by the IdP

Mitigation

Inform the user. The login that the user provided might be incorrect (for instance empty)
public const string UnknownUser;
val mutable UnknownUser : string
Public Const UnknownUser As String 

Field Value

Applies to