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 / Microsoft Power Automa...
Power Automate
Unanswered

Microsoft Power Automate persistently gives error, "Expanding tree node failed (tree wasn't found)"

(0) ShareShare
ReportReport
Posted on by 20

Hello Community, 

 

I am facing a persistent issue in Power Automate Desktop.

 

I created the action, “Expand/Collapse tree node in window” and select my tree node. When I run the action "from here" it works. However, if I close the file and run from my first actions it gives an error, "Expanding tree node failed (tree wasn't found)". Despite repeatedly repairing the UI element, this error reoccurs. I did not sign up to Power Automate to constantly repair errors manually. Please can someone help!

 

Ghafoor_0-1719229811081.png

 

Many thanks! 

  • NathanAlvares24 Profile Picture
    1,714 Moderator on at

    Hi @Ghafoor !

     

    Need some more info of the same. Can you provide the following:

    1. Screenshot of the data used in that action, Expand/Collapse tree node in window.

    NathanAlvares24_0-1719230637490.png

     

    2. Screenshot of the UI element you are trying to expand/collapse.

     

    With this information, we can surely help.

  • eetuRobo Profile Picture
    4,587 Super User 2026 Season 2 on at

    It sounds like the UI element might have reference to an attribute that changes every run.
    So every time you launch the window that has the tree node it has an attribute that has changed but your "Expand/Collape tree node in window" -action tries to find an old element that has that changing attribute. So it wont find the element since it has changed from previous run. 
    Try to figure out which attribute changes every run and toggle that attribute off so your flow wont try to find element that has that changing attribute.

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 237 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 194

Last 30 days Overall leaderboard