Skip to content

teams app install

Installs a Microsoft Teams team app from the catalog in the specified team or for the specified user

Usage

m365 teams app install [options]

Options

--id <id>
The ID of the app to install
--teamId [teamId]
The ID of the Microsoft Teams team to which to install the app
--userId [userId]
The ID of the user for who to install the app. Specify either userId or userName to install a personal app for a user.
--userName [userName]
The UPN of the user for who to install the app. Specify either userId or userName to install a personal app for a user.
-h, --help [help]
Output usage information. Optionally, specify which section of command's help you want to see. Allowed values are options, examples, remarks, response, full. Default is full.
--query [query]
JMESPath query string. See http://jmespath.org/ for more information and examples
-o, --output [output]
Output type. json,text,csv,md. Default json
--verbose
Runs command with verbose logging
--debug
Runs command with debug logging

Remarks

The id has to be the ID of the app from the Microsoft Teams App Catalog. Do not use the ID from the manifest of the zip app package. Use the teams app list command to get this ID instead.

Examples

Install an app from the catalog in a Microsoft Teams team

m365 teams app install --id 4440558e-8c73-4597-abc7-3644a64c4bce --teamId 2609af39-7775-4f94-a3dc-0dd67657e900

Install a personal app for the user specified using their user name

m365 teams app install --id 4440558e-8c73-4597-abc7-3644a64c4bce --userName steve@contoso.com

Install a personal app for the user specified using their ID

m365 teams app install --id 4440558e-8c73-4597-abc7-3644a64c4bce --userId 2609af39-7775-4f94-a3dc-0dd67657e900

Response

The command won't return a response on success.