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 / Get all folders and su...
Power Automate
Answered

Get all folders and subfolders from Library

(0) ShareShare
ReportReport
Posted on by 87

Hi!
Could you help me please, how can I get all folders and subfolders from Sharepoint Library. 
I will be interested in their name and path.
Thx

Categories:
  • Verified answer
    Hardesh15 Profile Picture
    7,087 Super User 2024 Season 1 on at

    @Pavel48n0sh  Pls use  Action- List Folder and Get folder metadata action.

     

    Please 'Thumbs Up' the posts that helped you and 'Accept as Solution' if my post answered your question.

    @Hardesh /Gopenly.in

     

  • Verified answer
    MarconettiMarco Profile Picture
    3,812 Super User 2024 Season 1 on at

    Hello @Pavel48n0sh ,

    please follow these steps:

    1. Add the "Get files (properties only)" action and put the following filter query:

    FSObjType eq '1'

    MarconettiMarco_0-1660725351605.png

    2. Add a "Select" action:

    - From: value got from previous action

    MarconettiMarco_1-1660725380565.png

     

    If I have answered your question, please mark my post as Solved.
    If you like my response, please give it a Thumbs Up.

    BR,

    Marco

    If I have answered your question, please mark my post as Solved.
    If you like my response, please give it a Thumbs Up.

    BR,

    Marco

     

     

  • JakubMar Profile Picture
    4 on at

    Hi there! 

    I'm trying to list all files in folders but for some reason I'm not getting all of the files.
    My user has full administration over sharepoint but for some reason I am only getting a portion of the folders per each destination (5 files for HR for example, where I had more folders there) is it due to some files not being shared? I followed steps exactly but cant get exhaustive list of all folder destination. 

  • MWibisono Profile Picture
    75 on at

    Can you give an example for that?

  • MWibisono Profile Picture
    75 on at

    What does FSObjType eq 1 mean?

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
Mohsin Ali Profile Picture

Mohsin Ali 414

#2
11manish Profile Picture

11manish 335 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 274

Last 30 days Overall leaderboard