This error popped up when a user was trying to submit a SharePoint news post for approval.
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.
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-08-09T18:19:01.4148289Z and was inactive for 90.00:00:00.
I've run into token errors before but I'm confused with this one. Two users tried submitting the same article for approval and rendered the same error. When I submitted the post (as myself), it went through with no problem. I have also signed in as one of the other users and submitted a new news post without an issue.
Usually, in my experience, these errors are due to an expired token for a connector in Power Automate. I'd have to reauthorize the connection before the flow would run successfully.
Is this error indicated that the user's sign in to SharePoint had expired? I can't imagine how that could be the case. I've done nothing in Power Automate to resolve the error and yet it seems to have resolved itself.
EDIT:
I checked the errors on both of the two original submissions. It does seem like this is an authentication error for the users based on the timestamp for the token issue.
1 - The token was issued on 2024-08-02T17:14:21.4274456Z and was inactive for 90.00:00:00.
2 - The token was issued on 2024-08-09T18:19:01.4148289Z and was inactive for 90.00:00:00.
When I signed in as one user to test this, I'm signing in with a Temporary Access Pass acquired through Azure.
Should I have my users sign out, close their browser, and sign back in to resolve this error?