Open JohnnyKapps opened 6 years ago
Have you checked the content types does not already exist? Or are you using a GUID that is already used by another content type?
@markcunninghamuk I checked everything, and generated a new GUID for all the fields (using a VSCode extension) and the problem persists...
Category
[ x ] Bug [ ] Enhancement
Environment
[ x ] Office 365 / SharePoint Online [ ] SharePoint 2016 [ ] SharePoint 2013
The error "Apply-PnPProvisioningTemplate : A duplicate content type "Item" was found." is ocurring when try to apply a provisioning template extracted from a Web of same tenant.
I have a site collection called "Site A" with some site collumns, content types, page layouts and other client site assets. I have extracted a Provisioning Template with "Get-PnPProvisioningTemplate" of "Site A", then I created another site collection, called "Site B" and then tried to Apply this Provisioning template, but the error occurs:
Apply-PnPProvisioningTemplate : A duplicate content type "Item" was found. No linha:1 caractere:1