PnP-Sites-Core icon indicating copy to clipboard operation
PnP-Sites-Core copied to clipboard

[BUG] Apply-PnPProvisioningTemplate : A duplicate field name - IgnoreDuplicateDataRowErrors

Open MelanieO365 opened this issue 4 years ago • 4 comments

Environment

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

Expected or Desired Behavior

When executing a command like this: Apply-PnPProvisioningTemplate -Path "<Folder location>" -ClearNavigation -IgnoreDuplicateDataRowErrors we expected the apply template to run untill everthing is applied.

Observed Behavior

When we apply a PnP provisiong template, it stops when a field already exists. The duplicate field errors should be ignored We tried to set the parameter "IgnoreDuplicateDataRowErrors" but this is not helping.

Apply-PnPProvisioningTemplate : A duplicate field name "ProjectName" was found. at run.ps1: line 149 + Apply-PnPProvisioningTemplate + _____________________________ + CategoryInfo : WriteError: (:) [Apply-PnPProvisioningTemplate], ServerException + FullyQualifiedErrorId : EXCEPTION,SharePointPnP.PowerShell.Commands.Provisioning.Site.ApplyProvisioningTemplate

MelanieO365 avatar Sep 09 '20 12:09 MelanieO365

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

ghost avatar Sep 09 '20 12:09 ghost

Hi @MelanieO365,

Did you ever find a way around this? We're experiencing the same issue.

Kerokk avatar Oct 12 '20 16:10 Kerokk

Hi,

any news here? I am facing the same problem

moudhafersalhi avatar Dec 08 '20 17:12 moudhafersalhi

Hi,

No still no solution for this issue.

MelanieO365 avatar Dec 08 '20 21:12 MelanieO365