com.microsoft.identity.client.internal.controllers.MsalExceptionAdapter.msalExceptionFromBaseException (MsalExceptionAdapter.java:73)

Anil Kumar Kokkiligadda 0 Reputation points
2023-11-19T04:12:02.65+00:00

Hi,

We're getting crash reports from this error within MSAL Android SDK. The app is not crashing but we're seeing reports like below in the crashlytics dashboard. This is occurring very frequently.

Screenshot 2023-11-19 at 9.23.00 AM

I followed through these Github issues. Seems like they're closed as false positives.

Here:

https://github.com/AzureAD/microsoft-authentication-library-for-android/issues/1200

https://github.com/AzureAD/microsoft-authentication-library-for-android/issues/1216

We're currently using the following MSAL library version for Android.

'com.microsoft.identity.client:msal:4.9.0'

Please help as these are occurring in the SDK itself and is out of our reach.

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
2,994 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,341 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,501 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. 2023-11-23T19:05:57.3866667+00:00

    Hello @Anil Kumar Kokkiligadda , the Azure AD B2C AADB2C90080 error is being thrown and logged due an expired token. The app is not crashing most probably due to the exception being handled and logged. Unless the app crashes you may dismiss the error being logged or skip logging it.

    For more information about extending token lifetime take a look to Token lifetime behavior.

    For more information about handling MSAL errors take a look to Handle errors and exceptions in MSAL for Java.

    Let us know if you need additional assistance. If the answer was helpful, please accept it and rate it so that others facing a similar issue can easily find a solution.

    0 comments No comments