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 / How to get Planner buc...
Power Automate
Unanswered

How to get Planner bucket ID by using bucket name?

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello all,

 

I am trying to pull a planner bucket ID from the corresponding name of the bucket. So far, my screenshot below only pulls the ID of the first bucket in the list. I need to do this multiple times for different buckets, but I cannot due to this. Any idea how to fix? Thanks.

 

2021-09-01 12_20_09-Edit your flow _ Power Automate — Mozilla Firefox.png

Categories:
I have the same question (0)
  • DAllen365 Profile Picture
    446 on at

    @Anonymous At a glance it looks correct though you aren't showing the run experience so it's hard to guess what it found when it ran.  I would guess that only one bucket ID matched the condition. 

     

    I built a similar flow where I wanted to create planner tasks for people (one task per bucket in 4 buckets).  I first built an array of the people's names and the name of the bucket.  Foreach person, I did the List buckets, and foreach bucket, I have the same condition check if value name = the bucket name from my array for that person.  If it matched, I set a variable to the bucketID which I used in a subsequent create planner task in that bucketID for that person.  Here is my flow:

    DAllen365_0-1630614833447.png

    DAllen365_1-1630614860163.png

    DAllen365_2-1630614898875.png

    My LongProduct value was added as an expression like this: 

    items('Foreach_PO')['LongProduct']
     

    How many buckets do you have, and what results did the Compose show for all the buckets?  


    ----------------------------
    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 605

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard