Skip to content
This repository has been archived by the owner on Aug 24, 2021. It is now read-only.

Apply-PnPProvisioningTemplate : A list, survey, discussion board, or document library with the specified title already exists in this Web site. #1921

Open
ezjurgen opened this issue Dec 29, 2020 · 0 comments

Comments

@ezjurgen
Copy link

ezjurgen commented Dec 29, 2020

Category

[X] Bug
[ ] Enhancement

Environment

[X] Office 365 / SharePoint Online
[ ] SharePoint 2016
[ ] SharePoint 2013

If SharePoint on-premises, what's exact CU version:

Expected or Desired Behavior

When creating template of a customised Modern Team Site Collection, that those alterations would be merged with a new Site Collection you are applying the template to.

Observed Behavior

when applying a template of a source site with customisations on default site elements to a new fresh site collection I get:
Apply-PnPProvisioningTemplate : A list, survey, discussion board, or document library with the specified title already exists in this Web site. Please choose another title. At line:46 char:1

Steps to Reproduce

On your Source Modern Teams Site collection, create an extra Column in the default Documents library. Create a view using that new column as a filter
Create a Site template of that site (XML or PNP, same result here)
Create a new modern team site collection
then use Apply-PnpProvisioningTemplate to apply the template
this error will fire and opening the new site collection you will see it applied everything unitl the documents library, everything else like other lists or doc libs will not be provisoned

thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant