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 / How to store multiple ...
Power Automate
Answered

How to store multiple folder paths and loop through folder paths in PAD

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi guys, have a requirement that  there are multiple folder paths and corresponding files. I want to iterate the folder paths, so want to dynamically set the folder path. struggling to store multiple folder paths and do the iteration. Tried with storing paths in excel and when I select "excel data" variable and put it in folder tab, it shows error "want a folder value". Please help and provide a better solution

Varghese_06_0-1663130482171.png

 

I have the same question (0)
  • Verified answer
    Henrik_M Profile Picture
    2,021 Super User 2024 Season 1 on at
  • Srini007 Profile Picture
    3,490 Super User 2026 Season 1 on at

    Hi @Anonymous 

     

    If you have Multiple Folder in a Folder and want the Sub Folders path dynamic then you can use

     

    1. Get SubFolders in Folder 

    Srini84_0-1663135358615.png

     

    Which will give you all the sub folders now you can use loop and there you can use the Get Files in folder and the Folder value will comes from the Subfolders activity output

     

    Hope this may help you

     

    Thanks,

    Srini

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 246 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 176

#3
Haque Profile Picture

Haque 157

Last 30 days Overall leaderboard