Skip to main content
Community site session details
Power Automate - Building Flows
Answered

List Folder action

Like (0) ShareShare
ReportReport
Posted on 10 Mar 2024 23:09:33 by 90

Hi all,

I'm trying to use the action "List Folder" for a sharepoint folder. For some reason it isn't working now.

Where can I find the folder ID? I have tried giving the path as well-got an error.

Any ideas please?

Thank you!

  • Verified answer
    v-yetonggu-msft Profile Picture
    on 12 Mar 2024 at 01:37:21
    Re: List Folder action

    Hi @IWantToKnow ,

    1.Because we can set the filter condition 'FSObjType eq 1' in the 'Get files' Action, which means only getting the records of the folder, we can get the common numeric ID.

    vyetonggumsft_6-1710207105821.png

    Return:

    vyetonggumsft_1-1710206503712.png

    vyetonggumsft_8-1710207270320.png

    The Id of the list folder not only gets the Id of the folder, but also the Id of the file. The Id obtained is not our common numeric ID, but a specific identifier.

    vyetonggumsft_5-1710207025532.png

    Return:

    vyetonggumsft_7-1710207153595.png

    2.I use ’Select‘ just to display the folder ID and folder name to you more intuitively.

    It has no other meaning. If this step is not used in your flow, you can consider deleting it.

    Best Regards,

    Sunshine Gu

     

Helpful resources

Quick Links

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2

Loading complete