Forum Discussion
Rahul Suryawanshi
Feb 19, 2018Copper Contributor
SharePoint Online CSOM for creating Site Collection App Catalog
Hi All,
I know that there is PowerShell cmdlets to create and remove site collection app catalog. Question is are there CSOM APIs available to do the same?
- Feb 26, 2018
Hi,
you should be able to do that with following CSOM commands as long as you are using relatively new CSOM NuGet version. You will need to have owner privileges to the tenant app catalog site collection to make this call.
Web.TenantAppCatalog.SiteCollectionAppCatalogsSites.Add(this.Site.Url);
florianwachter
Nov 13, 2019Brass Contributor
VesaJuvonen : Do you have an update on this?
Are there still plans to include this in CSOM? If not, is there an option to create a tenant app catalog using PowerShell or CLI?
Thanks
VesaJuvonen
Microsoft
Nov 14, 2019
Plans still do exists, but no ETA. Having an API to make this happen is also pre-requisite for supporting it in PowerShell or in CLI, as they will be then calling that API.