Dalvir Singh
Dalvir Singh

Reputation: 433

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.

Upvotes: 0

Views: 2443

Answers (3)

Vivienne
Vivienne

Reputation: 1

I made sure that there was another owner on the Team, demoted and removed the owner and the re-added them to the team. This resolved the issue that I had with multiple teams

Upvotes: 0

Hilton Giesenow
Hilton Giesenow

Reputation: 10814

I'm glad you came right and that I was able to help. I'm updating the answer so that it's more clear on a few points:

  1. Technically, this actually has nothing to do with Teams at all, it relates to Office 365 Groups, which forms the core underneath Teams, Planner, and more. You actually link in your question to the Groups docs, incidentally. I've updated the question title to reflect this.

  2. I haven't tested this exactly, but I doubt that it needs your account exactly in the Owners and Members - I suspect the main constraint is that there needs to be at least one person in each of those roles (that means there has to be at least one Owner and at least one Member). Arguably, this is actually a bug in Planner, but it was maybe never detected by Microsoft because if you create a Group from the web interface, it automatically puts your user in as Owner and Member.

  3. If you do put your own account into both positions, but that's not what you want long term, you could probably just take them out after creating the Planner plan.

  4. Just a reminder that best practice is to have more than one owner of a Group, in case/when the original Owner is not/no longer available.

Upvotes: 1

Dalvir Singh
Dalvir Singh

Reputation: 433

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.

Upvotes: 0

Related Questions