Compartir a través de


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 Understanding MsalUiRequiredException for details.

public enum UiRequiredExceptionClassification
type UiRequiredExceptionClassification = 
Public Enum UiRequiredExceptionClassification
Inheritance
UiRequiredExceptionClassification

Fields

Name Value Description
None 0

No details are provided. It is possible that the user will be able to resolve the issue by launching interactive authentication. This is also the classification when no account or valid login hint is passed to AcquireTokenSilentParameterBuilder. See Understanding MsalUiRequiredException for details.

MessageOnly 1

Issue cannot be resolved. Launching interactive authentication flow will show a message explaining the condition. See Understanding MsalUiRequiredException for details.

BasicAction 2

Issue can be resolved by user interaction during the interactive authentication flow. See Understanding MsalUiRequiredException for details.

AdditionalAction 3

Issue can be resolved by additional remedial interaction within 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 will be unable to complete the action. See Understanding MsalUiRequiredException 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 Understanding MsalUiRequiredException for details.

UserPasswordExpired 5

User's password has expired. Issue can be resolved by user during the interactive authentication flow. See Understanding MsalUiRequiredException for details.

PromptNeverFailed 6

WithPrompt(Prompt) was used with a Prompt.Never value, however this could not be honored by the server. Please use a different prompt behavior, such as SelectAccount. See Understanding MsalUiRequiredException for details.

AcquireTokenSilentFailed 7

An AcquireTokenSilentParameterBuilder call failed. This is usually part of the pattern of calling AcquireTokenSilentParameterBuilder for getting a token from the cache, followed by an a different AcquireToken call for getting a token from Microsoft Entra ID. See the error message for details. See Understanding MsalUiRequiredException for details.

Applies to