Add app to team

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported.

Installs an app to the specified team.

Permissions

One of the following permissions is required to call this API. To learn more, including how to choose permissions, see Permissions.

Permission type Permissions (from least to most privileged)
Delegated (work or school account) Group.ReadWrite.All
Delegated (personal Microsoft account) Not supported.
Application Group.ReadWrite.All

HTTP request

POST /teams/{id}/installedApps

Request headers

Header Value
Authorization Bearer {token}. Required.

Request body

Property Type Description
teamsApp String The id of the app to add.

Response

If successful, this method returns a 200 OK response code. It does not return anything in the response body.

Example

Request

The following is an example of the request.

POST /teams/87654321-0abc-zqf0-321456789q/installedApps
Content-type: application/json

{
   "teamsApp@odata.bind":"https://graph.microsoft.com/beta/appCatalogs/teamsApps/12345678-9abc-def0-123456789a"
}

Response

The following is an example of the response.

HTTP/1.1 200 OK