cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Advocate II
Advocate II

Create Teams team multiple owners

Hello community,

I am building a flow that automatically creates a team using an http POST request to the Graph API.
This is how the official documentation suggests using the API:

Snap11.jpg

As you can see in the screenshot, the request includes two owners.


I am sending the following, also with two owners:

{
  "template@odata.bind": "https://graph.microsoft.com/beta/teamsTemplates('standard')",
  "visibility": "Private",
  "displayName": "Name",
  "description": "Description",
  "channels": [
    {
      "displayName": "Discussion",
      "isFavoritedByDefault": true,
      "description": "Room for Discussion here"
    },
    {
      "displayName": "Auxiliary",
      "isFavoritedByDefault": true,
      "description": "Additional channel"
    }
  ],
  "owners@odata.bind": [
    "https://graph.microsoft.com/beta/users('<Id>')",
    "https://graph.microsoft.com/beta/users('<Id>')"
  ]
}
Here however, I am getting the following error:
Snap12.jpg

 

This seems to be a bug with the beta.
1 ACCEPTED SOLUTION

Accepted Solutions
Community Support
Community Support

Hi @rschneider ,

 

Yes, the error message told that only one owner can be provided, I'm afraid that there is a one owner limit when create team in Microsoft flow currently.

 

Best regards,

Alice   

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

+

/*-\\===-

View solution in original post

1 REPLY 1
Community Support
Community Support

Hi @rschneider ,

 

Yes, the error message told that only one owner can be provided, I'm afraid that there is a one owner limit when create team in Microsoft flow currently.

 

Best regards,

Alice   

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

+

/*-\\===-

View solution in original post

Helpful resources

Announcements
New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (77,733)