@Wolken Software Ltd - When issuing a request with application permissions, a user must be specified in the members collection.
POST https://graph.microsoft.com/v1.0/teams
Content-Type: application/json
{
"******@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"
],
"******@odata.bind":"https://graph.microsoft.com/v1.0/users('0040b377-61d8-43db-94f5-81374122dc7e')"
}
]
}
If you are using the unattended client credentials flow to obtain an access token, then you must specify the user in the member collection.