cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SamPhillips
Level 8

Planner Connector , cannot update task in plan that is shared with me.

Hello All, 

 

I have created an App that on start creates a series of planner tasks and automatically shares the plan with the users manager, using a combination of both the office365groups connector and the office365users connector.

 

The Manager can see their direct reports plan by using the planner connector function "Planner.ListMyPlans().value".
However I want to allow the Manager to update tasks in the plan also, but when using "Planner.UpdateTask(TaskListGallery.Selected.id,{percentComplete:"Completed"})" I recieve this error:

 

2019-05-17 10_29_00-Window.png

 

I have tried making the manager a Owner of the office365 group connected to the plan, but this has not resolved the issue.
I have also tested and the manager can directly edit the direct reports planner tasks through the planner website. (So it's not a permission issue in planner at least).

I have a feeling that the connector and function Planner.UpdateTask just does not allow you to update a task unless you are the creator of the plan, regardless if it has been shared with you later.

 

If anyone is able to validate/replicate this issue please let me know.

3 REPLIES 3
TopShelf-MSFT
Level 10

Re: Planner Connector , cannot update task in plan that is shared with me.

Hi @SamPhillips I'm going to bump this to page 1 so the fresh eyes of the community can take a look 

 

@TopShelf-MSFT 

Highlighted
rabatista
Level: Power Up

Re: Planner Connector , cannot update task in plan that is shared with me.

Hi,

 

You need to use: Planner.UpdateTask(TaskListGallery.Selected.id,{percentComplete:100})... 

0     -> Not started

50   -> In Progress

100->Completed

rabatista
Level: Power Up

Re: Planner Connector , cannot update task in plan that is shared with me.

This is the correct way.

First you need to put in any variable the progress like Planner has, including capital letters:

No Started

In Progress

Completed

 

You  need to use a variable and for this case would be: wkStatus =' "Completed" ' , in case you have combo box you need to use Trim(wkStatus). 

You need to use: Planner.UpdateTask(TaskListGallery.Selected.id,{percentComplete:Trim(wkStatus)})... 

Sorry for my previous post!!

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (4,936)