cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
murrah
Level: Powered On

Planner connector groupid and GetTask_Response_V2

I am building a PowerApp for Planner and am using the Planner Connector. I want to get all the data for all tasks in a specified plan.

 

According to to Planner Connector docs, I need the gettask_response_v2 in order to have the current full data object.

 

1. I want to start from a Plan in a dropdown populated by ListMyPlans to get the tasks for that Plan. However, the docs say that both ListMyPlans and ListMyPlans_V2 are DEPRECATED! Is there no current ListMyPlans action?

 

2. Using ListMyPlans_V2, the response only includes planID and title. No groupId.

 

3. In order to get a list of tasks in a Plan that returns an array of gettask_response_v2 objects I need to use ListTasks_V3 which requires both a planId and a groupId as parameters.

 

HOWEVER, there does not seem to be a way to get the groupId. In the connector docs groupId is used for a number of actions but where do you get it from?

 

What am I missing here?

Thanks,

Murray

 

1 ACCEPTED SOLUTION

Accepted Solutions
murrah
Level: Powered On

Re: Planner connector groupid and GetTask_Response_V2

Ok. It seems I need to get the groupId via the Teams connector.

So, assuming all these are for Galleries:

MicrosoftTeams.GetAllTeams().value to list all teams to get the groupId (which is the "team id").

eg

Items = SortByColumns(MicrosoftTeams.GetAllTeams().value,"displayName")

Then:

Items = SortByColumns(Planner.ListGroupPlans(TeamSelect.Selected.id).value,"title")

Then I can use:

Items = Planner.ListTasksV3(PlanSelect.Selected.id,TeamSelect.Selected.id).value

 

Note the parameter sequence seems to be Plan then Group/Team. The docs imply the other way around. list-tasks 

View solution in original post

2 REPLIES 2
murrah
Level: Powered On

Re: Planner connector groupid and GetTask_Response_V2

Ok. It seems I need to get the groupId via the Teams connector.

So, assuming all these are for Galleries:

MicrosoftTeams.GetAllTeams().value to list all teams to get the groupId (which is the "team id").

eg

Items = SortByColumns(MicrosoftTeams.GetAllTeams().value,"displayName")

Then:

Items = SortByColumns(Planner.ListGroupPlans(TeamSelect.Selected.id).value,"title")

Then I can use:

Items = Planner.ListTasksV3(PlanSelect.Selected.id,TeamSelect.Selected.id).value

 

Note the parameter sequence seems to be Plan then Group/Team. The docs imply the other way around. list-tasks 

View solution in original post

Microsoft v-siky-msft
Microsoft

Re: Planner connector groupid and GetTask_Response_V2

invalid post

Helpful resources

Announcements
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (7,044)