I'm creating a team from a office 365 group using the c# sdk as specified in the documentation.
GraphServiceClient graphClient = new GraphServiceClient( authProvider );
var team = new Team
{
MemberSettings = new TeamMemberSettings
{
AllowCreateUpdateChannels = true
},
MessagingSettings = new TeamMessagingSettings
{
AllowUserEditMessages = true,
AllowUserDeleteMessages = true
},
FunSettings = new TeamFunSettings
{
AllowGiphy = true,
GiphyContentRating = GiphyRatingType.Strict
}
};
await graphClient.Groups["{id}"].Team
.Request()
.PutAsync(team);
This works to create the team and also adds the members and owners of the group automatically to the team, but it doesn't add guests from the group to the team.
Is this a known issue and is there a workaround for this problem?