microsoft-graph-apimicrosoft-teamsmicrosoft-graph-teamsmicrosoft-planner

Microsoft Groups/Teams: Can't create plans for Planner App


I created a Group using https://learn.microsoft.com/en-us/graph/api/group-post-groups?view=graph-rest-1.0&tabs=http

and then used https://learn.microsoft.com/en-us/graph/api/team-put-teams?view=graph-rest-1.0&tabs=http

to create a Team. Now I am facing issue when adding a plan using a Planner app

"Failed to create the plan."

How I can fix this issue?

In my investigations, I found that the other team members are able to create plans. As an owner of the team, I am not able to create them. if I am trying graph API I'm getting an error:

You do not have the required permissions to access this item, or the item may not exist.


Solution

  • It's fixed after adding the creator of teams as a member too. So I had to add the user who is creating Teams in Team members too.