Cli-microsoft365: o365 spo app remove doesn't remove entries from Client Side Component Manifests list

Created on 29 Oct 2019  路  3Comments  路  Source: pnp/cli-microsoft365

When manually deleting a solution package from the tenant app catalog (for a webparts solution) the webparts manifests are also automatically removed from the _Client Side Component Manifests_ list.

However, when using

o365 spo app retract --id <package id> --confirm

and

o365 spo app remove --id <package id> --confirm

to remove the solution package, the webpart manifests are left in the _Client Side Component Manifests_ list.

This means that the webparts are still available in the webpart gallery of sites which the solution package has been installed in.

question

Most helpful comment

Thanks @garrytrinder @waldekmastykarz

Using the PnP "App" command-lets works as expected, but when using the REST API, after running

https://<appcatalog siteurl>/_api/web/tenantappcatalog/AvailableApps/GetById('<solutionid>')/Remove

the webpart manifests are left in the _Client Side Component Manifests_ list.

Will close this and raise an issue at https://github.com/sharepoint/sp-dev-docs/issues

All 3 comments

Thank you for reporting this issue and bringing it to our attention. We will investigate...

@phillipharding since we're not doing anything specific in that regard other than using the SharePoint APIs, I suspect that the issue lies there. If you can see the same behavior when using for example PowerShell or the REST API, then it would be a SharePoint issue which should be raised at https://github.com/sharepoint/sp-dev-docs/issues

Thanks @garrytrinder @waldekmastykarz

Using the PnP "App" command-lets works as expected, but when using the REST API, after running

https://<appcatalog siteurl>/_api/web/tenantappcatalog/AvailableApps/GetById('<solutionid>')/Remove

the webpart manifests are left in the _Client Side Component Manifests_ list.

Will close this and raise an issue at https://github.com/sharepoint/sp-dev-docs/issues

Was this page helpful?
0 / 5 - 0 ratings