Hi all,
I've created and tested a multiple approval flow which works when I test it. Basically how it works is that for a selected item --> send approval 1 --> send email to approver 1 --> send approver 2 --->send email approver 2-->send approver 3 -->send email approver 3. However when it is production I get failures at different approval stages with a 401 error code.
Here is the overall flow that I have created:
1st level approval
2nd level approval
3rd level approval
4th level approval with failure
this is the error code description:
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. Correlation Id=09a7d3da-4820-44b4-b8ec-4e223f85ce98, UTC TimeStamp=1/27/2021 1:03:18 AM, Error: Failed to acquire token from AAD: An internal error occurred.
']
I'll get this error code on different sections of the flow on different runs..
At first I thought it was to do with some timout but then I checked that flows can run for 30 days which is well within my bounds for these cases.
can anyone show some insight on this?
While connecting to SharePoint, attached screenshot occur
This seems to be a new issue with Power Automate and not the typical Connection needs to be reconnected issue:
The flows will run correctly many times and then a random action on a random run will fail with this error. Then the next run will be fine.
Hi @ctw1991
Indeed it doesn't make sense, but it's the only thing that can explain why you're getting these types of issues.
Connections are fragile in a sense and sometimes get screwed up. It's annoying, I know.
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
Cheers
Manuel
Hi,
Thanks for replying. However The flow is running in other parts with the same connection (send email) without any issue. So I dont see why I would need to reconnect?
Please advise
HI @ctw1991
This is an issue with the connection. Sometimes connections get broken due to changes in permissions, for example, so you need to refresh it.
Please check if the connection has some warning and if not, try adding a new one just for this case for testing.
If it works, please go back to your "Data>Connections" tab and check if you can re-connect or need to create a new one.
Can you please check if and let me know if you have any questions?
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
Cheers
Manuel
WarrenBelz
146,645
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,997
Most Valuable Professional