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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Teams Presence and Sha...
Power Automate
Unanswered

Teams Presence and SharePoint List - Limits

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have built a flow that grabs our engineer's teams status, and updates it in SPO List.

 

I am using a custom connector that authenticates to Azure, and then does microsoft graph to pull back the two status' of each engineer.

I do some checking then update each engineer in the SPO List.

 

I have around 100 engineers in the SPO List.

 

At first I had it set to run every minute.

This seems to work fine, but I came in one day and noticed towards the afternoon, I had a BUNCH of runs going, as they never finished, they were just running and running.

I thought maybe I hit some type of throttle.

So I increased the interval to 2 minutes.

I also added logic that if the flow takes longer than 2 minutes to run, to kill it (the flow only takes about 30 seconds).

I ran it like this for about two days, but noticed later in the afternoon it started to fail (it was taking longer than 2 minutes to complete, which made me assume I hit the throttle again.

I increased it to 3 minutes, it went longer but failed still.

I have it at 4 minutes now.

 

Question:  Does anyone know what throttle I am hitting?  is it graph?  Azure?  SPO?

I can't see in the flow where it is bombing cause it is an apply to each.

 

I was thinking of splitting up the list.  Like grab the first half, get their info.

Then a second flow that grabs the other half and gets their info.

 

Any ideas on how to lower the interval but still not fail?

Categories:
I have the same question (0)
  • Hardesh15 Profile Picture
    7,087 Super User 2024 Season 1 on at

    @lardo5150 @Pls share your flow screens that will help us to see your flow design which causing to take longer run.

    Please 'Thumbs Up' the posts that helped you and 'Accept as Solution' if my post answered your question.

    @Hardesh /Gopenly.in

  • lardo5150 Profile Picture
    Microsoft Employee on at

    lardo5150_0-1662489655607.png

     

    Here I have some other flows running, and I was getting conflict errors, so now I set it up to not run at top and half hour, as well as 8pm and after.

     

    lardo5150_1-1662489703270.png

     

    Here I grab all the engineers from the SPO list and cycle through them.

    I have concurrency turned on set to 20, otherwise it will take up to and over 5 minutes to run.

     

    lardo5150_2-1662489752875.png

     

    Here, it failed because it was taking longer than 2 minutes, but I can't see where I was getting stuck

     

    lardo5150_3-1662489866018.png

     

  • lardo5150 Profile Picture
    Microsoft Employee on at

    On this one, it just ran for longer than 2 minutes, but I can't tell why.

     

    lardo5150_4-1662490070045.png

     

  • lardo5150 Profile Picture
    Microsoft Employee on at

    Any idea if you think I am hitting a throttle with SPO or the graph api?

    I am wondering if turning on concurrency has anything to do with it?

     

    What about splitting the get items up?

  • jerome18 Profile Picture
    24 on at

    Hi Lardo, recently i had to deal with a slow flow and found out an article from Tom Riha suggesting to replace 'Apply to each' with 'Select' or 'Filter array' to deal with this. You may have read it before but I share with you: https://tomriha.com/why-is-your-power-automate-flow-running-so-slow/

    Hope this could help you solve this problem

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard