cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
rschneider
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
v-alzhan-msft
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
v-alzhan-msft
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
MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Users online (30,661)