Description
When I try to create a Task on one of the new Premium Plans in Microsoft Planner via the graph API endpoint: /planner/tasks, I get an error 403. If I do the same to an older existing or new Basic Plan, it works fine.
Repro
- You need a Planner Premium 1 added to your subscription
- Go into Teams
- Add the Planner add to your Teams bar
- Open Planner from Teams button
- New Plan in lower left
- Select Premium Plan and create it
- Add a single task titled: "Help!"
- Go to Graph Explorer, sign-in and get a list of plans /me/planner/plans, find your plan ID
- Now /planner/plans/{id}/buckets and get the ID for the bucket
- Now enter this into the body:
{
"title": "simple test",
"bucketId": "{bucket id}",
"planId": "{plan id}",
"orderHint": " !"
}
- Change URI to: /planner/tasks and type to POST
- Submit
RESULT: Error 403: You do not have the required permissions to access this item, or the item may not exist.
EXPECT: The task to submit
NOTE: You can GET on that endpoint...
- Change the type to GET leave at /planner/tasks
- Submit
RESULT: You will get the result where the task you created in step 7 above: "HELP!" appears.
EXPECT: Same
Conclusion
So, it the GET on the endpoint works, why does not the POST operation?
Am I the first to encounter this? I do not see it documented anywhere in the Planner Graph API documentation. I look for a new permission to add in my application, but not sure what would apply here.
Please Help!