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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Saving attachments to ...
Power Automate
Unanswered

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,335 Super User 2025 Season 2 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard