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 / Create a task in Plann...
Power Automate
Answered

Create a task in Planner based on Office 365 Outlook calendar event

(0) ShareShare
ReportReport
Posted on by 2

I am trying to write what I think should be a very simple flow where a planner task is created based on a outlook calendar event that then assigns the task in planner to attendees of the outlook event. This is what I have so far

 

smithj_0-1693949670050.png

 

 

If I take out the assigned user ID the task creates ok. I just cannot get it to assign

 

Any ideas?

Categories:
I have the same question (0)
  • smithj Profile Picture
    2 on at

    this is the error i get:

     

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

  • Manish Solanki Profile Picture
    15,169 Moderator on at

    Hi @smithj 

     

    Pls refer the below sample for creating task when an outlook event is created. Here I have used 'When a new event is created (V3)' trigger:

    ManishSolanki_0-1693967669308.png

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

    Thanks

  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @smithj,

    If you want to create tasks for individuals, I think you should configure your flow as below:

    vqiaqimsft_0-1693974564985.png

    vqiaqimsft_2-1693974658457.png

    Since the email address is splitted with a semi colon, so I used Filter array to remove the blank string, then loop through the array of attendee email address, create task for each user.

    split(outputs('Compose'),';')
    empty(item())

     

     

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 632

#2
Haque Profile Picture

Haque 458

#3
Valantis Profile Picture

Valantis 357

Last 30 days Overall leaderboard