Skip to main content

spo site appcatalog remove

Removes site collection app catalog from the specified site


m365 spo site appcatalog remove [options]


-u, --siteUrl <siteUrl>

URL of the site collection containing the app catalog to disable

-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 is options.

--query [query]

JMESPath query string. See for more information and examples.

-o, --output [output]

Output type. json, text, csv, md, none. Default json.


Runs command with verbose logging.


Runs command with debug logging.


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.


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


Remove the site collection app catalog from specified site

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


The command won't return a response on success.

More information