Skip to main content

Notifications

Community site session details

Community site session details

Session Id : Fz81XJLDSI5Z8Vg4TIcS4k
Power Automate - General Discussion
Suggested answer

The refresh token has expired due to inactivity.

Like (1) ShareShare
ReportReport
Posted on 14 Mar 2025 09:21:20 by 6
we are calling a power automate flow on button click from canvas app where the flow gets some content from sharepoint and post it in teams.
  • both sharepoint and teams actions uses service user connection
  • the canvas app is being used by users in the org
  • the flow is being used by one or the other user on daily basis
  • there is no circumstance of that the flow being inactive for 90 days
  • cross checked the connections as well, all connections are in connected state
but, we are getting an issue with respect to the sharepoint and team's actions which throws an error intermitently

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=76d91d21-0cfc-4479-b6b2-cdcc40533b42, UTC TimeStamp=3/12/2025 9:46:11 AM, 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-09-27T15:49:01.2929960Z and was inactive for 90.00:00:00.
Categories:
  • mk1329 Profile Picture
    6 on 17 Mar 2025 at 05:36:18
    The refresh token has expired due to inactivity.
    hi @David_MA, as i have mentioned in my description the connections are up to date, all are connected
  • Suggested answer
    David_MA Profile Picture
    9,804 Super User 2025 Season 1 on 14 Mar 2025 at 19:21:02
    The refresh token has expired due to inactivity.
    Go to your environment where the flow is located and click on Connections:
    If you do not see it listed, click on More. Problem connections will be listed, and you can reauthorize the connection from here.

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

Thomas Rice – Community Spotlight

We are honored to recognize Thomas Rice as our March 2025 Community…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,513 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,479 Most Valuable Professional

Leaderboard