cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
cshashank
New Member

How to execute Power Automate Desktop flow via command line?

Hi, 

 

Is there a way, we can trigger desktop flow via command line?

 

End objective is to check the feasibility with integrating power Automate with Jenkins/azure pipeline

9 REPLIES 9
kierian
Community Support
Community Support

Hello 

You can trigger power automate via CMD

if you would like to add feature to the product feel free to open new idea and will be reviewed by product group.

Power Automate Ideas - Power Platform Community (microsoft.com)

Have a good day.

Hi Kierian, 

 

When you say, we can trigger power automate via CMD, can you please help me with the steps? How to do that?

 

Thanks,

Shashank

Can you please provide on details on how to do this? Should we always rely on cloud to trigger the flows? There must be some way to trigger the flow on the same machine where power automate desktop is installed using the command line.

VJR
Super User
Super User

Hi @marklacdao 

 

There are many posts asking the same but there doesn't look to be a way as of now to trigger or even schedule a desktop flow without the cloud flow.

I think @kierian wanted to type you "can't" instead of you "cantrigger power automate via CMD.

Here you can upvote the idea for scheduling a desktop flow which also talks about command line and powershell.

Schedule Power Automate Desktop from within Window... - Power Platform Community (microsoft.com)

 

D_D_
Frequent Visitor

PetrosF-MSFT
Microsoft
Microsoft

In the Power Automate for desktop July release (will be released in the following days), we can run a desktop flow locally through a URL. We can create a custom URL containing the Flow name/Flow ID and the Flow's environment ID and trigger it through a browser or anywhere else. Stay tuned 🙂

nkiron_17
New Member

.

does it require a premium version?

PAG
Resolver I
Resolver I

In the meantime (waiting for the big July release 🚀), you always have these alternatives 😉

Power Automate Gallery - Run Flow From Command Prompt or Windows Task Scheduler 

Power Automate Gallery - Schedule Flows Using Power Automate for Desktop 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

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.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Top Kudoed Authors
Users online (2,048)