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

Community site session details

Session Id : p4uAQRlnln7cGlqS9C+2sw
Power Automate - Using Flows
Unanswered

Trying to loop through all files in a sharepoint folder and download them - error

Like (0) ShareShare
ReportReport
Posted on 6 Mar 2024 10:24:05 by 26

Any ideas why this isnt working ?

This my flow

p1.png

 

I think the apply to each is working but when I try the get file content it errors

 

I select certain files using the Select and that works

 

p3.png

p4.png

 

This is the for each

p6.png

 

p9.png

 

p8.png

  • v-yetonggu-msft Profile Picture
    on 08 Mar 2024 at 01:55:38
    Re: Trying to loop through all files in a sharepoint folder and download them - error

    Hi @smallzoo ,

    Yes, your guess is correct. 

    On the Power Automate platform, networked files will not be automatically saved locally. You can manually download and click the file to save it locally.

     

    Best Regards,

    Sunshine Gu

    If my answer satisfies you, please mark my reply as a solution so that I can help more people in the future.

  • smallzoo Profile Picture
    26 on 07 Mar 2024 at 09:56:04
    Re: Trying to loop through all files in a sharepoint folder and download them - error

    It wont allow me to type in the network drive ?

    smallzoo_0-1709805347104.png

     

  • v-yetonggu-msft Profile Picture
    on 07 Mar 2024 at 09:49:03
    Re: Trying to loop through all files in a sharepoint folder and download them - error

    Hi @smallzoo ,

    Please use this control:

    vyetonggumsft_1-1709804926156.png

    Best Regards,

    Sunshine Gu

  • smallzoo Profile Picture
    26 on 07 Mar 2024 at 09:41:40
    Re: Trying to loop through all files in a sharepoint folder and download them - error

    perfect thanks. It runs but I have one issue. The files are being save in my One drive folder but I want it saved in a shared folder on the network ie g:\somefolder 

  • v-yetonggu-msft Profile Picture
    on 07 Mar 2024 at 00:58:59
    Re: Trying to loop through all files in a sharepoint folder and download them - error

    Hi @smallzoo ,

    You don't need 'select', delete this control.

    vyetonggumsft_3-1709773117452.png

    Please check my flow:

    vyetonggumsft_0-1709772453895.png

    vyetonggumsft_2-1709773017497.png

    Best Regards,

    Sunshine Gu

  • smallzoo Profile Picture
    26 on 06 Mar 2024 at 15:11:57
    Re: Trying to loop through all files in a sharepoint folder and download them - error

    Finally got somewhere..no errors once I used the classic flow method BUT no file is copied to the one drive. It runs successfully.

    p3.png

     

    p4.png

  • smallzoo Profile Picture
    26 on 06 Mar 2024 at 14:16:07
    Re: Trying to loop through all files in a sharepoint folder and download them - error

    When I use apply to each all I can choose from that is similar to yours is body/value

    p2.png

  • v-yetonggu-msft Profile Picture
    on 06 Mar 2024 at 12:50:22
    Re: Trying to loop through all files in a sharepoint folder and download them - error

    Hi @smallzoo ,

    You first select 'value' in 'Apply to each' before selecting 'identifier' in 'get file content'.vyetonggumsft_2-1709729549180.png

    Best Regards,

    Sunshine Gu

  • smallzoo Profile Picture
    26 on 06 Mar 2024 at 12:43:39
    Re: Trying to loop through all files in a sharepoint folder and download them - error

    First you can see that I get the option of Output, Output Item and Outputs to choose from not value as per your example

  • v-yetonggu-msft Profile Picture
    on 06 Mar 2024 at 12:37:08
    Re: Trying to loop through all files in a sharepoint folder and download them - error

    Hi @smallzoo ďĽŚ

    Could you please explain in detail what problem you are encountering?

     

    Best Regards,

    Sunshine Gu

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

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

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

Featured topics

Restore a deleted flow