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 / Saving attachments to ...
Power Automate
Suggested Answer

Saving attachments to sharepoint

(1) ShareShare
ReportReport
Posted on by 6
Hi I am new to PA and have been following a tutorial to save attachments to sharepoint from an outlook email.  I believe I have followed the advice in the tutorial but when I test it I get the following error.  Please can someone help me.
 
The execution of template action 'Apply_to_each_3' failed: the result of the evaluation of 'foreach' expression '@items('Apply_to_each_4')' is of type 'Object'. The result must be a valid array
 
Thanks
Categories:
I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,963 Moderator on at
    Again same feedback
     
    Please do not try to "explain" your issue, share your flow, share the inputs and outputs. The error is obvious, you sent an Object and not an array, but that is all we can see, there is no way for us to help you, with just this information, except to re-iterate, You cannot use an Object for the input to a For Each

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 664

#2
Haque Profile Picture

Haque 460

#3
Valantis Profile Picture

Valantis 357

Last 30 days Overall leaderboard