Forum Discussion

Mark Andrada's avatar
Mark Andrada
Copper Contributor
Mar 14, 2018
Solved

PnP PowerShell - Installing and publishing apps on the site collection app catalog

It seems like https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/install-pnpapp?view=sharepoint-ps and https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/publish-pnpapp?view=sharepoint-ps cmdlets are only available for the tenant app catalog.
Is there anyway to make these cmdlets work for the site collection app catalog? If not, what are my options to go about installing/publishing apps on the site collection app catalog programmatically.

Thanks

  • Accoring to the article below "ALM APIs are not currently supported for the https://docs.microsoft.com/en-us/sharepoint/dev/general-development/site-collection-app-catalog. Support will be added in early 2018

     

    https://docs.microsoft.com/en-us/sharepoint/dev/apis/alm-api-for-spfx-add-ins 

     

    "Early 2018" has almost passed if you ask me, but I guess we have to wait a little longer...

3 Replies

  • It seems like the following is working for adding and deploying to the site collection app catalog now:

     

    connect-pnponline <url to site collection with app catalog>
    Add-PnPApp -Path <path to sppkg file> -scope Site -Overwrite -Publish

     

    Regards Leif

  • paulpascha's avatar
    paulpascha
    Bronze Contributor

    Accoring to the article below "ALM APIs are not currently supported for the https://docs.microsoft.com/en-us/sharepoint/dev/general-development/site-collection-app-catalog. Support will be added in early 2018

     

    https://docs.microsoft.com/en-us/sharepoint/dev/apis/alm-api-for-spfx-add-ins 

     

    "Early 2018" has almost passed if you ask me, but I guess we have to wait a little longer...

    • cprothero's avatar
      cprothero
      Iron Contributor

      So we can make an app catalog, just not put anything in it yet? That's weird.

       

      Found this thread because I was able to put an SPFx app  in my site collection app catalog  (by drag and drop), but it doesn't show up as an available web part anywhere on my site. 

Resources