Skip to main content

teams user app upgrade

Upgrade an app in the personal scope of the specified user

Usage

m365 teams user app upgrade [options]

Options

--id [id]

The unique id of the app instance installed for the user. Specify either id or name.

--name [name]

Name of the app instance installed for the user. Specify either id or name.

--userId [userId]

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

--userName [userName]

The UPN of the user to upgrade 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.

Examples

Upgrade an app by name for the specified user using its UPN.

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

Upgrade an app by name for the specified user using its id.

m365 teams user app upgrade --name HelloWorld --userId 2609af39-7775-4f94-a3dc-0dd67657e900

Upgrade an app by id for the specified user using its UPN.

m365 teams user app upgrade --id YzUyN2E0NzAtYTg4Mi00ODFjLTk4MWMtZWU2ZWZhYmE4NWM3IyM0ZDFlYTA0Ny1mMTk2LTQ1MGQtYjJlOS0wZDI4NTViYTA1YTY= --userName admin@contoso.com

Upgrade an app by id for the specified user using its id.

m365 teams user app upgrade --id YzUyN2E0NzAtYTg4Mi00ODFjLTk4MWMtZWU2ZWZhYmE4NWM3IyM0ZDFlYTA0Ny1mMTk2LTQ1MGQtYjJlOS0wZDI4NTViYTA1YTY= --userId 2609af39-7775-4f94-a3dc-0dd67657e900

Response

The command won't return a response on success.

CTRL + M