pnp / PnP-PowerShell

SharePoint PnP PowerShell CmdLets
https://pnp.github.io/powershell
Other
988 stars 662 forks source link

Get-PnPAppInstance - Not including Site Collection App Catalog #1331

Open MarkStokes-outlook opened 6 years ago

MarkStokes-outlook commented 6 years ago

Reporting an Issue or Missing Feature

When I run Get-PnpApp or Get-PnPAppInstance I only get apps in the tenant AppCatalog, not the Site Collection App Catalog.

I want to run code to update the app in a Site Collection App Catalog and then iterate through all sub webs updating the App Instances (there are many sub webs)

Expected behavior

I expect to see the Apps contained in my Site Collection App Catalog alongside (or in place of with a parameter) the tenant AppCatalog

Actual behavior

I only see apps from the tenant AppCatalog

Steps to reproduce behavior

Get-PnPApp Get-PnPAppInstance

Which version of the PnP-PowerShell Cmdlets are you using?

What is the version of the Cmdlet module you are running?

2.22.2801.0

How did you install the PnP-PowerShell Cmdlets?

MarkStokes-outlook commented 6 years ago

Is this because ALM is not yet supported in Site Collection App Catalogs?

https://docs.microsoft.com/en-us/sharepoint/dev/general-development/site-collection-app-catalog

Current limitations Application Lifecycle Management (ALM) APIs are not yet supported At this moment, it's not possible to use the recently released ALM APIs to manage the lifecycle of solutions in site collection app catalogs. This is currently being worked on and should be available in the early 2018.