Create Team
1 TopicMicrosoft Graph Api - Create team Visibility : HiddenMembership error
Hi. I've been create a team using this code in c#, using Microsoft Graph Api. var additionalData = new Dictionary<string, object>() { { "template@odata.bind", "https://graph.microsoft.com/beta/teamsTemplates('educationClass')" }, { "owners@odata.bind", new List<string>() } }; (additionalData["owners@odata.bind"] as List < string >).Add("https://graph.microsoft.com/v1.0/users/" + ownId); var team = new Team { DisplayName = displayName, Description = description, AdditionalData = additionalData }; await graphClient .Teams .Request() .AddAsync(team); But there was an error all of a sudden today. As follows Team Definition. Visibility' should be equal to 'HiddenMembership' So I set the Visibility option. Visibility = TeamVisibilityType.HiddenMembership But error occured like this.. Team Visibility must be one of known types: [Private,Public,HiddenMembership] There is also no information on 'HiddenMemberhip' in https://docs.microsoft.com/en-us/graph/api/resources/teamvisibilitytype?view=graph-rest-beta The Visual studio nuget manager also upgraded to the latest beta version. License is Education A1. I don't know what's going on here. Any way is fine, so please help me.. Thanks7.1KViews3likes13Comments