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 : PYVT8VLdE/MKjLkOLZv2Mu
Power Automate - Building Flows
Answered

Apply to Each Not Running

Like (0) ShareShare
ReportReport
Posted on 27 Aug 2021 07:13:15 by 58

I'm very new to Power Automate, so please excuse me if I'm just being very stupid. 

 

I'm trying to create a flow that sends an email with 8 attachments which all come from a folder in Sharepoint. The flow will send the email, but it won't attach anything. I'll add screenshots to show how I've attempted to do this. The flow runs successfully, but the Apply to Each doesn't run at all. Can anyone help me with this? Thank you!email_flow_1.pngemail_flow_2.png

  • caitlink Profile Picture
    58 on 30 Aug 2021 at 09:09:14
    Re: Apply to Each Not Running

    Looking into it more, it looks like the Get Files action is not actually getting any files, so there's nothing to pass to the apply to each loop, which is why it isn't running. I'm just not sure why the Get Files action isn't returning anything, because I've double and triple checked the path. 

     

    Edit: I realised this was a problem with permissions or the site I was using. When I recreated the folder and the flow in a different site it worked just fine. Thank you so much for your help!

  • caitlink Profile Picture
    58 on 30 Aug 2021 at 08:16:31
    Re: Apply to Each Not Running

    Hi! Thank you so much for your help. Unfortunately, I still have the same problem. The apply to each action just doesn't run. Here's a screenshot from my last run. I used your video and followed the exact same procedure, but the apply to each simply doesn't execute. Screenshot 2021-08-30 101532.png

  • Verified answer
    DamoBird365 Profile Picture
    8,942 Microsoft Employee on 27 Aug 2021 at 19:35:52
    Re: Apply to Each Not Running

    Hi @caitlink 

     

    I think you’re almost there. The name value in your append to array needs to be encapsulated in “”. Content bytes doesn’t, which is correct. I’ve a video on this process https://youtu.be/9G9GNeknemg which might be of help.

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
    Cheers,
    Damien


    P.S. take a look at my new blog here and like & subscribe to my YouTube Channel thanks 😉

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

Announcing our 2025 Season 2 Super Users!

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2

Loading complete