Looks like the [email protected] doesn't work in beta and V1.0 endpoint, please advice, thank you.
{
"[email protected]":"https://graph.microsoft.com/v1.0/teamsTemplates('standard')",
"displayName":"My Sample Team",
"description":"My Sample Team’s Description",
"[email protected]":[
{
"@odata.type":"#microsoft.graph.aadUserConversationMember",
"roles":[
"owner"
],
"userId":"0040b377-61d8-43db-94f5-81374122dc7e"
}
]
}
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
Looks like this is the answer, please help fix the sample code in the document. https://stackoverflow.com/questions/64322274/microsoft-graph-create-teams-api-returns-bind-requests-not-supported-for-cont
@longnlp , I cross verified the create team request it seems document needs to be updated; Here is the correct request body
{
"[email protected]": "https://graph.microsoft.com/beta/teamsTemplates('standard')",
"displayName": "My Test Team",
"description": "My Test Team for testing purpose",
"members": [
{
"@odata.type": "#microsoft.graph.aadUserConversationMember",
"roles": ["owner"],
"userId": "b130c271-d2eb-45f9-83ab-9eb3fe3788bc"
}
]
}
@laujan : could you please help to update the document request with above sample code request?
Most helpful comment
@longnlp , I cross verified the create team request it seems document needs to be updated; Here is the correct request body
@laujan : could you please help to update the document request with above sample code request?