What is App Catalog in SharePoint Online?
App Catalog in SharePoint is a central location where we can manage custom-developed apps or 3rd party apps and make them available for users to download across all site collections. These apps are listed under the “From Your Organization” link when you try to add a new app from the Site Contents page of your SharePoint Online site.
Create App Catalog Site Collection in SharePoint Online
You can create a tenant app catalog to make apps available to your SharePoint Online users. The app catalog is nothing but a site collection, and here is how to create an app catalog in SharePoint Online:
- Login to your SharePoint Online admin center as SharePoint Online Administrator: https://<Tenant>-admin.sharepoint.com
- Click on the “More Features” in the left navigation >> Click on “Open” under “Apps” in the SharePoint admin center to open the “App Catalog” site. (URL shortcut: https://YourDomain-admin.sharepoint.com/_layouts/15/tenantAppCatalog.aspx ).
- The first time you select the App Catalog link, you’ll be presented with a page saying, “Creating the site for storing apps”
This creates the Tenant app catalog in SharePoint Online. Once the app catalog site is created, you can add or deploy apps to it. The App Catalog will have “Apps for Office”, and “Apps for SharePoint” libraries and a list to track user App Requests.
Access App Catalog in SharePoint Online
Now if you go to Admin Center >> Apps >> App Catalog, You’ll be redirected to the app catalog site which we have created! Now, Let’s create an app catalog site collection in SharePoint Online with PowerShell.
Create Site Collection App Catalog in SharePoint Online using PowerShell:
You can also set up the Site Collection App Catalog instead of Tenant App Catalog to deploy solutions only in the selected site collection. Furthermore, this prevents other sites from accessing the solution during the development phase. Once the development is completed, you can deploy it to the Tenant App catalog to make it available to the organization.
#Define Variables $AdminCenterURL = "https://Crescent-admin.sharepoint.com" $AppCatalogURL="https://Crescent.sharepoint.com/sites/DevApps" #Connect to SharePoint Online $Cred = Get-credential Connect-SPOService -url $AdminCenterURL -Credential $Cred #Set Site Collection as App Catalog $Site = Get-SPOSite $AppCatalogURL #Set Site collection as app catalog Add-SPOSiteCollectionAppCatalog -Site $Site
Now, you should see the “Apps for SharePoint” on the Site Contents page. Similarly, to delete the site collection App Catalog, use:
Remove-SPOSiteCollectionAppCatalog -Site $Site
Creating site collection app catalogs using PnP PowerShell is in my other article: How to enable site collection app catalog SharePoint Online?