Skip to content

spo site appcatalog remove

Removes site collection app catalog from the specified site

Usage

m365 spo site appcatalog remove [options]

Options

-u, --url <url>
URL of the site collection containing the app catalog to disable
-h, --help
output usage information
--query [query]
JMESPath query string. See http://jmespath.org/ for more information and examples
-o, --output [output]
Output type. json,text. Default text
--verbose
Runs command with verbose logging
--debug
Runs command with debug logging

Important

To use this command you have to have permissions to access the tenant admin site.

Remarks

While the command uses the term 'remove', like its equivalent PowerShell cmdlet, it does not remove the special library Apps for SharePoint from the site collection. Instead, it disables the site collection app catalog in that site. Packages deployed to the app catalog are not available within the site collection.

Examples

Remove the site collection app catalog from specified site

m365 spo site appcatalog remove --url https://contoso.sharepoint/sites/site

More information