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 / Issue with running an ...
Power Automate
Unanswered

Issue with running an attended/unattended flow on same server with different accounts

(0) ShareShare
ReportReport
Posted on by

Hi,

I have a scenario (following is an example to give a better view of the scenario):

I have a website which launches in MS Edge, login to the website and download 200 files. I wanted to run the process on one server with two different remote desktop sessions one logged in with 'account1' and other logged in with 'account2'. In session with account1, when I use the action: If Process with name 'Edge' is running to check if browser is already available to attach instead of launching the application again, PAD is recognizing the browser that is running on the same server with another login (account2). This is resulting in an error as the session logged in with account1 is, understandably, not able to take control of Edge that is launched in session with account2.

Note: This issue is not just with MS Edge. This is same with any application such as chrome, outlook, etc..

Can any one help me to work around this issue?


Any suggestions are greatly appreciated.

Thanks in advance!

  • CU31080729-3 Profile Picture
    502 Moderator on at

    Hi,

    1) As of my understanding your working on one server with the help of remote desktop and the login to website and download file from the website , its right

    2) otherwise As of my understanding your working on one server  and the login to website and download file from the website , its right so that process you can do by using one account then  why are you used two user account instead of one

     

    (Note:- if you got your solution you can mark as solution and gives kudos)

     

    Thanks & Regards

    Chetan Ninghot

     

  • VishnuReddy1997 Profile Picture
    2,666 Super User 2026 Season 1 on at

    Hi @S7K ,

     

    Try this below one.

     

    Use Unique Browser Profiles:

    --------------------------------------------

    Each user account on the server can have a dedicated browser profile (e.g., in Chrome or Edge).
    PAD can then target the specific profile based on the user session (account1 or account2) through profile selection options within the browser automation actions. This approach isolates browser instances and allows PAD to interact with the correct one.


    Thanks,
    Vishnu Reddy

    -------------------------------------------------------------------------------------------------------------
    If I've helped solve your query, kindly mark my response as the solution ✔ and give it a thumbs up!👍 Your feedback supports future seekers

  • CU16071609-1 Profile Picture
    6,255 Moderator on at

    @S7K 

     

    I'd like to add a few more points to @VishnuReddy1997 's answer.

     

    Firstly, it's crucial to review the configuration to ensure that when installing software, it's not placed in a public folder accessible to all accounts. Your reported instance seems to align with scenarios like this, if I've understood correctly.

     

    I recommend installing all software, such as Edge, Chrome, and Outlook, specifically for designated users, within their respective folders. This practice can help avoid confusion and ensure each user has their own set of software resources.


    Thanks,
    Deenuji Loganathan
    🤖 Automation Evangelist
    Deenuji - Follow me on LinkedIn

    -------------------------------------------------------------------------------------------------------------
    If I've helped solve your query, kindly mark my response as the solution ✔ and give it a thumbs up!👍 Your feedback supports future seekers 🌟

  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    Instead of checking if a process is running, check if a browser window is open using the If window action. Make it check by using the title and class of the window instead of the control element, and use wildcards in the window title, so that you ignore the actual web page title.

     

    Then, if the window is open, attach to it. This will work properly regardless of whether there is an instance running on the other account or not. Checking for processes won't, because they're shared across accounts.

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
11manish Profile Picture

11manish 233 Super User 2026 Season 2

#2
David_MA Profile Picture

David_MA 227 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 178

Last 30 days Overall leaderboard