Skip to main content

Notifications

Community site session details

Community site session details

Session Id : LhiqKPFUkFdYcgxIbfXBVb
Power Automate - Power Automate Desktop
Unanswered

Power automate can't take control over Edge Browser

Like (0) ShareShare
ReportReport
Posted on 17 Dec 2022 12:25:26 by 33

Hi

 

I have built flow on my PC and now I want to play it on VM which I have created on Azure Subscription. Unfortunately Power Automate can't take control over Edge browser, it has an issue at the very beginning. So it opens edge browser but then it fails it hasn't gone through this step even. It says that can't take control over Edge. I do have power automate extension installed successfully on Edge. Do you know maybe how to fix it?

  • Jimbotron5000 Profile Picture
    7 on 20 Mar 2024 at 22:47:00
    Re: Power automate can't take control over Edge Browser

    I finally solved it after two years. I tried working on a brand new laptop, and the PAD script ran successfully and was able to attach to the Edge browser instance. However, when I ran the PAD script a second time, it failed in the same way (timed out and said it couldn't attach to the browser instance). So, I exited Edge AND I killed all msedge.exe processes in Task Manager, then restarted Edge. The script worked.

     

    So, it seems (at least for me) that the workaround is to kill all msedge.exe processes in between running your PAD scripts. Unfortunately, you have to do this every single time.

     

  • tjones0213 Profile Picture
    39 on 20 Mar 2024 at 21:48:13
    Re: Power automate can't take control over Edge Browser

    Mine's still working but I've not allowed updates to PAD.

     

    Here are my notes on the issue:

    After update to Win11 and upgrade to latest PAD, couldn’t connect to launched web browser.

    Used this workaround:

    1. Launched Edge and opened first webpage
    2. Turned off the PAD extenstion
    3. Turned on the PAD extension, turn on developer mode
    4. Refreshed the webpage
    5. Ran the flow which opened another Edge session and worked

     

    Forum posts mentioned uninstalling the app and Edge extension then installing PAD from an installer file and not MS Store, then installing the extension.  Configure the developer mode in the extension appears to help

  • JimbotronEpicor Profile Picture
    9 on 20 Mar 2024 at 19:06:40
    Re: Power automate can't take control over Edge Browser

    Has anyone solved this? I've been unable to get PAD to attach to any Edge instance for over two years. I've tried every workaround on the web, but nothing works. I also tried this:

    Failed to assume control of Edge or Chrome or Firefox error - Power Automate | Microsoft Learn

  • tjones0213 Profile Picture
    39 on 18 Dec 2022 at 17:50:34
    Re: Power automate can't take control over Edge Browser

    I was both a Windows update.  I updated PAD manually but still didn't work.  I was able to use the workaround documented in this post: Power Automate can't take control of the web brows... - Power Platform Community (microsoft.com) by andersjensenorg.  Basically I opened Edge, browse to the webpage that was to be opened, disabled and re-enabled the PAD extension, refreshed the browser and left it open.  My flow opened a new Edge instance and it worked.  Not a permanent fix but it allowed me to run my flow

  • Radek225 Profile Picture
    33 on 18 Dec 2022 at 12:35:33
    Re: Power automate can't take control over Edge Browser

    @tjones0213 so it was after update of PAD to the newest version right? Or maybe you updated also other things? I set up new VM on Azure so I guess it came with newest updates of Windows and I also installed new fresh installation of PAD so I guess also newest version.

  • tjones0213 Profile Picture
    39 on 17 Dec 2022 at 19:03:37
    Re: Power automate can't take control over Edge Browser

    I just tried clearing the PAD cache by deleting the msalcache.bin3 file but still not able to proceed with the flow after the browser is launched and webpage opens

  • tjones0213 Profile Picture
    39 on 17 Dec 2022 at 18:48:09
    Re: Power automate can't take control over Edge Browser

    I'm having the same issue on my desktop.  The flows worked fine until I updated my PC.  Now running the latest version of PAD, latest Edge and Chrome extensions but still not able to continue the flow even though the webpage loads.   

     

    I ran the same flow on my laptop and it runs fine so it's not the flow but the upgrade that broke something

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

#1
WarrenBelz Profile Picture

WarrenBelz 146,743 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,079 Most Valuable Professional

Leaderboard