With the msgraph-sdk-dotnet I create a unified group.
var newGroup = await graphClient.Groups.Request().AddAsync(new Group
{
GroupTypes = new List<string> { "Unified" },
DisplayName = name,
Description = description,
MailEnabled = true,
SecurityEnabled = false,
Visibility = "Private",
});
Next I want to add a Team to it. The docs provide me with the HTTP request to create a team (PUT /groups/{id}/team
), but I would rather continue using the statically typed SDK.
What is the easiest way to use the SDK in order to create a Team?