AdalError Class

Definition

Error code returned as a property in AdalException

public static class AdalError
type AdalError = class
Public Class AdalError
Inheritance
AdalError

Fields

AccessingWsMetadataExchangeFailed

Accessing WS Metadata Exchange Failed.

AssemblyLoadFailed

Loading required assembly failed.

AssemblyNotFound

Assembly not found.

AuthenticationCanceled

Authentication canceled.

AuthenticationFailed

Authentication failed.

AuthenticationUiFailed

The request could not be preformed because of an unknown failure in the UI flow.

AuthorityNotInValidList

'authority' is not in the list of valid addresses.

AuthorityValidationFailed

Authority validation failed.

BrokerRedirectUriIncorrectFormat

Broker redirectUri has incorrect format

BrokerReponseHashMismatch

Broker response hash did not match

CannotAccessUserInformationOrUserNotDomainJoined

Cannot fetch the upn from the OS, possibly due to missing permissions

CertificateKeySizeTooSmall

Certificate key size too small.

CustomWebUiRedirectUriMismatch

Error code used when the CustomWebUI has returned an uri, but it does not match the Authroity and AbsolutePath of the configured redirect uri.

CustomWebUiReturnedInvalidUri

Error code used when the CustomWebUI has returned an uri, but it is invalid - it is either null or has no code. Consider throwing an exception if you are unable to intercept the uri containing the code.

DeviceCertificateNotFound

Device certificate not found.

DeviceCodeAuthorizationCodeExpired

The device code expiered before it was sent to the server

DeviceCodeAuthorizationPendingError

This library is still polling to see if the user entered the code as instructed by the device code message. This is for information only, not an error.

DuplicateQueryParameter

Duplicate query parameter in extraQueryParameters

EmailAddressSuffixMismatch

Email address suffix mismatch.

EncodedTokenTooLong

Encoded token too long.

FailedToAcquireTokenSilently

failed_to_acquire_token_silently.

FailedToRefreshToken

Failed to refresh token.

FederatedServiceReturnedError

Federated service returned error.

FormPostParsingFailure

Form post parsing failure

GetUserNameFailed

Failed to get user name.

HttpRequestTimeoutResilience

An http request has timed out after being retried once

IdentityProtocolLoginUrlNull

Identity protocol login URL Null.

IdentityProtocolMismatch

Identity protocol mismatch.

IdentityProviderRequestFailed

Identity provider request failed.

IntegratedAuthFailed

Integrated authentication failed. You may try an alternative authentication method.

IntegratedWindowsAuthNotSupportedForManagedUser

Integrated Windows Auth is only supported for "federated" users

InteractionRequired

Claims step-up required.

InvalidArgument

Invalid argument.

InvalidAuthorityType

Invalid authority type.

InvalidCredentialType

Invalid credential type.

InvalidOwnerWindowType

Invalid owner window type.

InvalidServiceUrl

Invalid service URL.

InvalidWebBrowserType

Invalid web browser type.

InvalidWebPageResponse

Invalid web page response

JsonParseError

JSON Parse error.

MissingFederationMetadataUrl

Federation Metadata Url is missing for federated user.

MultipleTokensMatched

MultipleTokensMatched were matched.

NetStandardCustomWebUi

Error code used when

NetworkNotAvailable

The request could not be preformed because the network is down.

NoDataFromSts

No data from STS.

NonHttpsRedirectNotSupported

Non https redirect failed

ParsingWsMetadataExchangeFailed

Parsing WS Metadata Exchange Failed.

ParsingWsTrustResponseFailed

Parsing WS-Trust Response Failed.

PasswordRequiredForManagedUserError

Password is required for managed user.

ServiceReturnedError

Service returned error.

ServiceUnavailable

Service unavailable.

StateMismatchError

State returned from the STS was different from the one sent by the library

What happens?

The library sends to the STS a state associated to a request, and expects the reply to be consistent. This errors indicates that the reply is not associated with the request. This could indicate an attempt to replay a response

Mitigation

None
StsMetadataRequestFailed

STS metadata request failed.

StsTokenRequestFailed

STS token request failed.

UapRedirectUriUnsupported

PromptBehavior.Never is supported in SSO mode only (null or application's callback URI as redirectUri)

UnauthorizedResponseExpected

Unauthorized response expected from resource server.

Unknown

Unknown error.

UnknownUser

Unknown User.

UnknownUserType

Unknown User Type.

UserInteractionRequired

One of two conditions was encountered.

  1. The PromptBehavior.Never flag was passed and but the constraint could not be honored because user interaction was required.
  2. An error occurred during a silent web authentication that prevented the authentication flow from completing in a short enough time frame.
UserMismatch

User Mismatch.

UserRealmDiscoveryFailed

User Realm Discovery Failed.

WsTrustEndpointNotFoundInMetadataDocument

WS-Trust Endpoint Not Found in Metadata Document.

Applies to