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 (After Save As Dialog)

(0) ShareShare
ReportReport
Posted on by 2

Hi 

          I use power automate desktop. And got a Issue about "Failed to Get window" 

My application is to looping get excel record inquiry data in system and download files. 

 

The error occur when. The robot find the data and save files (Windows save as file dialog appear)


The robot save files successfully. 

When start the next record seem Power automate can't find any UI Element and throw "Failed to get window"

1.png

 

I try to Test the element while application struck there. The element is found correctly.

Kengakrd_0-1686303237367.png

 

I try to test many scenario. All record step will run fine "If there no Windows save files dialog appear" still found the element.

And robot run perfectly.

I assume that the "Windows save files dialog" is the cause of this case. And try to use "Focus Window" and "Get Window" but it no luck.

After "Windows save files dialog" and save done. Next UI Element can't not be found. and throw error "Failed to Get window" 

Will thank you for assist.

 

I have the same question (0)
  • Srini007 Profile Picture
    3,490 Super User 2026 Season 1 on at

    Hi @Kengakrd 

     

    As you are saying that you are looping the excel and the next loop it is getting the Failed to get the Windows

    As I'm seeing the selector could you check that in the Next looping do the Name is the same as below screenshot

     

    Srini84_0-1686581691859.png

     

    If that is changing then you have to maybe pass some wild characters to make it dynamic

     

    If you find this reply helpful, please consider giving it a LIKE AND

    If this reply answers your question or solves your issue, please ACCEPT AS SOLUTION

     

    Thanks,

    Srini

  • Kengakrd Profile Picture
    2 on at

    Thank a lot Srini for advise.

           It also use wildcard too. (As contain option in selector by use only 'Current Statement' ). but result is the same.

     

    Kengakrd_0-1686639644017.png


    After "save" windows dialog appear and click save. Then Power automate desktop sudden can't fine any UI Element.


    Then stop the Automate in that state for debug. I use Test Selector in that state and the UI Element still found there!!!.
                 It very wired because when run the Power Automate can't found the UI Element in 2nd round but Test Selector still found the element.
                 

                  Now I solve the issue temporally by alternate way by print document via 3rd party application such as PDFCreator as a save files dialog inkstand of windows save files dialog. Everything work perfectly.

     

    Kengakrd_1-1686639808508.png<<<<< Print Document by this app to different popup "save as" for avoid normal windows save as dialog.


                  But the pain point is I must always install 3rd party app to avoid this issue.

     

    Not sure another people face this windows dialog lopping same as this.

                  Thank again for helping again.

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 269 Super User 2026 Season 2

#2
trice602 Profile Picture

trice602 184 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 136 Super User 2026 Season 2

Last 30 days Overall leaderboard