An error occurred while connecting backup

Luigi Zurolo 51 Reputation points
2022-05-07T16:44:59.01+00:00

Hello,

I'm attempting to reinstall the MS Authenticator app on a new device and this if the first time I'm unable to connect the backup.

When I try to restore it I get: "an error occurred, please send logs via the feedback option", and keep getting this error anytime I try. I've tried to add first the account then, going into settings and try to enable the backup and as soon as I touch the checkbox I get the same exact error too.

So I'm locked I can't either restore my backup but I start adding new accounts I can't enable backup. The error is quite generic and I've the impression probably something is corrupted / wrong on my account / my backup.

Unfortunately I don't have available anymore the old device but I've tried to install the app also on an older device I have and same exact issue. I never had any problems before with backups.

This is an extract of the logs (the error message is printed in Italian) which I sent multiple times via the feedback but I need a resolution to know if I can restore the backup or setup new accounts but enable again the backup.

2022-05-07 14:02:35,517 WARN/App: Logs have been deleted: true RemoveLogsUseCase$removeLogs$2.invokeSuspend()@45 [DefaultDispatcher-worker-7]2022-05-07 14:02:35,525 INFO/App: Dialog task CallbackDialogTask, id = RestoreFlowActivity.[null].[Ripristino dal backup].[PROGRESS_DIALOG] was closed. DialogFragmentManager$Companion.dismissProgressDialog()@28 [main]2022-05-07 14:02:35,525 INFO/App: Dialog task RestoreFlowActivity.[null].[Ripristino dal backup].[PROGRESS_DIALOG] has finished. DialogTaskQueue.tryCloseDialog()@104 [main]2022-05-07 14:02:35,526 INFO/App: Task CallbackDialogTask, id = RestoreFlowActivity.[Non è possibile ripristinare].[Si è verificato un errore. Inviare i log tramite l'opzione Invia log.].[INFO_DIALOG] has been put to the queue. DialogFragmentManager.enqueueCustomDialogFragment()@115 [main]2022-05-07 14:02:35,526 INFO/App: Proceed to showing: CallbackDialogTask, id = RestoreFlowActivity.[Non è possibile ripristinare].[Si è verificato un errore. Inviare i log tramite l'opzione Invia log.].[INFO_DIALOG] DialogTaskQueue.enqueueTask()@62 [main]2022-05-07 14:02:35,528 WARN/App: Attempted to finish taskId = RestoreFlowActivity.[null].[Ripristino dal backup].[PROGRESS_DIALOG] but it's not shown by DialogTaskQueue now. DialogFragmentManager$enqueueCustomDialogFragment$1.run()@107 [main]2022-05-07 14:02:35,562 INFO/App: Merging broker accounts into accounts list BrokerAccountUseCase$mergeBrokerAccounts$2.invokeSuspend()@84 [DefaultDispatcher-worker-2]2022-05-07 14:02:35,702 INFO/Broker: [com.microsoft.identity.client.api.BrokerApiController] [2022-05-07 14:02:35 - thread_name : DefaultDispatcher-worker-9, correlation_id : UNSET]  Android 31 Broker Strategies added : ContentProviderStrategy, AccountManagerUpdateCredentialStrategy,  ThreadPoolExecutor$Worker.run()@641 [pool-18-thread-1]2022-05-07 14:02:35,702 INFO/Broker: [BrokerOperationExecutor:getBrokerAccounts] [2022-05-07 14:02:35 - thread_name : DefaultDispatcher-worker-9, correlation_id : UNSET]  Android 31 Executing with IIpcStrategy: ContentProviderStrategy ThreadPoolExecutor$Worker.run()@641 [pool-18-thread-1]2022-05-07 14:02:35,702 INFO/Broker: [com.microsoft.identity.common.internal.broker.ipc.ContentProviderStrategyBROKER_API_HELLO] [2022-05-07 14:02:35 - thread_name : DefaultDispatcher-worker-9, correlation_id : UNSET]  Android 31 Request to BrokerContentProvider for uri path /brokerApi/hello ThreadPoolExecutor$Worker.run()@641 [pool-18-thread-1]2022-05-07 14:02:35,710 INFO/Broker: [com.microsoft.identity.common.internal.broker.ipc.ContentProviderStrategyBROKER_API_HELLO] [2022-05-07 14:02:35 - thread_name : DefaultDispatcher-worker-9, correlation_id : UNSET]  Android 31 Received successful result from Broker Content Provider. ThreadPoolExecutor$Worker.run()@641 [pool-18-thread-1]2022-05-07 14:02:35,710 INFO/Broker: [com.microsoft.identity.common.internal.result.MsalBrokerResultAdapter:verifyHelloFromResultBundle] [2022-05-07 14:02:35 - thread_name : DefaultDispatcher-worker-9, correlation_id : UNSET]  Android 31 Able to establish the connect, the broker protocol version in common is [2.0] ThreadPoolExecutor$Worker.run()@641 [pool-18-thread-1]2022-05-07 14:02:35,710 INFO/Broker: [com.microsoft.identity.common.internal.broker.ipc.ContentProviderStrategyBROKER_API_GET_BROKER_ACCOUNTS] [2022-05-07 14:02:35 - thread_name : DefaultDispatcher-worker-9, correlation_id : UNSET]  Android 31 Request to BrokerContentProvider for uri path /brokerApi/getBrokerAccounts ThreadPoolExecutor$Worker.run()@641 [pool-18-thread-1]2022-05-07 14:02:35,722 INFO/Broker: [com.microsoft.identity.common.internal.broker.ipc.ContentProviderStrategyBROKER_API_GET_BROKER_ACCOUNTS] [2022-05-07 14:02:35 - thread_name : DefaultDispatcher-worker-9, correlation_id : UNSET]  Android 31 Received successful result from Broker Content Provider. ThreadPoolExecutor$Worker.run()@641 [pool-18-thread-1]2022-05-07 14:02:35,722 INFO/App: Total number of broker accounts: 0 BrokerAccountUseCase$mergeBrokerAccounts$2.invokeSuspend()@88 [DefaultDispatcher-worker-2]2022-05-07 14:02:35,724 INFO/App: hasDosPreventer = false AccountStorageCustomQueries.hasMfaAccountsConfiguredForNotifications()@99 [DefaultDispatcher-worker-2]2022-05-07 14:02:35,865 INFO/MSA: ManageApproverResponse: <?xml version="1.0" encoding="utf-8" ?><S:Envelope xmlns:S="http://www.w3.org/2003/05/soap-envelope" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsa="http://www.w3.org/2005/08/addressing"><S:Header></S:Header><S:Body xmlns:ps="http://schemas.microsoft.com/Passport/SoapServices/PPCRL"><ps:ManageApproverResponse Success="true"><ps:ServerInfo ServerTime="2022-05-07T14:02:37Z">(35)</ps:ServerInfo></ps:ManageApproverResponse></S:Body></S:Envelope> AbstractStsResponse.parse()@45 [DefaultDispatcher-worker-7]2022-05-07 14:02:35,868 INFO/MSA: Account is unregistered for session approval. SessionManager.unregister()@280 [DefaultDispatcher-worker-7]2022-05-07 14:02:35,869 INFO/App: Successfully unregistered MSA account MsaAccountUseCase$unregisterAccount$2.invokeSuspend()@146 [DefaultDispatcher-worker-7]2022-05-07 14:02:35,872 INFO/App: Unregister account for session approval result = Success RestoreFlowViewModel$cleanUpAfterUnsuccessfulRestore$1.invokeSuspend()@54 [DefaultDispatcher-worker-7]2022-05-07 14:02:36,433 INFO/App: Dialog task RestoreFlowActivity.[Non è possibile ripristinare].[Si è verificato un errore. Inviare i log tramite l'opzione Invia log.].[INFO_DIALOG] has finished. DialogFragmentManager$enqueueCustomDialogFragment$1.run()@107 [main]2022-05-07 14:02:36,465 INFO/App: Request code: [1720431897]. Result Code: [20]. Intent is null: [true] MainActivity.onActivityResult()@369 [main]2022-05-07 14:02:36,466 INFO/App: onActivityResult: requestCode = 1720431897, resultCode = 20 BackupModule.onActivityResult()@129 [main]2022-05-07 14:02:36,466 INFO/App: onActivityResult: requestCode = 1720431897, resultCode = 20 RootActivityBase.onActivityResult()@53 [main]2022-05-07 14:02:36,466 ERROR/App: Unknown request. MainActivity.onActivityResult()@393 [main]2022-05-07 14:02:36,467 INFO/App: onResume MainActivity.onResume()@260 [main]2022-05-07 14:02:36,470 INFO/App: Task IntentTask, id = com.microsoft.authenticator.commonuilibrary.ui.AppLockActivity has been put to the queue. AppLockManager.enqueueAppLock()@124 [main]

