Skip to content

graph teams app uninstall

Uninstalls an app from a Microsoft Team team

Usage

graph teams app uninstall [options]

Options

Option Description
--help output usage information
--appId <appId> The unique id of the app instance installed in the Microsoft Teams team
--teamId <teamId> The ID of the Microsoft Teams team from which to uninstall the app
--confirm Don't prompt for confirmation when uninstalling the app
-o, --output [output] Output type. json|text. Default text
--verbose Runs command with verbose logging
--debug Runs command with debug logging

Important

Before using this command, log in to the Microsoft Graph, using the graph login command.

Remarks

To uninstall an app from a Microsoft Teams team, you have to first log in to the Microsoft Graph using the graph login command, eg. graph login.

The appId has to be the id the app instance installed in the Microsoft Teams team. Do not use the ID from the manifest of the zip app package or the id from the Microsoft Teams App Catalog.

Examples

Uninstall an app from a Microsoft Teams team

graph teams app uninstall --appId YzUyN2E0NzAtYTg4Mi00ODFjLTk4MWMtZWU2ZWZhYmE4NWM3IyM0ZDFlYTA0Ny1mMTk2LTQ1MGQtYjJlOS0wZDI4NTViYTA1YTY= --teamId 2609af39-7775-4f94-a3dc-0dd67657e900