Hi all,
I'm having an issue that is impacting hundreds of users, and I have no found a solution.
I have a powerapp that, when a user clicks a button, starts a flow that eventually sends an email with the send an email V2 connector for outlook. Also used is the "get items" connector for sharepoint.
5/6 months ago, my organization required MFA/2FA for basically everything. We now enabled MFA for powerapps and that solved one related error.
What happens randomly, sometimes as often as 60% of all users, is this error on the send an email v2 for outlook step:
'Failed to refresh access token for service:
Error from token exchange: Runtime call was blocked because connection has error status: Enabled| Error, and office365 is in the block list. Connection errors: [ParameterName: token, Error: Code: Unauthorized, Message: 'Failed to refresh access token for service: aadcertificate.The refresh token has expired due to inactivity. The token was issued on 2024-06-09T19:35:08.4352441Z and was inactive for 90.00:00:00. Timestamp: 2024-12-03 18:13:43Z","error_codes":[700082],"timestamp":"2024-12-03 18:13:43Z","fe","error_uri":"https://login.windows.net/error?code=700082"}']
(some info removed for security)
Sometimes a user will click the button and it will work, sometimes it won't work. Resubmitting the failed flow will not work.
Sometimes the get items step for sharepoint will have this issue as well.
Essentially, this is a large powerapp that hundreds of people use and I cannot remove 2FA.
I need this to work or I will have to move away from power platform.
How can I stop this error please? I'm at a loss. The powerapp even asks for a duo prompt before signing in, how on Earth can the token be expired?