Cli-microsoft365: New command: Uninstall Microsoft Teams app for user

Created on 14 Jul 2020  路  3Comments  路  Source: pnp/cli-microsoft365

Usage

teams user app remove [options]

Description

Uninstall an app from the personal scope of the specified user.

Options

| Option | Description |
| ------------------------- | --------------------------------------------- |
| --appId <appId> | The ID of the app to uninstall |
| --userId <userId> | The ID of the user to uninstall the app for |
| --confirm | Confirm removal of app for user |

Additional Information

Uninstall app for user - https://docs.microsoft.com/en-us/graph/api/user-delete-teamsappinstallation?view=graph-rest-beta&tabs=http

I would like to work on this command if approved 馃槉

feature request new feature work in progress

Most helpful comment

Thanks @garrytrinder. Considering this is a delete operation, could you please confirm if I should also add the below as an option:

Option|Description
------|-----------
--confirm|Confirm removal of app for user

All 3 comments

Great suggestion @aakashbhardwaj619 and thank you for your help. Its all yours 馃憦馃徎

Thanks @garrytrinder. Considering this is a delete operation, could you please confirm if I should also add the below as an option:

Option|Description
------|-----------
--confirm|Confirm removal of app for user

Good catch, of course, yes, we should provide a confirm option on remove commands.

Was this page helpful?
0 / 5 - 0 ratings