Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
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?

  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    on at
    Re: Create a task in Planner based on Office 365 Outlook calendar event

    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())

     

     

  • ManishSolanki Profile Picture
    15,085 Super User 2025 Season 1 on at
    Re: Create a task in Planner based on Office 365 Outlook calendar event

    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

  • smithj Profile Picture
    2 on at
    Re: Create a task in Planner based on Office 365 Outlook calendar event

    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.

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1