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 / Unable to Locate Brows...
Power Automate
Unanswered

Unable to Locate Browser Elements While Deployed on Virtual Machine

(0) ShareShare
ReportReport
Posted on by 2

Good day,

 

I have developed a Power Automate Desktop flow that uses multiple browser instances in order to perform a series of actions (such as clicks and form filling) on a website. I have moved the flow over to an Azure virtual environment and the flow works perfectly when I kick it off and watch it through the Remote Desktop application, but as soon as I trigger the flow and close my connection to the virtual machine, the flow just hangs while it waits for an element to appear in the browser instance. It's almost as if the flow can't continue unless a monitor is connected and Power Automate can "see" the browser. 

 

Are there any settings I need to change so that the browser automation can run on its own or so that Power Automate can "see" the browser? I don't understand why this would happen on the virtual environment and not on my normal laptop.

 

Any help would be greatly appreciated.

  • sahachiranjit32 Profile Picture
    143 on at

    Hi @DataScientist10 ,

     

    Have you chosen this flow as un-attended mode? If yes, then second thing you need to check for screen-resolution settings. 

     

    In C:\Program Files (x86)\Power Automate Desktop\UIFlowService.exe.config and change the below value to true (Default is false).

     

    <add key="Microsoft.Flow.RPA.UIFlowService.ScreenDefaultResolutionEnabled" value="false" />


    Set the resolution in the file to match the one that you use on your machine for scripting (default resolution will be 1024x768)

  • DataScientist10 Profile Picture
    2 on at

    Hi @sahachiranjit32 ,

     

    Thank you very much for your response and sorry for only replying now.

     

    I have already changed the config file to have a value of true in the below attribute:

    <add key="Microsoft.Flow.RPA.UIFlowService.ScreenDefaultResolutionEnabled" value="false" /> and have adjusted the screen resolution to what it should be but I have not tried running the flow in un-attended mode. Does it definitely need to be run in unattended mode even if the virtual machine is always unlocked? I am currently triggering the flow using another cloud flow on Power Automate.

     

    Is there no way around running the flow in un-attended mode?

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 330

#2
11manish Profile Picture

11manish 282 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 123

Last 30 days Overall leaderboard