web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / The refresh token has ...
Power Automate
Suggested Answer

The refresh token has expired due to inactivity.

(2) ShareShare
ReportReport
Posted on by 14
Hi,
 
I have a flow that is triggered by a staff member clicking a button on a PowerApp.
This usually works ok, ie. Succeeded, but sometimes fails for some users, see er.ong attached.
 
Any ideas what this means and how it can be rectified?
The fact that I have to check the flow each day makes it very unreliable. 
 
Thank you,
Ollie 
 
 
Action 'Create_item' failed: Error from token exchange: Runtime call was blocked because connection has error status: Enabled| Error, and sharepointonline is in the block list. Connection errors: [ParameterName: token, Error: Code: Unauthorized, Message: 'Failed to refresh access token for service: sharepointonlinecertificatev2. Correlation Id=8187cc20-ea3b-4da8-91aa-0dc6ae426aea, UTC TimeStamp=10/22/2024 4:09:35 PM, Error: Failed to acquire token from AAD: {"error":"invalid_grant","error_description":"AADSTS700082: The refresh token has expired due to inactivity. The token was issued on 2024-07-03T20:38:21.1439489Z and was inactive for 90.00:00:00. Trace ID: 49492515-38da-4fa8-a4c6-e92be0547f00 Correlation ID: 7e5b2c97-4375-497e-abc4-f2d72b781684 Timestamp: 2024-10-22 16:09:35Z","error_codes":[700082],"timestamp":"2024-10-22 16:09:35Z","trace_id":"49492515-38da-4fa8-a4c6-e92be0547f00","correlation_id":"7e5b2c97-4375-497e-abc4-f2d72b781684","error_uri":"https://login.windows.net/error?code=700082"}']
Categories:
I have the same question (0)
  • Suggested answer
    trice602 Profile Picture
    15,404 Super User 2025 Season 2 on at
    Hi,
     
    It sounds like there's a permission issue with the user that is getting the error (and that's why it works most of the time but fails intermittently).  Make sure they have access to the Site and List.  Also check:
     
    • Reauthenticate the Connection:

      • In Power Automate, go to Data > Connections.
      • Locate the connection for SharePoint that is being used in your flow.
      • Click on the connection and choose the option to Reconnect or Sign in again. This will refresh the token and should resolve the unauthorized errors for now.
     
    ------------------------------------------------


    If this was helpful, please like and/or mark as a verified answer to help others find this too!


    Always glad to help! 💯💯💯💯💯

    Tom 

    Follow me on LinkedIn - Thomas Rice, PMP | LinkedIn

     

     
  • trice602 Profile Picture
    15,404 Super User 2025 Season 2 on at
    Hey there!
     
    I am following up on this post the refresh token has expired due to inactivity. in this category building flows from 10/24/2024.  I know the post is a little older, but it is a common question here so wanted to take a moment and follow-up. I see there have been 1 replies and 1 likes and asking if your question has been answered.  If so, please help the community out by completing one or more of the following actions!  Thanks in advance!
     
    Easy as 1-2-3 ‼️💯⭐😎🆒🙏
     
    1) Mark a reply as a verified answer - this is essential, and it helps others with the same general question find this thread. ✅
    2) You can also mark one of more replies as a verified answer.  Please take a moment and give the author credit for volunteering their time. ✌️
    3) Like one or more replies.  Kudos always greatly appreciated! 👍
     
    Pro tip:  if you found your own solution or workaround, feel free to add a reply to your own post and mark it as the solution too!  The goal is to get this thread marked with a verified answer by anyone that finds one or more replies helpful!
     
    Again, thanks in advance for reading and responding, always glad to help!  Tom 💯💯💯💯💯
  • trice602 Profile Picture
    15,404 Super User 2025 Season 2 on at
    If I can help with anything else please let me know or tag me in a future post, I enjoy reading and answering questions.  Always glad to help!  Tom 💯💯💯💯💯

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard