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 / Forms responses to Sha...
Power Automate
Unanswered

Forms responses to SharePoint - "apply to each" error

(0) ShareShare
ReportReport
Posted on by

I am trying to automate responses and attachments from a Microsoft Form to SharePoint, but am getting the error "The execution of template action 'Apply_to_each' failed: the result of the evaluation of 'foreach' expression '@triggerOutputs()?['body/resourceData/responseId']' is of type 'Integer'. The result must be a valid array." Under the "apply to each" action, the only option for the output is "response ID" but previously I was able to select "list of response notifications Response ID"... what am I doing wrong??

Categories:
I have the same question (0)
  • v-xiaochen-msft Profile Picture
    on at

    Hi @mlurotoco ,

     

    This is a question about 'legacy'. Currently, we no longer need to use the apply to each action to receive the response ID.

    Sample:

    vxiaochenmsft_0-1690425077416.png

     

    Hope it makes sense.

     

    Best Regards,

    Wearsky

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

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard