Skip to content

spo app uninstall

Uninstalls an app from the site

Usage

spo app uninstall [options]

Options

Option Description
--help output usage information
-i, --id <id> ID of the app to uninstall
-s, --siteUrl <siteUrl> Absolute URL of the site to uninstall the app from
--scope [scope] Scope of the app catalog: tenant|sitecollection. Default tenant
--confirm Don't prompt for confirming uninstalling the app
-o, --output [output] Output type. json|text. Default text
--verbose Runs command with verbose logging
--debug Runs command with debug logging

Remarks

If the app with the specified ID doesn't exist in the app catalog, the command will fail with an error.

Examples

Uninstall the app with ID b2307a39-e878-458b-bc90-03bc578531d6 from the https://contoso.sharepoint.com site.

spo app uninstall --id b2307a39-e878-458b-bc90-03bc578531d6 --siteUrl https://contoso.sharepoint.com

Uninstall the app with ID b2307a39-e878-458b-bc90-03bc578531d6 from the https://contoso.sharepoint.com site without prompting for confirmation.

spo app uninstall --id b2307a39-e878-458b-bc90-03bc578531d6 --siteUrl https://contoso.sharepoint.com

Uninstall the app with ID b2307a39-e878-458b-bc90-03bc578531d6 from the https://contoso.sharepoint.com site where the app is deployed to the site collection app catalog of https://contoso.sharepoint.com.

spo app uninstall --id b2307a39-e878-458b-bc90-03bc578531d6 --siteUrl https://contoso.sharepoint.com --scope sitecollection

More information