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

Announcements

News and Announcements icon
Community site session details

Community site session details

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

The refresh token has expired due to inactivity.

(1) ShareShare
ReportReport
Posted on by 7
We are running several Power Automate and see several failures
  • both SharePoint actions use a service account connection
  • there is no circumstance of that the flow being inactive for 90 days
  • the flow will work and then fail 10 minutes later and the work again.  (It must be a routing issue within Microsoft)
  • cross checked the connections as well, all connections are in connected state
but, we are getting an issue with respect to the sharepoint and get items 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=6e162371-dd1d-4d16-a129-3f89d9b3e67f, UTC TimeStamp=4/18/2025 9:25:45 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-10-02T22:05:03.0008892Z and was inactive for 90.00:00:00. Trace ID: be0f141e-366a-4618-8259-d5174eb72e00 Correlation ID: bff782b0-5fc7-437f-b43c-c9669330a442 Timestamp: 2025-04-18 21:25:45Z","error_codes":[700082],"timestamp":"2025-04-18 21:25:45Z","trace_id":"be0f141e-366a-4618-8259-d5174eb72e00","correlation_id":"bff782b0-5fc7-437f-b43c-c9669330a442","error_uri":"https://login.windows.net/error?code=700082"}']
 
IMPORTANT:  
I have found that one ip address owned by Microsoft continue to create a failure that IP is 13.86.223.41 (See Attached)

Add filter
  1.  "IP address" contains 13.86.223.41 
  2.  "Application" contains "App Service"
 
AppService-13-86-223-41.png
PowerApp-ErrorTokenExchangeRuntime.png
PowerAutomate-Fail-Succeeded.png
Categories:
I have the same question (0)
  • Suggested answer
    pavanmanideep Profile Picture
    574 Power Up Champ - 2025 on at
    Hi There, 
     
    It looks like
     
    • The OAuth refresh token used to maintain the authenticated session for the SharePoint Online connector has expired due to 90 days of inactivity.

    • The token was issued on 2024-10-02 and expired after being inactive for 90 days.

    • As a result, the Power Platform cannot refresh or acquire a new access token, and thus your runtime connection call to SharePoint Online fails.

    Fix: 

    Reauthenticate Sharepoint Online Connection.

    Hope this helps...

    Cheers,

    PMDY

    Microsoft Business Applications MVP

    https://ecellorscrm.com


       
  • Pat98110 Profile Picture
    7 on at
    That will make sense if the token continue to fail consistently.  However, the data shows that another try is made and works and followed by failures.  The common thread is when the traffic is routed to the ip address it fails to do the refresh token with Microsoft.  Therefore, the routing is the issue on Microsoft side.  We have several workflows that are intermittent failures. 
     

    Add filter
    1.  "IP address" contains 13.86.223.41 
    2.  "Application" contains "App Service"
     
    You are going to see failures.  I see this on someone else Tenant and something.  Failures for a refresh token.  
  • Suggested answer
    pavanmanideep Profile Picture
    574 Power Up Champ - 2025 on at
    Hi There,
     
    I would suggest to raise a support ticket to Microsoft regarding this issue as this is more specific to your tenant and region.
     
    Hope this helps...

    Cheers,
    PMDY
    Microsoft Business Applications MVP
    Subscribe to my blog: https://ecellorscrm.com
     
  • Pat98110 Profile Picture
    7 on at
    I am trying.  I have gone thru several engineers.  I believe I need more data to raise this issue faster and further thru the process.  Therefore, I am interested in getting more of the community to also investigate their tenant.    I have looked at my colleagues' tenant in the Seattle Area and they see failures.  Do you see such failures with ...
    1.  "IP address" contains 13.86.223.41 
    2.  "Application" contains "App Service"

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 633

#2
11manish Profile Picture

11manish 588

#3
Valantis Profile Picture

Valantis 457

Last 30 days Overall leaderboard