Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Microsoft Flow run timed out: Apply to each and do until loops for OneNote pages retrieval and insertion into Azure storage table

(0) ShareShare
ReportReport
Posted on by 2
I was given an use case wherein the content of the pages from all the sections of OneNote notebooks are to be retrieved and inserted into the azure table. 
 
By using Microsoft Graph APIs in Microsoft Flow, pages from one section of a notebook are successfully retrieved.
 
But, when it is configured for retrieval of pages from multiple sections, the flow is taking longer time than expected and getting timed out. Some pages are successfully inserted into the table but not sure if all the pages are inserted or not.
 
I have used apply to each and do until loops with a limit of count = 5000 and timeout = PT24H.
 

MicrosoftTeams-image.png

 
  • Verified answer
    v-alzhan-msft Profile Picture
    on at
    Re: Microsoft Flow run timed out: Apply to each and do until loops for OneNote pages retrieval and insertion into Azure storage table

    Hi @madhurie ,

     

    Have your issue been solved now?

     

    Best Regards,

    Alice

     

    Community Support Team _ Alice Zhang
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • v-alzhan-msft Profile Picture
    on at
    Re: Microsoft Flow run timed out: Apply to each and do until loops for OneNote pages retrieval and insertion into Azure storage table

    Hi @madhurie ,

     

    How long has the flow run before it run timed out? Is it 24 hours? 

    If yes, could you please take a try to increase the time?

     

    Best Regards,

    Alice

     

    Community Support Team _ Alice Zhang
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492