cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
New Member

Create a new bucket in planner (withoud the need of group id)

Hi,

 

I would like to create a new bucket triggered by a new sharepoint list entry. The bucket name should be based on an attribute of the new entry from the list.

 

I use the template to create a planner task and integrated an additional step: "Create a bucket"

flow_bucket1.PNG

 

My issue is that the "action" is asking for a "Group ID".

1. The dropdown does not offer any "group id"s to choose from

2. The plan I would like to use is not in any group.

flow_bucket2.PNG

 

By the way - why is an "group ID" for the bucket required while creat task is not asking for such a thing. I have the required "plan ID", which I can also pick from the suggested list for the task creation.

 

Checking the info symbol I find:

flow_bucket3.PNG

So there is a deprecated operation id: "CreateBucket", which would be the exact action that I would need. Unfortunately I cannot pick this so I need to deal with "group ID"s.

 

So where do I get the "group id"?

 

 

Thanks a lot for your support!

 

 

Best

Steffen

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Hi @sschaffhausen ,

 

You could create a flow as below to get all your groups then save the group id by yourselves,  and everytime when you want to create a bucket, you could enter the group id in the Group Id Column.

 

1.png

 

The expression to get the group id as below:

body('List_my_owned_groups')?['value']?[0]?['id']

Please let me know if your problem could be solved.

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Highlighted
Dual Super User II
Dual Super User II

Hi @sschaffhausen 

 

Every bucket is part of a plan which is part of a group

 

An Office 365 group is the identity in Azure associated with your group - which creates artifatcs like SharePoint site, Plan, Shared Calendar etc.

 

When creating a new bucket,

you would need the id of the group assocaited with the plan and you can either hardcode it in the create a bucket task if the group/team is always going to be the same or retrieve it from a SharePoint config list or query to get the id of the group ( you would have to query the graph api to get the groups and then fetch the specific group id - https://docs.microsoft.com/en-us/previous-versions/azure/ad/graph/api/groups-operations#GetAGroup)

 

Next you would also need the plan id

you can use the action "List plans for a group" and the respective plan id for which you are trying to create the bucket or hardcode the plan id if you already know which plan you need to create the bucket for

 

To get group id manually and plan id manually, open the plan in planner

The URL will have both the group id and the plan id

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Highlighted
Community Support
Community Support

Hi @sschaffhausen ,

 

You could create a flow as below to get all your groups then save the group id by yourselves,  and everytime when you want to create a bucket, you could enter the group id in the Group Id Column.

 

1.png

 

The expression to get the group id as below:

body('List_my_owned_groups')?['value']?[0]?['id']

Please let me know if your problem could be solved.

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Top Solution Authors
Top Kudoed Authors
Users online (10,245)