Thank you very much.

Microsoft Authenticator
Microsoft Authenticator
A Microsoft app for iOS and Android devices that enables authentication with two-factor verification, phone sign-in, and code generation.
5,446 questions
{count} votes

10 answers

Sort by: Most helpful
  1. risolis 8,701 Reputation points
    2022-05-07T18:58:26.337+00:00

    Hello @Luigi Zurolo

    Welcome to Microsoft Q&A Platform.

    Please let me give you some info that might help....

    199943-image.png

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    0 comments No comments

  2. Luigi Zurolo 51 Reputation points
    2022-05-07T19:03:51.157+00:00

    Hello @risolis ,

    thank you very much.

    no I haven't setup first an account, I know the procedure because I did it many times.

    From the home screen I use restore the backup, login with my MS account, and then it stops with the "an error occurred" error.

    After that, to test, I've tried to add the account, enable the backup to see if it would enable (also in case this might be risking backup to be overridden) but same error appears here too, then deleted the account and retried many times from the main screen.

    Seems all is wrong with that option / my data .. or the app? The logs report that strange Unknown request error which leads to the message on the screen in the app.


  3. Erwin 26 Reputation points
    2022-05-07T19:30:04.767+00:00

    App details:
    App version: 6.2204.2757
    App version code: 202227570
    ADAL version: 4.0.2
    MSAL version: 3.0.2
    Broker version: 4.0.6

                Device details:
                Android version: 12
                Android build: samsung/b0sxeea/b0s:12/SP1A.210812.016/S908BXXU1AVDA:user/release-keys
                Device name: b0s
                Device ID: SP1A.210812.016
                Device manufacturer: samsung
                Device model: SM-S908B
                Device display: SP1A.210812.016.S908BXXU1AVDA
                Device brand: samsung
                Device hardware: s5e9925
                Locale: en_NL
    

    ACCOUNTS
    None
    2022-05-07 19:27:49,998 WARN/App: Logs have been deleted: true RemoveLogsUseCase$removeLogs$2.invokeSuspend()@45 [DefaultDispatcher-worker-5]
    2022-05-07 19:27:50,028 INFO/App: Dialog task CallbackDialogTask, id = RestoreFlowActivity.[null].[Recovering from backup].[PROGRESS_DIALOG] was closed. DialogFragmentManager$Companion.dismissProgressDialog()@28 [main]
    2022-05-07 19:27:50,030 INFO/App: Dialog task RestoreFlowActivity.[null].[Recovering from backup].[PROGRESS_DIALOG] has finished. DialogTaskQueue.tryCloseDialog()@104 [main]
    2022-05-07 19:27:50,032 INFO/App: Task CallbackDialogTask, id = RestoreFlowActivity.[Unable to recover].[Something went wrong. Please send us logs using the Send logs option.].[INFO_DIALOG] has been put to the queue. DialogFragmentManager.enqueueCustomDialogFragment()@115 [main]
    2022-05-07 19:27:50,033 INFO/App: Proceed to showing: CallbackDialogTask, id = RestoreFlowActivity.[Unable to recover].[Something went wrong. Please send us logs using the Send logs option.].[INFO_DIALOG] DialogTaskQueue.enqueueTask()@62 [main]
    2022-05-07 19:27:50,041 WARN/App: Attempted to finish taskId = RestoreFlowActivity.[null].[Recovering from backup].[PROGRESS_DIALOG] but it's not shown by DialogTaskQueue now. DialogFragmentManager$enqueueCustomDialogFragment$1.run()@107 [main]
    2022-05-07 19:27:50,110 INFO/App: Merging broker accounts into accounts list BrokerAccountUseCase$mergeBrokerAccounts$2.invokeSuspend()@84 [DefaultDispatcher-worker-1]
    2022-05-07 19:27:50,195 INFO/Broker: [com.microsoft.identity.client.api.BrokerApiController] [2022-05-07 19:27:50 - thread_name : DefaultDispatcher-worker-1, correlation_id : UNSET] Android 31 Broker Strategies added : ContentProviderStrategy, AccountManagerUpdateCredentialStrategy, ThreadPoolExecutor$Worker.run()@641 [pool-18-thread-1]
    2022-05-07 19:27:50,196 INFO/Broker: [BrokerOperationExecutor:getBrokerAccounts] [2022-05-07 19:27:50 - thread_name : DefaultDispatcher-worker-1, correlation_id : UNSET] Android 31 Executing with IIpcStrategy: ContentProviderStrategy ThreadPoolExecutor$Worker.run()@641 [pool-18-thread-1]
    2022-05-07 19:27:50,196 INFO/Broker: [com.microsoft.identity.common.internal.broker.ipc.ContentProviderStrategyBROKER_API_HELLO] [2022-05-07 19:27:50 - thread_name : DefaultDispatcher-worker-1, correlation_id : UNSET] Android 31 Request to BrokerContentProvider for uri path /brokerApi/hello ThreadPoolExecutor$Worker.run()@641 [pool-18-thread-1]
    2022-05-07 19:27:50,199 INFO/Broker: [com.microsoft.identity.common.internal.broker.ipc.ContentProviderStrategyBROKER_API_HELLO] [2022-05-07 19:27:50 - thread_name : DefaultDispatcher-worker-1, correlation_id : UNSET] Android 31 Received successful result from Broker Content Provider. ThreadPoolExecutor$Worker.run()@641 [pool-18-thread-1]
    2022-05-07 19:27:50,199 INFO/Broker: [com.microsoft.identity.common.internal.result.MsalBrokerResultAdapter:verifyHelloFromResultBundle] [2022-05-07 19:27:50 - thread_name : DefaultDispatcher-worker-1, correlation_id : UNSET] Android 31 Able to establish the connect, the broker protocol version in common is [2.0] ThreadPoolExecutor$Worker.run()@641 [pool-18-thread-1]
    2022-05-07 19:27:50,200 INFO/Broker: [com.microsoft.identity.common.internal.broker.ipc.ContentProviderStrategyBROKER_API_GET_BROKER_ACCOUNTS] [2022-05-07 19:27:50 - thread_name : DefaultDispatcher-worker-1, correlation_id : UNSET] Android 31 Request to BrokerContentProvider for uri path /brokerApi/getBrokerAccounts ThreadPoolExecutor$Worker.run()@641 [pool-18-thread-1]
    2022-05-07 19:27:50,204 INFO/Broker: [com.microsoft.identity.common.internal.broker.ipc.ContentProviderStrategyBROKER_API_GET_BROKER_ACCOUNTS] [2022-05-07 19:27:50 - thread_name : DefaultDispatcher-worker-1, correlation_id : UNSET] Android 31 Received successful result from Broker Content Provider. ThreadPoolExecutor$Worker.run()@641 [pool-18-thread-1]
    2022-05-07 19:27:50,204 INFO/App: Total number of broker accounts: 0 BrokerAccountUseCase$mergeBrokerAccounts$2.invokeSuspend()@88 [DefaultDispatcher-worker-1]
    2022-05-07 19:27:50,206 INFO/App: hasDosPreventer = false AccountStorageCustomQueries.hasMfaAccountsConfiguredForNotifications()@99 [DefaultDispatcher-worker-1]
    2022-05-07 19:27:50,396 INFO/MSA: ManageApproverResponse: <?xml version="1.0" encoding="utf-8" ?><S:Envelope xmlns:S="http://www.w3.org/2003/05/soap-envelope" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsa="http://www.w3.org/2005/08/addressing"><S:Header></S:Header><S:Body xmlns:ps="http://schemas.microsoft.com/Passport/SoapServices/PPCRL"><ps:ManageApproverResponse Success="true"><ps:ServerInfo ServerTime="2022-05-07T19:27:52Z">(35)</ps:ServerInfo></ps:ManageApproverResponse></S:Body></S:Envelope> AbstractStsResponse.parse()@45 [DefaultDispatcher-worker-5]
    2022-05-07 19:27:50,400 INFO/MSA: Account is unregistered for session approval. SessionManager.unregister()@280 [DefaultDispatcher-worker-5]
    2022-05-07 19:27:50,401 INFO/App: Successfully unregistered MSA account MsaAccountUseCase$unregisterAccount$2.invokeSuspend()@146 [DefaultDispatcher-worker-5]
    2022-05-07 19:27:50,403 INFO/App: Unregister account for session approval result = Success RestoreFlowViewModel$cleanUpAfterUnsuccessfulRestore$1.invokeSuspend()@54 [DefaultDispatcher-worker-5]
    2022-05-07 19:27:52,375 INFO/App: Dialog task RestoreFlowActivity.[Unable to recover].[Something went wrong. Please send us logs using the Send logs option.].[INFO_DIALOG] has finished. DialogFragmentManager$enqueueCustomDialogFragment$1.run()@107 [main]
    2022-05-07 19:27:52,394 INFO/App: Request code: [6]. Result Code: [20]. Intent is null: [true] MainActivity.onActivityResult()@369 [main]
    2022-05-07 19:27:52,395 INFO/App: onActivityResult: requestCode = 6, resultCode = 20 BackupModule.onActivityResult()@129 [main]
    2022-05-07 19:27:52,395 INFO/App: onActivityResult: requestCode = 6, resultCode = 20 RootActivityBase.onActivityResult()@53 [main]
    2022-05-07 19:27:52,396 INFO/App: onResume MainActivity.onResume()@260 [main]
    2022-05-07 19:27:52,401 INFO/App: Network status on the device. isConnected = true NetworkChangeManager.registerForNetworkChangesInternal()@44 [main]
    2022-05-07 19:27:52,418 INFO/Broker: [WorkplaceJoinOperation#getAccount] [2022-05-07 19:27:52 - thread_name : pool-44-thread-1, correlation_id : UNSET] Android 31 WPJ account does not exist. ThreadPoolExecutor$Worker.run()@641 [pool-18-thread-1]
    2022-05-07 19:27:52,419 INFO/App: Device is not workplace joined. AccountsListViewModel$validateWpjNgcAccount$1.invokeSuspend()@173 [DefaultDispatcher-worker-1]
    2022-05-07 19:27:56,772 WARN/App: File not found: authenticator.1.txt CollectLogsUtils.readFileFromInternalStorage()@145 [AsyncTask #6]
    2022-05-07 19:27:56,773 WARN/App: File not found: broker.1.txt CollectLogsUtils.readFileFromInternalStorage()@145 [AsyncTask #6]
    2022-05-07 19:27:56,773 WARN/App: File not found: brooklyn.1.txt CollectLogsUtils.readFileFromInternalStorage()@145 [AsyncTask #6]
    2022-05-07 19:27:56,773 WARN/App: File not found: experimentation.1.txt CollectLogsUtils.readFileFromInternalStorage()@145 [AsyncTask #6]
    2022-05-07 19:27:56,773 WARN/App: File not found: DID.1.txt CollectLogsUtils.readFileFromInternalStorage()@145 [AsyncTask #6]
    2022-05-07 19:27:56,773 WARN/App: File not found: authenticator.txt1 CollectLogsUtils.readFileFromInternalStorage()@145 [AsyncTask #6]
    2022-05-07 19:27:56,774 WARN/App: File not found: broker.txt1 CollectLogsUtils.readFileFromInternalStorage()@145 [AsyncTask #6]
    2022-05-07 19:27:56,774 WARN/App: File not found: brooklyn.txt1 CollectLogsUtils.readFileFromInternalStorage()@145 [AsyncTask #6]
    2022-05-07 19:27:56,774 WARN/App: File not found: experimentation.txt1 CollectLogsUtils.readFileFromInternalStorage()@145 [AsyncTask #6]
    2022-05-07 19:27:56,774 WARN/App: File not found: DID.txt1 CollectLogsUtils.readFileFromInternalStorage()@145 [AsyncTask #6]
    2022-05-07 19:27:50,197 INFO/ROOT: [com.microsoft.identity.client.BrokerContentProvider] [2022-05-07 19:27:50 - thread_name : Binder:15064_1, correlation_id : UNSET] Android 31 Broker content provider invoked for uriType: 9 ThreadPoolExecutor$Worker.run()@641 [pool-4-thread-1]
    2022-05-07 19:27:50,199 INFO/ROOT: [MicrosoftBrokerServiceOperation:hello] [2022-05-07 19:27:50 - thread_name : Binder:15064_1, correlation_id : UNSET] Android 31 MicrosoftBrokerServiceOperation starts hello for package name: com.azure.authenticator ThreadPoolExecutor$Worker.run()@641 [pool-4-thread-1]
    2022-05-07 19:27:50,200 INFO/ROOT: [com.microsoft.identity.client.BrokerUtils#createHelloResultBundle] [2022-05-07 19:27:50 - thread_name : Binder:15064_1, correlation_id : UNSET] Android 31 Calling app broker protocol version: 2.0
    Calling app required broker protocol version: 1.0
    Broker app protocol version: 2.0 ThreadPoolExecutor$Worker.run()@641 [pool-4-thread-1]
    2022-05-07 19:27:50,201 INFO/ROOT: [com.microsoft.identity.client.BrokerUtils#createHelloResultBundle] [2022-05-07 19:27:50 - thread_name : Binder:15064_1, correlation_id : UNSET] Android 31 Connection OK
    Common protocol version: 2.0 ThreadPoolExecutor$Worker.run()@641 [pool-4-thread-1]
    2022-05-07 19:27:50,202 INFO/ROOT: [com.microsoft.identity.client.BrokerContentProvider] [2022-05-07 19:27:50 - thread_name : Binder:15064_1, correlation_id : UNSET] Android 31 Broker content provider invoked for uriType: 10 ThreadPoolExecutor$Worker.run()@641 [pool-4-thread-1]
    2022-05-07 19:27:50,203 INFO/ROOT: [MicrosoftBrokerServiceOperation:getBrokerAccounts] [2022-05-07 19:27:50 - thread_name : Binder:15064_1, correlation_id : UNSET] Android 31 MicrosoftBrokerServiceOperation starts getBrokerAccounts for package name: com.azure.authenticator ThreadPoolExecutor$Worker.run()@641 [pool-4-thread-1]
    2022-05-07 19:27:50,204 INFO/ROOT: [BrokerAccountLoader:getBrokerAccounts] [2022-05-07 19:27:50 - thread_name : Binder:15064_1, correlation_id : UNSET] Android 31 No account matching broker account type exists. ThreadPoolExecutor$Worker.run()@641 [pool-4-thread-1]
    2022-05-07 19:27:50,205 INFO/ROOT: [com.microsoft.identity.common.internal.result.MsalBrokerResultAdapter] [2022-05-07 19:27:50 - thread_name : Binder:15064_1, correlation_id : UNSET] Android 31 Get accounts, raw payload size :2 compressed size 22 ThreadPoolExecutor$Worker.run()@641 [pool-4-thread-1]
    2022-05-07 19:27:50,108 DEBUG/Brooklyn: Configure and Display Brooklyn Enterprise controls called [DefaultDispatcher-worker-4]
    2022-05-07 19:27:50,109 DEBUG/Brooklyn: allow listed account present [DefaultDispatcher-worker-4]
    2022-05-07 19:27:50,110 DEBUG/Brooklyn: Brooklyn current state saved to ALLOW [DefaultDispatcher-worker-4]


  4. risolis 8,701 Reputation points
    2022-05-07T20:01:03.127+00:00

    After reading a lot of doc's and checking the logs given, the issue might be for the following reasons below(but I can not say it is 100% accurate):

    https://techcommunity.microsoft.com/t5/azure-active-directory-identity/building-multi-factor-authentication-into-your-applications/ba-p/243240

    https://developer.android.com/reference/android/accounts/AccountManager

    BR,

    0 comments No comments

  5. risolis 8,701 Reputation points
    2022-05-07T20:01:28.63+00:00

    Hi,

    After reading a lot of doc's and checking the logs given, the issue might be for the following reasons below(but I can not say it is 100% accurate):

    https://techcommunity.microsoft.com/t5/azure-active-directory-identity/building-multi-factor-authentication-into-your-applications/ba-p/243240

    https://developer.android.com/reference/android/accounts/AccountManager

    BR,