Hey, I've been struggling with a problem like this in all power automate flows for the past few days.
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=170949fe-eea1-45cb-a0d0-34e68ab0a532, UTC TimeStamp=11/14/2024 2:37:49 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-03T14:52:27.7705561Z and was inactive for 90.00:00:00.
I tried refreshing the connection to Sharepoint in connections, tried deleting it and adding it anew. I've done deploy solution, but none of these things helped.
The only solution is to change the SharePoint connector context from user to technical account in run only user.
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.