web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Iterate through ShareP...
Power Automate
Unanswered

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard