How to Create App Catalog Site in SharePoint Online?

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. App catalog is nothing is a site collection and here is how to create app catalog in SharePoint Online:
  • Login to your SharePoint Online admin center as SharePoint Online Administrator: https://<Tenant>-admin.sharepoint.com
  • Click on "Apps" link from the left navigation of SharePoint admin center >> Click on "App Catalog" link in Apps page. The first time you select the App Catalog link, you are prompted to create a new app catalog site or use an existing site.
  • Select "Create New app catalog site" and Click OK
    Create App Catalog Site Collection SharePoint Online
  • Enter Site Name, Site URL and Site Admin details. Click OK to create the App catalog site
    sharepoint online create app catalog site
This creates Tenant app catalog in SharePoint Online. Once the site gets created, it will be listed on the site collections list.
create an app catalog site sharepoint online
Once the App Catalog 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, so that solutions are deployed only in the selected site collection. Also, this prevents other sites to have access to 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://crescenttech-admin.sharepoint.com"
$AppCatalogURL="https://crescenttech.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" in the Site Contents page. Similarly, to delete the site collection App Catalog, use:
Remove-SPOSiteCollectionAppCatalog -Site $Site
Creating a site collection app catalogs using PnP PowerShell is in my other article: How to enable site collection app catalog SharePoint Online?

No comments:

Please Login and comment to get your questions answered!

Powered by Blogger.