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 / Failed to refresh acce...
Power Automate
Suggested Answer

Failed to refresh access token for service: Workflow Fails

(1) ShareShare
ReportReport
Posted on by 7
I have a workflow that on occasion starts to fail with an email.  The connection works fine like 95% and then it fails with Message: 'Failed to refresh access token for service: sharepointonlinecertificatev2. Correlation Id=fcaa93c3-c2a2-4feb-8a32-83c399b97965.  Anyone else find a solution
 

  4 of your flow(s) have failed

The flow(s) listed failed in the past week and may need your attention.
 
 
I opened the workflow, and I see the following error message.
{
  "status": 401,
  "source": "https://power-te-westus-2.azurewebsites.net:443/tokens/msmanaged-na/sharepointonline/626e73000f1d49ef84d8392274bfd2d8/exchange",
  "message": "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=fcaa93c3-c2a2-4feb-8a32-83c399b97965, UTC TimeStamp=2/28/2025 10:48:58 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-09-04T17:15:50.0857269Z and was inactive for 90.00:00:00. Trace ID: 6bee9b4a-55a9-461a-9582-c96e517a0100 Correlation ID: 5b485758-7670-422b-b64d-7ee43ac5ba6e Timestamp: 2025-02-28 22:48:58Z\",\"error_codes\":[700082],\"timestamp\":\"2025-02-28 22:48:58Z\",\"trace_id\":\"6bee9b4a-55a9-461a-9582-c96e517a0100\",\"correlation_id\":\"5b485758-7670-422b-b64d-7ee43ac5ba6e\",\"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,
     
    According to the error message, it says that the connection string was created on 9/4/2024 and it has expired due to inactivity for the last 90 days.  Go to connections, find the connection and refresh it or go into the action itself and rebuild by reconnecting.
     
    If you have a flow that doesn't run often, you can also build a helper flow that simply gets an item from a SharePoint list every two weeks to keep the connection active.
     
     

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 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard