Shantha Kumar T
How to setup a Site Collection App Catalog directly from your browser
Discover how to effortlessly create a Site Collection App Catalog in SharePoint Online using your browser. Enable custom app deployment tailored to specific site collections without needing PowerShell.
Introduction
App Catalog is a library in SharePoint Online that allows us to deploy and manage custom SharePoint Framework (SPFx) solutions or other custom applications. There are types of App Catalogs. They are
- Tenant App Catalog
- Site Collection App Catalog
The apps deployed in Tenant App Catalog will be available across all SharePoint Sites. Whereas if the app deployed in SharePoint Collection App catalog, are available only within that specific site collection.
To create a Site Collection App Catalog, there is no direct way available in SharePoint Online UI. Instead, we can use the commands from SharePoint. Online Management Shell, PnP PowerShell or Microsoft 365 CLI commands.
How to Create Site Collection App Catalog
In this blog post, I’m going to show you the alternate and easier way to create app catalog for SharePoint Site Collection. Follow the steps below to achieve this,
- Navigate to SharePoint Admin Center
- Open the browser developer tools (Chrome or Edge is preferred)
- If the developer tools doesn’t support pasting. Type “allow pasting” and press enter to run the command.
- Copy and paste the below script into the developer toolbar and press Enter.
- Then use the below script to create an app catalog. Add the below line to the developer console. Replace the <Tenant Name> to your tenant’s name and <Site Collection URL> with the Site Collection where you want to have App Catalog library.
createsiteappcatalog("https://<Tenant Name>-admin.sharepoint.com","<Site Collection URL>");
- After running the script, the Apps for SharePoint library will be created in the SharePoint Site to confirm the setup.