Using SharePoint Online site collection app catalog functionality SharePoint framework solutions and add-ins can now be deployed only to a particular site collection. This approach is way flexible compared to deploying all solutions in a centralized app catalog.
Centrally deploying solution is visible and available on all site collections. With this new functionality apps or add-ins can only be deployed to required site collections. Solutions deployed in site collection app catalog are available only in that particular site collection. This helps admins keep their tenant and site collections clean.
Here are the rules before we jump in:
- App catalog is readily not available on any site collection. Admin has to provision it first for developers to use.
- There can only be one app catalog per site collection.
- Admin can also disable the app catalog making the already deployed apps unusable and restricting the ability to publish new apps.
How to configure Site collection app catalog;
As of date, there is no UI option available to configure site collection app catalog. PowerShell is the only option.
Make sure to download latest version of SharePoint Online PowerShell Module here . Refer this article to get started with SharePoint Online Management Shell. Connect to your SharePoint Online tenant using the
Connect-SPOService cmdlet before running below cmdlet’s.
Remove-SPOSiteCollectionAppCatalog -Site https://<domain.sharepoint.com>/sites/site
Alternatively, here are PnP cmdlet’s
Add-PnPSiteCollectionAppCatalog -Site https://<domain.sharepoint.com>/sites/site
Remove-PnPSiteCollectionAppCatalog -site https://<domain.sharepoint.com>/sites/site
If you are an admin and looking for an easy way to manage or list all the sites where site collection app catalog is configured, here is a direct URL which lists all the sites