Skip to content

Latest commit

 

History

History
114 lines (79 loc) · 2.7 KB

File metadata and controls

114 lines (79 loc) · 2.7 KB
external help file Microsoft.Online.SharePoint.PowerShell.dll-Help.xml
Module Name Microsoft.Online.SharePoint.PowerShell
online version https://learn.microsoft.com/powershell/module/microsoft.online.sharepoint.powershell/add-spositecollectionappcatalog
applicable SharePoint Online
title Add-SPOSiteCollectionAppCatalog
schema 2.0.0
author techwriter40
ms.author pamgreen
ms.reviewer

Add-SPOSiteCollectionAppCatalog

SYNOPSIS

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

-Site

Applicable: SharePoint Online

Url of the site to add the app catalog to.

Type: Microsoft.Online.SharePoint.PowerShell.SpoSitePipeBind
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Confirm

Applicable: SharePoint Online

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

Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases: cf

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

-WhatIf

Applicable: SharePoint Online

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: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases: wi

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

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

None

OUTPUTS

System.Object

NOTES

RELATED LINKS