我试图更新DisplayName
一个团队。未返回错误,但显示名称未更新。
这是服务的错误吗?
下面的示例片段
private static async void testUpdate(AzureADConnection azureADConnection, String TeamNameId)
{
Team originalTeam = AuthenticationHelper
.graphClient(azureADConnection)
.Teams[TeamNameId]
.Request()
.GetAsync()
.Result;
Team Update = new Team();
Team Updated = new Team();
Update.DisplayName = "New Team Name";
Updated = await AuthenticationHelper
.graphClient(azureADConnection)
.Teams[TeamNameId]
.Request()
.UpdateAsync(Update);
string gh;
gh = "ssss";
}