Share via


MsalError.InvalidGrantError Field

Definition

Standard OAuth2 protocol error code. It indicates that the application needs to expose the UI to the user so that the user does an interactive action in order to get a new token.

Mitigation:

If your application is a IPublicClientApplication call AcquireTokenInteractive perform an interactive authentication. If your application is a ConfidentialClientApplication chances are that the Claims member of the exception is not empty. See MsalServiceException.Claims for the right mitigation
public const string InvalidGrantError;
val mutable InvalidGrantError : string
Public Const InvalidGrantError As String 

Field Value

Applies to