The issue is that we started setting odata.type on all models. The type is correctly set, it is just that the service isn't ignoring the value as should be expected. This is a service issue that was exposed by a change in the client library. The client workaround is to set the odatatype property to null when creating the Teams objects.
Team newTeam = new Team()
{
GuestSettings = new TeamGuestSettings
{
AllowCreateUpdateChannels = false,
AllowDeleteChannels = false,
ODataType = null
},
MemberSettings = new TeamMemberSettings
{
AllowCreateUpdateChannels = false,
ODataType = null
},
MessagingSettings = new TeamMessagingSettings
{
AllowUserEditMessages = true,
AllowUserDeleteMessages = true,
ODataType = null
},
FunSettings = new TeamFunSettings
{
AllowGiphy = true,
GiphyContentRating = GiphyRatingType.Strict,
ODataType = null
},
ODataType = null
};
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…