The App catalog site collection to hold our Apps. There can be one App Catlog site collection in a webapplication. There can be multiple App catalog site collection in a web application.
The App Catalog site collection can be created from central admin however following are the powershell command which can be used and modified according to need to create and associate app site collection for webapplication.
# Following command to create new app catalog sitecollection New-SPSite -Url http://XYZ:1440/sites/AppCatalog -OwnerAlias "XYZ\administrator" -Name “App Catalog site" -Template "APPCATALOG#0" Write-Output "Start associating app catalog sitecollection" $AppCatalogSitecollectionUrl "to" $WebApplicationUrl; Update-SPAppCatalogConfiguration -site $AppCatalogSitecollectionUrl -Force:$true -SkipWebTemplateChecking:$true; Write-Output "Association completed";
No comments:
Post a Comment