cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ZachJayy
Helper III
Helper III

OneDrive for Business - Access Code Has Expired

I have a fairly in depth flow that failed the other day. After investigating, it seems the error is related to an action creating a document in OneDrive. Screenshots below:

ZachJayy_0-1614265453454.pngZachJayy_1-1614265491530.png

I've never seen this error before and it only appeared one time in a series of runs. So I am hesitant to believe that the issue is the Connection or my credentials. It's odd to me that the flow ran at approximately 1:00pm but this access token that was unusable was terms from 5:39pm to 6:44pm.

Can anyone help me with understanding what this error is / what caused it and how to insure against it in the future?

1 ACCEPTED SOLUTION

Accepted Solutions
v-duann-msft
Community Support
Community Support

Hi @ZachJayy 

 

Thank you for posting.

 

If you encounter access token expiration error. There is no good solution for that as this is system security mechanism by design.

 

This is access token lifetime limitation and we are not able to configure from user side. Thus, you could only update or create a new connection to the connector before the Flow Access Token Expires as workaround.

v-duann-msft_0-1614318535504.png

https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-configurable-token-...

 

Sorry for the inconvenience caused. Hope the content above may help you.

 

Thanks

Anna

View solution in original post

2 REPLIES 2
v-duann-msft
Community Support
Community Support

Hi @ZachJayy 

 

Thank you for posting.

 

If you encounter access token expiration error. There is no good solution for that as this is system security mechanism by design.

 

This is access token lifetime limitation and we are not able to configure from user side. Thus, you could only update or create a new connection to the connector before the Flow Access Token Expires as workaround.

v-duann-msft_0-1614318535504.png

https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-configurable-token-...

 

Sorry for the inconvenience caused. Hope the content above may help you.

 

Thanks

Anna

View solution in original post

This doesn't seem to line up with the fact that it only happened for a single run of this flow? And the dates referenced in the token don't match the timestamp for the run or the actions within it. What is that about?

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (2,107)