spo site appcatalog add
Creates a site collection app catalog in the specified site
Usage
m365 spo site appcatalog add [options]
Options
-u, --siteUrl <siteUrl>URL of the site collection where the app catalog should be added
-h, --help [help]Output usage information. Optionally, specify which section of command's help you want to see. Allowed values are
options,examples,remarks,permissions,response,full. Default isoptions.--query [query]JMESPath query string. See http://jmespath.org/ for more information and examples.
-o, --output [output]Output type.
json,text,csv,md,none. Defaultjson.--verboseRuns command with verbose logging.
--debugRuns command with debug logging.
Remarks
To use this command you must be either SharePoint Administrator or Global Administrator.
Examples
Add a site collection app catalog to the specified site
m365 spo site appcatalog add --siteUrl https://contoso.sharepoint.com/sites/site
Response
The command won't return a response on success.
More information
- Use the site collection app catalog: https://learn.microsoft.com/sharepoint/dev/general-development/site-collection-app-catalog