Skip to main content
Community site session details

Community site session details

Session Id : KxZlBFZp6s2Ad7MtAS6AOv
Power Automate - Building Flows
Answered

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

Like (0) ShareShare
ReportReport
Posted on 5 Sep 2023 21:30:24 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 06 Sep 2023 at 04:32:42
    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 2 on 06 Sep 2023 at 02:36:02
    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 05 Sep 2023 at 21:30:56
    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

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2

Loading complete