Forum Discussion
Creating a Team via the Graph giving "The navigation bind for the user was missing in request"
- Nov 25, 2020
Hello RichardBegg,
I had the same error and searching in Microsoft documentation I found this and based on it, I sent the request in the following way:
{ "template@odata.bind":"https://graph.microsoft.com/v1.0/teamsTemplates('standard')", "displayName":"My Sample Team", "description":"My Sample Team’s Description", "members":[ { "@odata.type":"#microsoft.graph.aadUserConversationMember", "roles":[ "owner" ], "user@odata.bind":"https://graph.microsoft.com/v1.0/users('0040b377-61d8-43db-94f5-81374122dc7e')" } ] }
The request was success.
Hello RichardBegg,
I had the same error and searching in Microsoft documentation I found this and based on it, I sent the request in the following way:
{
"template@odata.bind":"https://graph.microsoft.com/v1.0/teamsTemplates('standard')",
"displayName":"My Sample Team",
"description":"My Sample Team’s Description",
"members":[
{
"@odata.type":"#microsoft.graph.aadUserConversationMember",
"roles":[ "owner" ],
"user@odata.bind":"https://graph.microsoft.com/v1.0/users('0040b377-61d8-43db-94f5-81374122dc7e')"
}
]
}
The request was success.
- RichardBeggNov 25, 2020Copper Contributor
Hi LeandroJJ
Thanks for the pointer, I had thought I'd tried that but on reflection I believe I dropped the user off the beginning!
It had resolved that error, but I'm still unable to create a Team due to the already reported and being investigated issue with the backend template lookup:
Failed to execute Templates backend request CreateTeamFromTemplateRequestThanks again.Richard.- LeandroJJNov 25, 2020Copper Contributor
Can you give us more info about this new issue?
- RichardBeggNov 25, 2020Copper Contributor
This is the issue I've found relating to it is:
https://github.com/microsoftgraph/microsoft-graph-docs/issues/10777
Happens with education Teams. As long as I dont specify the visibility I have found it succeeds.