question

azurro7 avatar image
0 Votes"
azurro7 asked Danstan-MSFT commented

How to Add members via Microsoft Graph to Teams

Hey Guys,

i have the problem, that I cannot add Users as "member" to a existing teams via Microsoft Graph. I can add the user as an "owner", but when I try to make the same action as a member, i get a failure:

https://graph.microsoft.com/v1.0/teams/bd774aac-9ff3-41f2-9153-5406e7543e14/members

{
"@odata.type": "#microsoft.graph.aadUserConversationMember",
"roles": ["member"],
"user@odata.bind": "https://graph.microsoft.com/v1.0/users('4766eae6-3619-4d26-a136-60edf1548587')"
}

Is there any possibility to add a user as a normal member?

office-teams-app-devmicrosoft-graph-teamwork
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @AlexanderZur-6746

Our forum is mainly focused on the general issue of Microsoft Teams troubleshooting. According to your description, your issue is more related to Teams development. So I will remove teams tag and add teams-app-dev tag. Hope you get better response!

0 Votes 0 ·

I don't see this behavior. Please describe and add error details of the failure you are getting so that we can tell what is going wrong

0 Votes 0 ·

1 Answer

azurro7 avatar image
1 Vote"
azurro7 answered Danstan-MSFT commented

Hey @Danstan,

I already figured out my mistake. I created a group with a dynamic membership. Therefore I couldn't add new member by graph or by powershell. Which way you would suggest to manage teams?

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Great. As for the way to manage teams I suggest you open new question explaining your use case and what kind of clarification you need.

0 Votes 0 ·