No result returned from acquireTokenSilent #1412
Labels
Issue Triage
The engineering team has looked into the issue, understood the issue, labelled/classified the issue
More Info
Additional information is required to diagnose, troubleshoot, or confirm
outlook/o365 user will be prompted to reauth repeatedly using outlook mobile. even after installing Authenticator.
Expected behavior
once the user input credential, reauth should not be required.
Actual behavior
users are repeatedly asked to reauth
Relevant logs and traces
I 2019-03-12T06:23:55.567+0000 [ci=fvlCHvsVPG] AndroidJob-35 outlook.Accounts ADALOAuth2TokenCache: [2019-03-12 06:23:55 - {"thread_id":"1782","correlation_id":"da2c0471-1759-422d-af3d-b1318d521927"}] Context is an Application? [true] Android 26 (null) - null I 2019-03-12T06:23:55.596+0000 [ci=fvlCHvsVPG] pool-19-thread-1 outlook.Accounts AcquireTokenRequest:tryAcquireTokenSilentWithBroker: [2019-03-12 06:23:55 - da2c0471-1759-422d-af3d-b1318d521927] Either could not get tokens from local cache or is force refresh request, switch to Broker for auth, clear tokens from local cache for the user. ver:1.16.1 Android 26 (null) - null I 2019-03-12T06:23:55.603+0000 [ci=fvlCHvsVPG] pool-19-thread-1 outlook.Accounts AcquireTokenWithBrokerRequest:logBrokerVersion: [2019-03-12 06:23:55 - da2c0471-1759-422d-af3d-b1318d521927] Broker app is: com.azure.authenticator;Broker app version: VersionName=6.4.3;VersonCode=146. ver:1.16.1 Android 26 (null) - null I 2019-03-12T06:23:55.688+0000 [ci=fvlCHvsVPG] AndroidJob-35 outlook.Accounts Marking account as needing reauth. (accountId=32768) I 2019-03-12T06:23:55.691+0000 [ci=fvlCHvsVPG] AndroidJob-35 outlook.Accounts Account 32768 (Office365RestDirect) requires interactive login. Showing notification.pl_android_loginprompt com.microsoft.office.outlook.token.TokenUpdateStrategy$TokenUpdateException: com.microsoft.aad.adal.AuthenticationException: Received error from broker, errorCode: Refresh token is failed and prompt is not allowed; ErrorDescription: Request authority:https://login.microsoftonline.com/common resource:https://outlook.office365.com/ clientid:27922004-5251-4030-b22d-91ecd9a37ea4 at com.microsoft.office.outlook.token.AadTokenUpdateStrategy$AadTokenAcquirer.acquireTokenSilentSync(AadTokenUpdateStrategy.java:156) at com.microsoft.office.outlook.token.Office365TokenUpdateStrategy$Office365TokenAcquirer.acquireTokenSilentSync(Office365TokenUpdateStrategy.java:177) at com.microsoft.office.outlook.token.AbstractTokenUpdateStrategy.updateAccountTokensSilent(AbstractTokenUpdateStrategy.java:77) at com.microsoft.office.outlook.job.AccountTokenRefreshJob.runAccountTokenRefreshJobCriticalBlock(AccountTokenRefreshJob.java:310) at com.microsoft.office.outlook.job.AccountTokenRefreshJob.runAccountTokenRefreshJob(AccountTokenRefreshJob.java:233) at com.microsoft.office.outlook.job.AccountTokenRefreshJob.onJobRun(AccountTokenRefreshJob.java:197) at com.microsoft.office.outlook.profiling.job.ProfiledJob.onRunJob(ProfiledJob.java:47) at com.evernote.android.job.Job.runJob(Job.java:124) at com.evernote.android.job.JobExecutor$JobCallable.b(JobExecutor.java:181) at com.evernote.android.job.JobExecutor$JobCallable.a(JobExecutor.java:166) at com.evernote.android.job.JobExecutor$JobCallable.call(JobExecutor.java:149) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at java.lang.Thread.run(Thread.java:784) Caused by: com.microsoft.aad.adal.AuthenticationException: Received error from broker, errorCode: Refresh token is failed and prompt is not allowed; ErrorDescription: Request authority:https://login.microsoftonline.com/common resource:https://outlook.office365.com/ clientid:27922004-5251-4030-b22d-91ecd9a37ea4 at com.microsoft.aad.adal.BrokerProxy.getAuthenticationExceptionForResult(BrokerProxy.java:571) at com.microsoft.aad.adal.BrokerProxy.getResultFromBrokerResponse(BrokerProxy.java:484) at com.microsoft.aad.adal.BrokerProxy.getAuthTokenInBackground(BrokerProxy.java:335) at com.microsoft.aad.adal.AcquireTokenWithBrokerRequest.acquireTokenWithBrokerSilent(AcquireTokenWithBrokerRequest.java:69) at com.microsoft.aad.adal.AcquireTokenRequest.tryAcquireTokenSilentWithBroker(AcquireTokenRequest.java:515) at com.microsoft.aad.adal.AcquireTokenRequest.acquireTokenSilentFlow(AcquireTokenRequest.java:476) at com.microsoft.aad.adal.AcquireTokenRequest.tryAcquireTokenSilent(AcquireTokenRequest.java:373) at com.microsoft.aad.adal.AcquireTokenRequest.performAcquireTokenRequest(AcquireTokenRequest.java:352) at com.microsoft.aad.adal.AcquireTokenRequest.access$200(AcquireTokenRequest.java:55) at com.microsoft.aad.adal.AcquireTokenRequest$1.run(AcquireTokenRequest.java:129)
The text was updated successfully, but these errors were encountered: