Block Members From Add And Remove Apps For The Team

Microsoft Team is a communication product/service from Microsoft 365. This helps the user to connect and communicate between the users within the organization or external Organization. There are two sets of user types within an Organization for a Team. Those are Owners and Members.

By default, Team members can add and remove the apps to the particular Team. In this blog, I would like to show you on how to block the members from adding and removing the Apps for the particular Microsoft Team.

Microsoft Graph API EndPoint

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

{
    "memberSettings": {
        "allowAddRemoveApps": false
    }
}

In Microsoft Graph Explorer, click Run Query to send the request and update the settings for the Team.

Now Team Members won't be able to add or remove the apps for the Microsoft Team.

Output

The below response will be returned after submitting the request.

{}