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 / Struggling to Map Plan...
Power Automate
Suggested Answer

Struggling to Map Planner Buckets by Person in Power Automate (Beginner)

(0) ShareShare
ReportReport
Posted on by 4

Hello, I’m trying to use Power Automate to automatically create tasks in Microsoft Planner, but I’m stuck on the part where tasks should be assigned to the correct bucket.

Here’s the workflow I want to achieve:

  • Each Planner bucket is named after the person in charge.
  • Excel contains the task information, including the “Person in charge” column.
  • When the flow runs, it should read each row and create a task in the corresponding person’s bucket.

I have already built a flow that reads Excel rows and loops through them.
I also created an object variable (bucketMap) that stores “Person name → Bucket ID” pairs.

However, I’m not able to make the process that reflects the tasks defined in the Excel table into Planner correctly.
It does create tasks and even auto-creates buckets as needed, but I can’t put together a reliable process so that the tasks in the Excel table are properly reflected in Planner with the right details and bucket assignment.

Here is my current flow structure (screenshot attached):

  1. Manually trigger the flow
  2. List rows present in a table (Excel)
  3. Initialize variable
  4. Initialize object variable (bucketMap with name → bucket ID)
  5. Apply to each (Excel rows)
  6. Create a task in Planner

Goal:
Use the “Person in charge” column in Excel to automatically select the correct bucket ID, and ensure that the task information in Excel is correctly reflected in Planner tasks.

Note:
I’m a beginner in Power Automate and programming, so explanations in simple terms would be greatly appreciated.

If you know the correct way to reliably reference the bucket ID from the object variable inside the loop, or a better pattern to make sure Excel task data is mapped into Planner (title, description, due date, bucket, etc.), I’d really appreciate your guidance.

Thank you in advance!

img_2.png
img_1.jpg
I have the same question (0)
  • Suggested answer
    Expiscornovus Profile Picture
    33,891 Most Valuable Professional on at
     
    My suggestion would be to loop through the buckets instead of the tasks first. I would create an array variable for that (instead of an object).
     
    This way you can create all tasks per bucket (via a filter array) and you can reference the BucketId value of the current item of your loop as your bucket id.
     
    Below is an example if that helps?
     
    1. The array
     
    [
    {"Title": "NAME1", "BucketId": "2oWf0yVSUkaGsFD95ILPe5gAE7ql"},
    {"Title": "NAME2", "BucketId": "VIya8pA8eESFM8s7jS52E5gAAmn-"}
    ]
     
    2. The first apply to each loops through the buckets array.
     
    3. The Filter Array finds the tasks based on the BucketName
     
    4. The second apply to each loops through the body/outputs of the Filter Array and creates a planner task for each of those (filtered) rows 




     
    Happy to help out 😁

    I share more #PowerAutomate and #SharePointOnline content on my Blog, LinkedIn, Bluesky profile or Youtube Channel

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 377

#2
11manish Profile Picture

11manish 279

#3
David_MA Profile Picture

David_MA 234 Super User 2026 Season 1

Last 30 days Overall leaderboard