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 Automate / Token exchange error: ...
Power Automate
Unanswered

Token exchange error: Runtime call blocked due to connection error, SharePoint Online blocked.

(1) ShareShare
ReportReport
Posted on by 61
Dear All,
 
I have an instant flow integrated into a Power App that is triggered when a user clicks a button. When the flow is triggered, an error occurs in the SharePoint 'Get Items' action. This issue does not affect all users but happens randomly to some users at different times. The permissions for the SharePoint site and list are shared with all employees in the organization, yet authorization errors still occur.
 
Your expert advice is highly appreciated. 
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=1a1b2c3d4-e5f6-7g8h-9i0j-k1l2m3n4o5p6, UTC TimeStamp=9/20/2024 2:55:22 AM, Error: Failed to acquire token from AAD: {\"error\":\"invalid_grant\",\"error_description\":\"AADXXXXXXXXX: The refresh token has expired due to inactivity. The token was issued on 2024-04-26T22:54:06.4616775Z and was inactive for 90.00:00:00. Trace ID: a1b2c3d4-e5f6-7g8h-9i0j-k1l2m3n4o5p6 Correlation ID: a1b2c3d4-e5f6-7g8h-9i0j-k1l2m3n4o5p6 Timestamp: 2024-09-20 02:55:22Z\",\"error_codes\":[700082],\"timestamp\":\"2024-09-20 02:55:22Z\",\"trace_id\":\"a1b2c3d4-e5f6-7g8h-9i0j-k1l2m3n4o5p6\",\"correlation_id\":\"a1b2c3d4-e5f6-7g8h-9i0j-k1l2m3n4o5p6\",\"error_uri\":\"https://login.windows.net/error?code=XXXXXX\"}'
 
Thanks & Best Regards,
Zayar
Categories:
I have the same question (0)

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 276 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 169

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard