Showing results for 
Search instead for 
Did you mean: 

Want to Run Power automate cloud flows with Powershell scripts

Hi Community,

I want to run my Power Automate Instant cloud flows through Powershell scripts.

I found some cmdlets from documentation Microsoft.PowerApps.Administration.PowerShell Module | Microsoft Docs

I am able to list out flows which are present with my Power Automate account. I want to run them but I don't found any cmdlets for running them from Powershell.

 P.S. I used Enable-AdminFlow -EnvironmentName   for starting them, thinking that it would run the flow. 😞

Can anybody help??


Solution Sage
Solution Sage

Hi @parulbh ,


Not sure if any of the admin cmdlets in your link will allow you to start a flow but you could refactor your flow to a HTTP trigger and use PowerShell to make a REST call to your API.  Here is a guide.  


If I have answered your question, please mark my post as a solution
If you have found my response helpful, please give it a thumbs up

Connect on LinkedIn



Hi @eric-cheng  Thanks for response.

I want to run all Cloud Instant Flows present one by one by triggering them from a powershell script. There are multiple cloud flows present . I want to trigger them once with one request.

 My Scenario: 

  1. Get List of flows with help of powershell Cmdlet: Get-AdminFlow
  2. Send a Http request from powershell containing  EnvId and FlowNames .(List of Flows)
  3. Filter out Flowname and EnvID
  4. For each FlowName
  •       Get a Cloud Instant Flow with this FlowName
  •        Trigger this Cloud Instant Flow and store run results.



Helpful resources

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

New Process Advisor Capabilities carousel.png

Read the blog for the latest news

Read the latest about new experiences and capabilities in the Power Automate product blog.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

AI Builder AMA June 7th carousel (up on May 25th, take down June 8th) (1).png

'Ask Microsoft Anything' about AI Builder!

The AI Builder team invite you to ask questions and provide helpful answers at our next AMA.

Users online (1,435)