Add-PnPSiteCollectionAppCatalog

Tip

We encourage you to make improvements to this documentation. Please navigate to https://github.com/pnp/powershell/blob/dev/documentation/Add-PnPSiteCollectionAppCatalog.md to change this file.

Required Permissions

  • SharePoint: Access to the SharePoint Tenant Administration site

Adds a Site Collection scoped App Catalog to a site

Syntax

Add-PnPSiteCollectionAppCatalog
   [-Site <SitePipeBind>]
   [-Connection <PnPConnection>]
   [<CommonParameters>]

Examples

EXAMPLE 1

Add-PnPSiteCollectionAppCatalog

This will add a SiteCollection app catalog to the currently connected to site

EXAMPLE 2

Add-PnPSiteCollectionAppCatalog -Site "https://contoso.sharepoint.com/sites/FinanceTeamsite"

This will add a SiteCollection app catalog to the specified site

Parameters

-Connection

Optional connection to be used by the cmdlet. Retrieve the value for this parameter by either specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.

Type:PnPConnection
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Site

Url of the site to add the app catalog to.

Type:SitePipeBind
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False