AdalError AdalError AdalError Class

Definition

Error code returned as a property in AdalException

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

Fields

AccessingWsMetadataExchangeFailed AccessingWsMetadataExchangeFailed AccessingWsMetadataExchangeFailed

Accessing WS Metadata Exchange Failed.

AssemblyLoadFailed AssemblyLoadFailed AssemblyLoadFailed

Loading required assembly failed.

AssemblyNotFound AssemblyNotFound AssemblyNotFound

Assembly not found.

AuthenticationCanceled AuthenticationCanceled AuthenticationCanceled

Authentication canceled.

AuthenticationFailed AuthenticationFailed AuthenticationFailed

Authentication failed.

AuthenticationUiFailed AuthenticationUiFailed AuthenticationUiFailed

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

AuthorityNotInValidList AuthorityNotInValidList AuthorityNotInValidList

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

AuthorityValidationFailed AuthorityValidationFailed AuthorityValidationFailed

Authority validation failed.

BrokerRedirectUriIncorrectFormat BrokerRedirectUriIncorrectFormat BrokerRedirectUriIncorrectFormat

Broker redirectUri has incorrect format

BrokerReponseHashMismatch BrokerReponseHashMismatch BrokerReponseHashMismatch

Broker response hash did not match

CannotAccessUserInformationOrUserNotDomainJoined CannotAccessUserInformationOrUserNotDomainJoined CannotAccessUserInformationOrUserNotDomainJoined

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

CertificateKeySizeTooSmall CertificateKeySizeTooSmall CertificateKeySizeTooSmall

Certificate key size too small.

CustomWebUiRedirectUriMismatch CustomWebUiRedirectUriMismatch 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 CustomWebUiReturnedInvalidUri 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 DeviceCertificateNotFound DeviceCertificateNotFound

Device certificate not found.

DeviceCodeAuthorizationCodeExpired DeviceCodeAuthorizationCodeExpired DeviceCodeAuthorizationCodeExpired

The device code expiered before it was sent to the server

DeviceCodeAuthorizationPendingError DeviceCodeAuthorizationPendingError 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 DuplicateQueryParameter DuplicateQueryParameter

Duplicate query parameter in extraQueryParameters

EmailAddressSuffixMismatch EmailAddressSuffixMismatch EmailAddressSuffixMismatch

Email address suffix mismatch.

EncodedTokenTooLong EncodedTokenTooLong EncodedTokenTooLong

Encoded token too long.

FailedToAcquireTokenSilently FailedToAcquireTokenSilently FailedToAcquireTokenSilently

failed_to_acquire_token_silently.

FailedToRefreshToken FailedToRefreshToken FailedToRefreshToken

Failed to refresh token.

FederatedServiceReturnedError FederatedServiceReturnedError FederatedServiceReturnedError

Federated service returned error.

FormPostParsingFailure FormPostParsingFailure FormPostParsingFailure

Form post parsing failure

GetUserNameFailed GetUserNameFailed GetUserNameFailed

Failed to get user name.

HttpRequestTimeoutResilience HttpRequestTimeoutResilience HttpRequestTimeoutResilience

An http request has timed out after being retried once

IdentityProtocolLoginUrlNull IdentityProtocolLoginUrlNull IdentityProtocolLoginUrlNull

Identity protocol login URL Null.

IdentityProtocolMismatch IdentityProtocolMismatch IdentityProtocolMismatch

Identity protocol mismatch.

IdentityProviderRequestFailed IdentityProviderRequestFailed IdentityProviderRequestFailed

Identity provider request failed.

IntegratedAuthFailed IntegratedAuthFailed IntegratedAuthFailed

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

IntegratedWindowsAuthNotSupportedForManagedUser IntegratedWindowsAuthNotSupportedForManagedUser IntegratedWindowsAuthNotSupportedForManagedUser

Integrated Windows Auth is only supported for "federated" users

InteractionRequired InteractionRequired InteractionRequired

Claims step-up required.

InvalidArgument InvalidArgument InvalidArgument

Invalid argument.

InvalidAuthorityType InvalidAuthorityType InvalidAuthorityType

Invalid authority type.

InvalidCredentialType InvalidCredentialType InvalidCredentialType

Invalid credential type.

InvalidOwnerWindowType InvalidOwnerWindowType InvalidOwnerWindowType

Invalid owner window type.

InvalidServiceUrl InvalidServiceUrl InvalidServiceUrl

Invalid service URL.

InvalidWebBrowserType InvalidWebBrowserType InvalidWebBrowserType

Invalid web browser type.

InvalidWebPageResponse InvalidWebPageResponse InvalidWebPageResponse

Invalid web page response

JsonParseError JsonParseError JsonParseError

JSON Parse error.

MissingFederationMetadataUrl MissingFederationMetadataUrl MissingFederationMetadataUrl

Federation Metadata Url is missing for federated user.

MultipleTokensMatched MultipleTokensMatched MultipleTokensMatched

MultipleTokensMatched were matched.

NetStandardCustomWebUi NetStandardCustomWebUi NetStandardCustomWebUi

Error code used when

NetworkNotAvailable NetworkNotAvailable NetworkNotAvailable

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

NoDataFromSts NoDataFromSts NoDataFromSts

No data from STS.

NonHttpsRedirectNotSupported NonHttpsRedirectNotSupported NonHttpsRedirectNotSupported

Non https redirect failed

ParsingWsMetadataExchangeFailed ParsingWsMetadataExchangeFailed ParsingWsMetadataExchangeFailed

Parsing WS Metadata Exchange Failed.

ParsingWsTrustResponseFailed ParsingWsTrustResponseFailed ParsingWsTrustResponseFailed

Parsing WS-Trust Response Failed.

PasswordRequiredForManagedUserError PasswordRequiredForManagedUserError PasswordRequiredForManagedUserError

Password is required for managed user.

ServiceReturnedError ServiceReturnedError ServiceReturnedError

Service returned error.

ServiceUnavailable ServiceUnavailable ServiceUnavailable

Service unavailable.

StateMismatchError StateMismatchError 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 StsMetadataRequestFailed StsMetadataRequestFailed

STS metadata request failed.

StsTokenRequestFailed StsTokenRequestFailed StsTokenRequestFailed

STS token request failed.

UapRedirectUriUnsupported UapRedirectUriUnsupported UapRedirectUriUnsupported

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

UnauthorizedResponseExpected UnauthorizedResponseExpected UnauthorizedResponseExpected

Unauthorized response expected from resource server.

Unknown Unknown Unknown

Unknown error.

UnknownUser UnknownUser UnknownUser

Unknown User.

UnknownUserType UnknownUserType UnknownUserType

Unknown User Type.

UserInteractionRequired UserInteractionRequired 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 UserMismatch UserMismatch

User Mismatch.

UserRealmDiscoveryFailed UserRealmDiscoveryFailed UserRealmDiscoveryFailed

User Realm Discovery Failed.

WsTrustEndpointNotFoundInMetadataDocument WsTrustEndpointNotFoundInMetadataDocument WsTrustEndpointNotFoundInMetadataDocument

WS-Trust Endpoint Not Found in Metadata Document.

Applies to