Commands › SharePoint Online

Add-SPOSiteCollectionAppCatalog

SharePoint Online Microsoft.Online.SharePoint.PowerShell Add-*

Adds a Site Collection scoped App Catalog to a site.

Quick start script

# Add-SPOSiteCollectionAppCatalog — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-SPOService -Url https://$org-admin.sharepoint.com

# 2. Run and inspect
Add-SPOSiteCollectionAppCatalog -Site <SpoSitePipeBind> | Format-List

# 3. Export for evidence / drift tracking
Add-SPOSiteCollectionAppCatalog | Export-Clixml .\SPOSiteCollectionAppCatalog-$(Get-Date -Format yyyyMMdd).xml

Syntax

Add-SPOSiteCollectionAppCatalog -Site <SpoSitePipeBind> [-WhatIf] [-Confirm] [<CommonParameters>]

Parameters (3)

ParameterTypeRequiredWhat it controls
-Site SpoSitePipeBind yes Url of the site to add the app catalog to.
-Confirm SwitchParameter Prompts you for confirmation before executing the command. For more information, type the following command: `get-help about_commonparameters`
-WhatIf SwitchParameter Displays a message that describes the effect of the command instead of executing the command. For more information, type the following command: `get-help about_commonparameters`

Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.