PnP-PowerShell icon indicating copy to clipboard operation
PnP-PowerShell copied to clipboard

Install-PnPSolution

Open MartinHatch opened this issue 8 years ago • 0 comments

Reporting an Issue or Missing Feature

When trying to use Install-PnPSolution on an Office 365 tenant I am getting the error:

**Install-PnPSolution : A list, survey, discussion board, or document library with the specified title already exists in this Web site. Please choose another title. At line:1 char:1

  • Install-PnPSolution -PackageId $guid05 -SourceFilePath C:\Users\marti ...
  •   + CategoryInfo          : WriteError: (:) [Install-PnPSolution], ServerException
      + FullyQualifiedErrorId : EXCEPTION,SharePointPnP.PowerShell.Commands.Site.InstallSolution**
    
    

The WSP is empty (no features or elements) as I have removed everything to try and find the root cause of this issue.

Uploading and manually activating the solution works without any errors.

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

  • [ ] PnP PowerShell for SharePoint 2013
  • [ ] PnP PowerShell for SharePoint 2016
  • [ X ] PnP PowerShell for SharePoint Online

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

2.19.17

How did you install the PnP-PowerShell Cmdlets?

Downloaded folder and added to session using Add-Module

MartinHatch avatar Dec 06 '17 15:12 MartinHatch