<PackageReference Include="Microsoft.Identity.Client" Version="4.84.1-preview" />

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
public string Claims { get; }

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

public HttpResponseHeaders Headers { get; set; }

Contains the HTTP headers from the server response that indicated an error.

public string ResponseBody { get; set; }

Raw response body received from the server.

public int StatusCode { get; }

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.

public MsalServiceException(string errorCode, string errorMessage)

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)

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, 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, 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.

protected virtual void UpdateIsRetryable()

As per discussion with Evo, AAD