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 / Iterate through ShareP...
Power Automate
Answered

Iterate through SharePoint folders

(0) ShareShare
ReportReport
Posted on by 52

I put together a Flow that identifies a folder named "COPAS 2020".

 

Inside of COPAS 2020, I have dept folders: Accounting, Compliance & Risk Management, etc. In total, there are 7 sub-folders inside of COPAS 2020 and each folder has separate employee folders. Each employee folder has a Power BI 2020.xlsx file I'm trying to get to.

 

The file structure looks like this:

 

COPAS 2020 ---

                          |

                           --- Accounting ---

                                                        |

                                                         --- Mike Johnson

                                                                                     --- Power BI 2020.xlsx

                                                         --- Terry Crews

                                                                                    --- Power BI 2020.xlsx

                                                         --- Jimbo Scrimp

                                                                                    --- Power BI 2020.xlsx

 

                           --- Compliance & Risk Management ---

                                                                                               |

                                                                                               --- Mike Johnson

                                                                                                                          --- Power BI 2020.xlsx

                                                                                               --- Terry Crews

                                                                                                                          --- Power BI 2020.xlsx

                                                                                               --- Jimbo Scrimp

                                                                                                                          --- Power BI 2020.xlsx

 

copas 2020 folder.JPG

I'm able to iterate through through COPAS 2020 with an Apply to each on the path to that the COPAS 2020 folder. From there, I collect the names of the dept folders. My problem is iterating through the dept. folders, and then creating another Apply to each loop to iterate through each employee name in the dept folders to get to the Power BI 2020.xlsx file. 

 

Here's the Flow I built so far:

 

Flow 1_LI.jpgFlow 2.JPGFlow 3.JPGFlow 4.JPGFlow 5_LI.jpgFlow 6.JPG

Categories:
I have the same question (0)
  • Verified answer
    Javier Gallego Profile Picture
    Microsoft Employee on at

    Hi angelrodriguez,

     

    I am not sure if you are having the same issue that this thread:

    https://powerusers.microsoft.com/t5/Building-Flows/When-new-files-created-in-sub-folders-of-Folder/td-p/85444

     

     

    I hope it help you.

     

    Regards,

     

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
David_MA Profile Picture

David_MA 250 Super User 2026 Season 1

#2
Expiscornovus Profile Picture

Expiscornovus 222 Most Valuable Professional

#3
Haque Profile Picture

Haque 174

Last 30 days Overall leaderboard