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 / Get-adminflow returns ...
Power Automate
Unanswered

Get-adminflow returns only top 50 results

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have a strange experience I hope someone can help explain.

I have a script I use to check all of the flows in an environment for a creator that has left the company and reassign the ownership. 

I last used the script successfully on Friday. Yesterday, the Monday after the Friday, the script no longer worked.

Upon investigation, I found out that the command 'get-adminflow -environmentname $environment' only the top 50 results were returned, previously it was returning all flows. There is no '-all' or '-maxresults' switch I can use with the command.

I suspected maybe a change in the latest module, so tried the same command with the last 4 x powerapps.administration modules, same result.

Stranger still, I tried the same script again this morning and miracle upon miracle, the script works again.

So what changed yesterday, I suspect some throttling cloud side, but this is just a guess.

 

I wasted a couple of hours chasing this ghost yesterday and would like to be prepared for the next time it happens.

 

Any help is appreciated.

 

Cheers

 

Categories:
  • brhamilton99 Profile Picture
    2 on at

    I've run into a lot of grief with this. I would really like to know why this happens. I have crawled through the git repos and tried to rebuild the command without alot of luck. 

     

    My goal was to attempt to build a flow dsc command to be able to manage a project and each of its flows. So far command is unreliable. 

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
Mohsin Ali Profile Picture

Mohsin Ali 377

#2
11manish Profile Picture

11manish 302 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 130

Last 30 days Overall leaderboard