Is there an MSAL error code list?

ClassPolicy 11 Reputation points
2022-06-26T07:17:47.643+00:00

Is there a list of MSAL error codes? For example, when I close the interactive login, MSAL throws a ServiceException with an inner exception of MsalClientException, whose ErrorCode field is "authentication_canceled". Is there a list of all possible error codes?

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
23,198 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Alfredo Revilla - Upwork Top Talent | IAM SWE SWA 27,491 Reputation points
    2022-06-28T03:53:40.407+00:00

    Hello @ClassPolicy , you can find MSAL Error Codes within the MsalError class.

    Also, take a look to Handle errors and exceptions in MSAL.NET.

    Let us know if this answer was helpful to you or if you need additional assistance. If it was helpful, please remember to accept it and complete the quality survey so that others in the community with similar questions can more easily find a rated solution.

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.