spo app uninstall¶
Uninstalls an app from the site
Usage¶
m365 spo app uninstall [options]
Options¶
-i, --id <id>
- ID of the app to uninstall
-s, --siteUrl <siteUrl>
- Absolute URL of the site to uninstall the app from
--appCatalogScope [appCatalogScope]
- Scope of the app catalog:
tenant,sitecollection
. Defaulttenant
--confirm
- Don't prompt for confirming uninstalling the app
-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 isfull
. --query [query]
- JMESPath query string. See http://jmespath.org/ for more information and examples
-o, --output [output]
- Output type.
json,text,csv,md
. Defaultjson
--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.
m365 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.
m365 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.
m365 spo app uninstall --id b2307a39-e878-458b-bc90-03bc578531d6 --siteUrl https://contoso.sharepoint.com --appCatalogScope sitecollection
More information¶
- Application Lifecycle Management (ALM) APIs: https://docs.microsoft.com/en-us/sharepoint/dev/apis/alm-api-for-spfx-add-ins