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 / Want to Run Power auto...
Power Automate
Answered

Want to Run Power automate cloud flows with Powershell scripts

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

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??

Thanks

Categories:
I have the same question (0)
  • eric-cheng Profile Picture
    5,171 on at

    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

     

     

  • parulbh Profile Picture
    Microsoft Employee on at

    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.

     

     

  • Verified answer
    EricRegnier Profile Picture
    8,720 Most Valuable Professional on at

    Hi @parulbh, also trying to do this from PowerShell or Power Automate. It's not possible as of yet (unless you have a http trigger). Just submitted the idea, you should vote! https://ideas.powerapps.com/d365community/idea/e881c689-5921-ee11-a81c-000d3a0f0379  

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 592

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard