web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Flow run timed out for...
Power Automate
Answered

Flow run timed out for big volume testing with Power Automate

(0) ShareShare
ReportReport
Posted on by 68

I am working on a project with Power Automate Cloud flow.

the process can be summarized as below:

1. get excel data from SharePoint folder with Power Automate.

2. loop the excel data and create email drafts and save email drafts as .eml file in SharePoint folder.

 

There is also an attachment from another excel file, which can not be in table format, needs to be attached in the .eml file.

And I use office scripts to populate the attached excel file. and use 'run script' action in the loop.

 

The flow run successfully with small volume. For example, it takes 3 minutes to prepare 4 .eml files, 13 minutes for 21 .eml files (it shows flow run timed out while it run about 10 minutes but still running in the backend and succeeded finally).

 

However, when I try to test it for big volume, such as 50 or 100 emails and even more emails, it never succeeds.

what I did:

1. turn on concurrency control, but failed, the flow had been speed up but with wrong data in email fields.

2. for the most time consuming action in the loop, set a timeout. 

 

are there any methods to solve this kind of issue?

 

 

 

 

Categories:
  • Verified answer
    Michael E. Gernaey Profile Picture
    53,975 Super User 2026 Season 2 on at

    Hi,

     

    I am guessing you were using variables to hold the data, so soon as you implemented Concurrency greater than 1, yeah it will be a mess.

     

    This sounds more like a time when you want to use Do Until, leveraging Timeouts and keeping track of the iteration. So essentially collect all the data you need. Then use do until, until you process them all.

     

    I am sorry I dont have time to write a big example for you, but you will also want to have error handling and avoid using too many retries (defaults to 4) on whatever actions support retries.

     

    But this can run a very long time before it times out.

    Power Automate Do until - SPGuides

    Power Automate Fundamentals # 33: Usage of do Unti... - Power Platform Community (microsoft.com)


    Cheers
    If you like my answer, please Mark it as Resolved, and give it a thumbs up, so it can help others
    Thank You
    Michael Gernaey MCT | MCSE | Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

Under review

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.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 321 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 271

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard