author | ms.author | ms.date | ms.service | ms.subservice | ms.topic |
---|---|---|---|---|---|
mmacy |
marsma |
11/25/2020 |
active-directory |
develop |
include |
This article gives an overview of the different types of errors and recommendations for handling common sign-in errors.
Exceptions in Microsoft Authentication Library (MSAL) are intended for app developers to troubleshoot, not for displaying to end users. Exception messages are not localized.
When processing exceptions and errors, you can use the exception type itself and the error code to distinguish between exceptions. For a list of error codes, see Azure AD Authentication and authorization error codes.
During the sign-in experience, you may encounter errors about consents, Conditional Access (MFA, Device Management, Location-based restrictions), token issuance and redemption, and user properties.
The following section provides more details about error handling for your app.