Skip to content

[CoE Starter Kit - BUG] Admin | Audit Logs | Sync Audit Logs (V2) - Runs for 3+ hours due to retry setting #9749

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 task done
mmcaak opened this issue Mar 27, 2025 · 3 comments
Assignees
Labels
bug Something isn't working coe-starter-kit CoE Starter Kit issues

Comments

@mmcaak
Copy link

mmcaak commented Mar 27, 2025

Does this bug already exist in our backlog?

  • I have checked and confirm this is a new bug.

Describe the issue

I saw that from 2025-03-21 at approx 11PM the flow "Admin | Audit Logs | Sync Audit Logs (V2)" which is triggered hourly went from a duration:

  • From: approx. 7 min.
  • To: approx. 3,5 hours

I looked into the flow and found that the "Perform an Unbound Action" - "Get Azure Secret" had a retry of 12 and took over 3,5 hours to "give up":

Image

The setting for the action retry was the "Default":

Image

I can only think that at some point around the time observed MS has made the default retry so that it would try 12 times using a specific timeout between each retry and then then action would try for +3,5 hours...
I modified the solution and set the retry policy to "None" and now my flow finishes after approx. 5-7 min. again and the the hourly trigger makes sense again.

I would like you to change the retry policy for this action in the future release - maybe other flows are affected as well?

Expected Behavior

The flow usually finishes after approx. 5-7 min. and not 3,5 hours

What solution are you experiencing the issue with?

Core

What solution version are you using?

4.48.2

What app or flow are you having the issue with?

Admin | Audit Logs | Sync Audit Logs (V2)

What method are you using to get inventory and telemetry?

Cloud flows

Steps To Reproduce

Just see the run history for "Admin | Audit Logs | Sync Audit Logs (V2)" to see that the duration increased and then click on the long runnning flows to see that the mentioned action has been retried 12 times before timeout.

Anything else?

No response

@mmcaak mmcaak added bug Something isn't working coe-starter-kit CoE Starter Kit issues labels Mar 27, 2025
@pbattini pbattini self-assigned this Mar 27, 2025
@pbattini pbattini added this to the CoE Starter Kit - April 2025 milestone Mar 27, 2025
@mmcaak
Copy link
Author

mmcaak commented Mar 28, 2025

I can verify today as well, that:

I modified the solution and set the retry policy to "None" and now my flow finishes after approx. 5-7 min. again and the the hourly trigger makes sense again.

@pbattini
Copy link
Collaborator

pbattini commented Apr 1, 2025

@mmcaak Default policy has been used to handle transient failures, which are temporary issues that can often be resolved by retrying the action : Implement a retry policy

The Default policy supposed to make 4 exponential retries.

  • The first retry might occur after 1 minute.
  • The second retry after 2 minutes.
  • The third retry after 4 minutes, and so on.

It's strange that in your case it retried 12 times. Please log a Power Platform support ticket to understand this behavior.

@pbattini
Copy link
Collaborator

pbattini commented Apr 8, 2025

@mmcaak We have changed the Policy from Default to Fixed Interval. This will be part of April 2025 release. Please test and provide feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working coe-starter-kit CoE Starter Kit issues
Projects
Status: Done
Development

No branches or pull requests

2 participants