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?
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.
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:
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
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
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
@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.
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
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
WarrenBelz
146,743
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,079
Most Valuable Professional