cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Microsoft Jinman
Microsoft

Re: ERROR FROM TOKEN EXCHANGE. BAD AUTHORIZATION TOKEN. THE ACCESS TOKEN HAS EXPIRED

Checked telemetry. You are right. The error,http400, got increased recently. I dropped an email to folks to look at this matter with priority. will keep you posted.

TheRobRush
Level 8

Re: ERROR FROM TOKEN EXCHANGE. BAD AUTHORIZATION TOKEN. THE ACCESS TOKEN HAS EXPIRED

Thank you @Jinman 

Power Apps Staff AlanC
Power Apps Staff

Re: ERROR FROM TOKEN EXCHANGE. BAD AUTHORIZATION TOKEN. THE ACCESS TOKEN HAS EXPIRED

Hi Rob, without having a lot of details about your app or flows, it is possible that your issue is being caused by policies in your tenant:

Things to check (a tenant administrator will need to make this changes).

 

  1. If the connections you are using require MFA, make sure that your tenant is configure to allow users to remember MFA on devices they trust (checkbox at the bottom):

https://docs.microsoft.com/en-us/azure/active-directory/authentication/howto-mfa-mfasettings#mfa-ser...

 

  1. Make sure that your tenant token policies are not configured for short life spans:

https://docs.microsoft.com/en-us/azure/active-directory/authentication/howto-mfa-mfasettings#mfa-ser...

If you don't have admin access, I may be able to provide alternative work arounds. If you could share your App id (the app URL when playing the app would suffice) I may be able to figure out a mitigation.

 

Thanks,

Alan

TheRobRush
Level 8

Re: ERROR FROM TOKEN EXCHANGE. BAD AUTHORIZATION TOKEN. THE ACCESS TOKEN HAS EXPIRED

TheRobRush
Level 8

Re: ERROR FROM TOKEN EXCHANGE. BAD AUTHORIZATION TOKEN. THE ACCESS TOKEN HAS EXPIRED

It's occuring on all apps that access Sharepoint though right now.

 

TheRobRush
Level 8

Re: ERROR FROM TOKEN EXCHANGE. BAD AUTHORIZATION TOKEN. THE ACCESS TOKEN HAS EXPIRED

@AlanCit only started happening in the past week, and we have had apps up and running since around february. Assuming with a few different people all in this thread experiencing the same issue suddenly something might have happened, potentially with the most recent iOs update since it does not occur on the iPad running an older version of iOs

 



The most recent stable release, iOS 12.4, was released on July 22, 2019.

 


Which is around same time we all began having issues

TheRobRush
Level 8

Re: ERROR FROM TOKEN EXCHANGE. BAD AUTHORIZATION TOKEN. THE ACCESS TOKEN HAS EXPIRED

Shared a few comments ago the exact code on the app i made to test it if you wanna look at it
raristondo
Level: Powered On

Re: ERROR FROM TOKEN EXCHANGE. BAD AUTHORIZATION TOKEN. THE ACCESS TOKEN HAS EXPIRED

I use Android and I have the same problem for two weeks, in my opinion the update of Power Apps caused this inconvenience, since it coincides with the beginning of the problem. On July 29 they released another update that I only installed on 3 tablets and I am still waiting for the problem to improve. Greetings.

TheRobRush
Level 8

Re: ERROR FROM TOKEN EXCHANGE. BAD AUTHORIZATION TOKEN. THE ACCESS TOKEN HAS EXPIRED

Hey raris! I do think its at least partially OS related as the iPads I have running an outdated iOs build all function properly. Unless those older iPads are stuck on an outdated powerapps build because they cant update past a certain point because of outdated iOs. Will check that Monday when back in office though.
Power Apps Staff AlanC
Power Apps Staff

Re: ERROR FROM TOKEN EXCHANGE. BAD AUTHORIZATION TOKEN. THE ACCESS TOKEN HAS EXPIRED

Hi Rob, we are still investigating the root cause. One more thing, would you mind sharing the date time settings and the location settings of the two devices? (screenshots should be fine) I'm trying to compare whether they have different settings, for example time zone and automatically setting time zone based on location.

 

Thanks,

Alan

Helpful resources

Announcements
Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Join THE global Microsoft Power Platform event series

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Microsoft Business Applications Virtual Launch

Join us for the Microsoft Business Applications Virtual Launch Event on Thursday, April 2, 2020, at 8:00 AM PST.

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (6,641)