How to update properties of a Team using Microsoft Graph API

The Update team method in Microsoft Graph API helps update the properties of the specified team. You can use the method below to retrieve information using the Microsoft Graph Explorer.

  1. PATCH https://graph.microsoft.com/beta/teams/{id}

Supply a JSON representation of the team object and its updated settings in the request body.

Example:

  1. PATCH https://graph.microsoft.com/beta/teams/{id}
  2. Content-type: application/json
  3. Content-length: 211
  4. {
  5. "memberSettings": {
  6. "allowCreateUpdateChannels": true
  7. },
  8. "messagingSettings": {
  9. "allowUserEditMessages": true,
  10. "allowUserDeleteMessages": false
  11. },
  12. "funSettings": {
  13. "allowGiphy": false,
  14. "giphyContentRating": "strict"
  15. },
  16. "discoverySettings": {
  17. "showInTeamsSearchAndSuggestions": true
  18. }
  19. }

If successful, the method will return a 204 No Content code in the response body.

Using Microsoft Graph to update team properties requires you to have the Group.ReadWrite.All permission. It can also be complex, time-consuming and error-prone. M365 Manager Plus helps simplify Microsoft Teams management with its bulk management feature.

How can M365 Manager Plus help?

The user-friendly interface helps you easily update team properties in bulk by simply importing a CSV file. You can also create automated workflows in the tool to manage Teams. This will help save time and reduce your workload.

Updating Microsoft Teams in bulk using M365 Manager Plus:

  1. Navigate to the Management tab.
  2. Go to Microsoft Teams in the left pane.
  3. Select Team Tasks → Update Team.
  4. Select the required Microsoft 365 Tenant from the drop-down box.
  5. Import the required CSV file.
  6. Update the team properties.
  7. Click Apply.

Update team

To learn more about managing Microsoft Teams using M365 Manager Plus, click here.

完整的Microsoft 365管理解决方案