cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
marekbuban
Advocate II
Advocate 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
RobElliott
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.

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

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Users online (2,805)