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 / Export email attachmen...
Power Automate
Unanswered

Export email attachments into a SharePoint folder. Error

(0) ShareShare
ReportReport
Posted on by

This is the message I get is

 

The execution of template action 'Apply_to_each' failed: the result of the evaluation of 'foreach' expression '@items('Apply_to_each_2')' is of type 'Object'. The result must be a valid array.

 

Anyone else know about this error? Thanks to all

 

 

TedFSG_0-1617028112441.png

 

Categories:
I have the same question (0)
  • ScottShearer Profile Picture
    25,270 Most Valuable Professional on at

    @Anonymous Can you post a screen shot of your Flow in design/edit view?  That will be a big help to those who would like to assist.

  • Community Power Platform Member Profile Picture
    on at

    Sure👍

    A)

     

    TedFSG_0-1617041870719.png

    B)

    TedFSG_1-1617041892116.png

     

  • ScottShearer Profile Picture
    25,270 Most Valuable Professional on at

    @Anonymous 

    The Export email action creates a .eml file.  See my example below if you want to save the email attachments to a SharePoint library.

    image.pngimage.png

     

     

  • Community Power Platform Member Profile Picture
    on at

    So we're good till now. But how do I create a folder to put the attachments in simultaneously. Is it at all possible?

  • ScottShearer Profile Picture
    25,270 Most Valuable Professional on at

    See my example below:

    image.png

     

     

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

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard