UiRequiredExceptionClassification Enum

Definition

Details about the cause of an MsalUiRequiredException, giving a hint about what the user can expect when they go through interactive authentication. See https://aka.ms/msal-net-UiRequiredException for details.

public enum UiRequiredExceptionClassification
type UiRequiredExceptionClassification = 
Public Enum UiRequiredExceptionClassification
Inheritance
UiRequiredExceptionClassification

Fields

AcquireTokenSilentFailed 7

An AcquireTokenSilent call failed. This is usually part of the pattern of calling AcquireTokenSilent for getting a token from the cache, followed by an a different AcquireToken call for getting a token from AAD. See the error message for details. See https://aka.ms/msal-net-UiRequiredException for details.

AdditionalAction 3

Issue can be resolved by additional remedial interaction with the system, outside of the interactive authentication flow. Starting an interactive authentication flow will show the user what they need to do, but it is possible that the user is unable to complete the action. See https://aka.ms/msal-net-UiRequiredException for details

BasicAction 2

Issue can be resolved by user interaction during the interactive authentication flow. See https://aka.ms/msal-net-UiRequiredException for details

ConsentRequired 4

User consent is missing, or has been revoked. Issue can be resolved by user consenting during the interactive authentication flow. See https://aka.ms/msal-net-UiRequiredException for details

MessageOnly 1

Issue cannot be resolved at this time. Launching interactive authentication flow will show a message explaining the condition. See https://aka.ms/msal-net-UiRequiredException for details

None 0

No further details are provided. It is possible that the user will be able to resolve the issue by launching interactive authentication. See https://aka.ms/msal-net-UiRequiredException for details

PromptNeverFailed 6

WithPrompt(Prompt) was used with Prompt.Never value, however this could not be honored by the server. Please use a different prompt behavior, such as SelectAccount See https://aka.ms/msal-net-UiRequiredException for details.

UserPasswordExpired 5

User's password has expired. Issue can be resolved by user during the interactive authentication flow. See https://aka.ms/msal-net-UiRequiredException for details.

Applies to