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 / Failed to get window -...
Power Automate
Unanswered

Failed to get window - within unattended - Admin Privileges

(0) ShareShare
ReportReport
Posted on by 2

I'm currently running into the error on a virtual machine both in 'Attended' and 'Unattended': 'Problem while executing action 'Click'. Click failed (failed to get window).

 

Within attended mode I was able to solve this by opening 'Power Automate' application as Administrator. However, I don't quite know how I can ensure Power Automate to run as Administrator while in 'Unattended'. Could someone please guide me how to set Power Autuomate as an administrator when running flows in 'Unattended'? 

 

 

Categories:
I have the same question (0)
  • Manish Solanki Profile Picture
    15,167 Moderator on at

    Hi @DataComet 

     

    Pls check if any selector contains hardcoded values for window title, if yes pls replace equals to condition with contains. If you are using browser automation, then the title of window may get different name due to profile or running with different account (administrator). If that is the case, change the condition to include contains clause with constant value to compare.

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

    Thanks

  • DataComet Profile Picture
    2 on at

    @ManishSolanki I've tried that in generalizing the hardcoded values and switching conditions to contains before. Even after that modification, it still works on 'Attended' but fails on 'Unattended'. Some additional information on this: the Click is failing when I try and click on any element on the Chrome Browser/websites. 

     

    It leads me to believe it's more of an access issue, I have the same error when I try running Power Automate 'Attended' when I don't run the application as Admin. It only gets resolved when running Power Automate as Admin, I guess its because the application can only read elements on the browser when there is sufficient permissions.

     

    I don't quite know how I can ensure Power Automate can run as an admin when in 'Unattended' 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

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!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 304

#2
David_MA Profile Picture

David_MA 245 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 243 Most Valuable Professional

Last 30 days Overall leaderboard