Teams in Microsoft 365 are inevitable. Teams are binding along with multiple services across Microsoft 365. In this blog, I would like to show you how to enable the guest user to create or update the Channels in Microsoft Teams using Microsoft Graph API.
The below endpoint used to update the Teams settings,
PATCH https://graph.microsoft.com/v1.0/teams/<team id>
The below request headers should be sent along with the request to update the settings,
Request Header: Content-Type: application/json
Request Body
{
"guestSettings": {
"allowCreateUpdateChannels": true
}
}
In Microsoft Graph Explorer, click Run Query to send the request and update the settings for the Team.
Output:
The below response will be returned after submitting the request.
{}