Skip to main content

Notifications

Community site session details

Community site session details

Session Id : QT0i1kbuzq5qfBgr8tOFMa
Power Automate - Power Automate Desktop
Answered

How to run a PAD flow from command line

Like (0) ShareShare
ReportReport
Posted on 5 Feb 2024 13:34:38 by 20

I tried this Powershell command:

Start-Process ms-powerautomate:/console/flow/run?workflowName=myflow

 but it didn't work.

 

Is there any command prompt or Powershell command that can start a PAD flow?

 

Thank you.

 

  • Verified answer
    Agnius Bartninkas Profile Picture
    10,045 Most Valuable Professional on 07 Feb 2024 at 05:53:26
    Re: How to run a PAD flow from command line

    The reason why you have no Run URL and FLow ID, is not because you run it on Windows 11 Home, but because you need a Power Automate Premium license to have that. The free license does not support these features.

  • Verified answer
    Yishu Profile Picture
    20 on 06 Feb 2024 at 08:36:27
    Re: How to run a PAD flow from command line

    I find that there is no Run URL or Flow ID in the Details tab of Flow Properties in my PAD. I guess it is because my device runs Windows 11 Home, so I can't run flows via URL.

    Thank you for your help anyway.

  • Verified answer
    Gidi Profile Picture
    592 on 06 Feb 2024 at 07:29:45
    Re: How to run a PAD flow from command line

    You can find an automatically created run URL consisting of the environment and flow IDs on the properties section of the desktop flow. You can find more information about flow properties in Desktop flow properties.

     

    Compare this URL with yours. 

  • Yishu Profile Picture
    20 on 06 Feb 2024 at 01:54:47
    Re: How to run a PAD flow from command line

    My PAD is a Microsoft Store installation, so I have to run my flow via Powershell.

     

    I tried it with double quotes but it still didn't work.

     

    Is there any problem with my URL? I typed it in my browser, but the flow didn't start.

  • Verified answer
    Gidi Profile Picture
    592 on 05 Feb 2024 at 23:29:14
    Re: How to run a PAD flow from command line

    Hi Yishu,

    try it with double quotes and note that you might need a premium license to use it. 

     

    Example for running from command prompt:

     

    "C:\Program Files (x86)\Power Automate Desktop\PAD.Console.Host.exe" "ms-powerautomate:/console/flow/run?workflowName=[workflowName]"

     

    Refer also the the related learning page:

    https://learn.microsoft.com/en-us/power-automate/desktop-flows/run-desktop-flows-url-shortcuts#use-a-run-url-in-the-command-prompt 

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - Power Automate Desktop

#1
eetuRobo Profile Picture

eetuRobo 4 Super User 2025 Season 1

#2
KO-05050229-0 Profile Picture

KO-05050229-0 2

#2
stampcoin Profile Picture

stampcoin 2

Overall leaderboard