简体   繁体   中英

Is there a problem updating MS Teams using teh Graph SDL

I have tried to update the DisplayName of a Team. No error is returned, but Display Name is not updating.

Is this an error with the service?

Example Snippet Below

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";
}

I just tried updating the Team displayName using the PowerShell modules and it doesn't update. The response is a 204, which would explain why the return value is null.

This looks like a service issue to me.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM