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 / Apply to Each Not Running
Power Automate
Answered

Apply to Each Not Running

(0) ShareShare
ReportReport
Posted on 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

Categories:
I have the same question (0)
  • Verified answer
    DamoBird365 Profile Picture
    8,942 Microsoft Employee on at

    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 😉

  • caitlink Profile Picture
    58 on at

    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

  • caitlink Profile Picture
    58 on at

    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!

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 229 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 227

#3
Haque Profile Picture

Haque 181

Last 30 days Overall leaderboard