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 Automate
Unanswered

Lag to run flow on VM

(1) ShareShare
ReportReport
Posted on by 22

I built a very simple Power App (1 input field) that then triggers a web flow.  That web flow triggers a Desktop flow that runs on a VM.   

 

All the flow does is pass a search term from power apps, launches google on the VM and searches for the term.  Obviously not the production case in mind, just a POC to make sure all my connections are working.  

 

The problem I have is when I run, it takes almost 1 minute to run.  The VM is up and waiting (I am in attended mode).   

 

If I just run the desktop flow it takes about 5 seconds.   

 

Is there any way to reduce the lag of those steps?   Eventually I want the production case to run in unattended mode.  Would the performance between Attended and Unattended be similar?  

 

 

I have the same question (0)
  • Henrik_M Profile Picture
    2,021 Super User 2024 Season 1 on at

    That's just how long it takes for the command to reach the machine, log on, execute the desktop flow, log off, and send outputs to the cloud flow.

    I think the only way to reduce the lag is to wait patiently and hope Microsoft does something about it. Right now, the long delay is OK for long desktop flow, but insanely inefficient for small queue-based flows. I would love to hear @Stephen's thoughts on the matter. 

  • PetrosF-MSFT Profile Picture
    Microsoft Employee on at

    Hi @jmct12345,

    Try to create your flows in an environment that's in the region closest to your VM location. An environment is bound to a geographic location, and when the datacenters that host your environment are closer to the machine that's accessing the information, you're likely to see better performance. 

  • jmct12345 Profile Picture
    22 on at

    Thank you both.  I currently have the VM hosted in US East (I am in NY), so I think its close.  Its a bit underpowered (didn't want high cost during POC), I may try a more powerful VM to see if it responds faster.   

     

    Otherwise, that may be what it is which will not work for my needs.   I hope MS can reduce that lag, its really a killer for many use cases.  

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I feel your pain.  I set up a flow to open my gmail on Chrome and send myself an email.  Works fine on my laptop. Took 4 to 5 times as long to run it in attended and unattended mode on the Azure vm.  Useless!

  • rbovensi Profile Picture
    2 on at

    Hitting the same problem, need to run desktop flows,but getting 1-2 minute delay. I have seen delays up to 10 minutes so far all running the same flow on the same desktop.  Seems very inefficient based that this was built on Winautomation.  And am transferring back to that for the speed.  Plus has less bugs running websites the Power Automate.

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 1,027

#2
Valantis Profile Picture

Valantis 809

#3
Haque Profile Picture

Haque 645

Last 30 days Overall leaderboard