cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper II
Helper II

How to get a list of all flows in environment

Hello,

 

I would like to make a flow that will list me all flows in env.

There's an action "List Flows as Admin", but it only returns top 250 flows. 

 

Any idea how to achieve that?

Thanks,

Marek

 

 

 

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @marekbuban ,

 

The default return number of action List Flows as Admin is 250.

 

However, you could enable Pagination under settings to handle more records than are returned in a single call from a service.

 

I have made a test likes below and it returns all the flows under the selected environment.

1.PNG2.PNG3.PNG

 

More details about Pagination for your reference at here:

https://flow.microsoft.com/en-us/blog/four-connector-action-settings/

 

Best regards,

Mabel

 

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

View solution in original post

4 REPLIES 4
Super User
Super User

Hi @marekbuban you might want to explore https://github.com/microsoft/powerapps-tools/tree/master/Administration which apparently does what you want although as I'm not a tenant admin I can't try it.

Rob
Los Gallardos
If I've answered your question or solved your problem, please mark this question as answered. This helps others who have the same question find a solution quickly via the forum search. If you liked my response, please consider giving it a thumbs up. Thanks.

Thanks @RobElliott  for your answer, but I'm also not a tenant admin. I could use PowerShell, but I need to run it on regular basis automatically with no deployment possibilities. I noticed PowerApps connector has additional SkipToken parameter which can be used for "pagging" like solution, it's a shame Flow connector doesn't has it too.

Hi @marekbuban ,

 

The default return number of action List Flows as Admin is 250.

 

However, you could enable Pagination under settings to handle more records than are returned in a single call from a service.

 

I have made a test likes below and it returns all the flows under the selected environment.

1.PNG2.PNG3.PNG

 

More details about Pagination for your reference at here:

https://flow.microsoft.com/en-us/blog/four-connector-action-settings/

 

Best regards,

Mabel

 

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

View solution in original post

Thanks @v-yamao-msft , that's solved my problem.

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (18,703)