Add-SPOSiteCollectionAppCatalog

Adds a Site Collection scoped App Catalog to a site.

Syntax

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

Description

Use this cmdlet to add a site collection scoped app catalog to the specified site. To run this cmdlet user must have the following roles:

  • SharePoint Admin role
  • Site Collection Administrator of the tenant app catalog
  • Site Collection Administrator of the site collection of the site specified in the -Site parameter

Examples

Example 1

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

This example adds a SiteCollection app catalog to the specified site.

Parameters

-Confirm

Prompts you for confirmation before executing the command. For more information, type the following command: get-help about_commonparameters

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online

-Site

Url of the site to add the app catalog to.

Type:SpoSitePipeBind
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online

-WhatIf

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

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online