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.
3,668 questions
Microsoft Security | Microsoft Entra | Microsoft Entra ID
Microsoft Security | Microsoft Graph
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Alfredo Revilla - Upwork Top Talent | IAM SWE SWA 27,526 Reputation points Moderator
    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

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.