Microsoft.Identity.Client.MsalServiceException
Exception type thrown when service returns an error response or other networking errors occur.
For more details, see https://aka.ms/msal-net-exceptions
Additional claims requested by the service. When this property is not null or empty, this means that the service requires the user to
provide additional claims, such as doing two factor authentication. The are two cases:
If your application is a IPublicClientApplication, you should just call AcquireTokenInteractive
and add the WithClaims modifier.
>If your application is a IConfidentialClientApplication, (therefore doing the On-Behalf-Of flow), you should throw an HTTP unauthorize
exception with a message containing the claims
For more details see https://aka.ms/msal-net-claim-challenge
Contains the HTTP headers from the server response that indicated an error.
Raw response body received from the server.
Gets the status code returned from HTTP layer. This status code is either the HttpStatusCode in the inner
HttpRequestException response or the NavigateError Event Status Code in a browser based flow (see NavigateError Event Status Codes).
You can use this code for purposes such as implementing retry logic or error investigation.
Initializes a new instance of the exception class with a specified
error code, error message and a reference to the inner exception that is the cause of
this exception.
Initializes a new instance of the exception class with a specified
error code, error message and a reference to the inner exception that is the cause of
this exception.
Initializes a new instance of the exception class with a specified
error code, error message and a reference to the inner exception that is the cause of
this exception.
public MsalServiceException(string errorCode, string errorMessage, int statusCode, Exception innerException)
Initializes a new instance of the exception class with a specified
error code, error message and a reference to the inner exception that is the cause of
this exception.
public MsalServiceException(string errorCode, string errorMessage, int statusCode, string claims, Exception innerException)
Initializes a new instance of the exception class with a specified
error code, error message and a reference to the inner exception that is the cause of
this exception.
As per discussion with Evo, AAD