Skip to main content

teams user app add

Install an app in the personal scope of the specified user

Usage

m365 teams user app add [options]

Options

--id [id]

The ID of the app to install. Specify either id or name but not both.

--name [name]

Name of the app to install. Specify either id or name but not both.

--userId [userId]

The ID of the user to install the app for. Specify either userId or userName but not both.

--userName [userName]

The UPN of the user to install the app for. Specify either userId or userName but not both.

-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 options.

--query [query]

JMESPath query string. See http://jmespath.org/ for more information and examples.

-o, --output [output]

Output type. json, text, csv, md, none. 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.

Examples

Install an app by id from the catalog for the specified user by id.

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

Install an app by name from the catalog for the specified user by name.

m365 teams user app add --name HelloWorld --userName admin@contoso.com

Response

The command won't return a response on success.

CTRL + M