Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

'Apply_to_each' failed

(0) ShareShare
ReportReport
Posted on by

Good day, 

 

I am very new to Power Automate and need assistance: 

 

Using flow where it needs to get events from an outlook calendar, for the past 7 days, recurring  and running every week on a Thursday. And then data needs to flow through to SmartSheets and insert a row with the data in designated sheet, that is mapped backed to the different columns etc.  Data we are mapping back from the event in outlook is : start date and end date, subject and categories. But every time I add the categories, it creates an extra ref. 1. "apply to each" loop within the "insert row" loop. and this way it create errors and does not run the flow: 

 

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

 

 

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,660 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,004 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow