pnp / pnp/pnpframework

ApplyProvisioningTemplate: "A duplicate field {GUID} was found"

Open
#428 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
259
Forks
161
Avg merge
10h 33m
Merged PRs (30d)
1

Description

Describe the issue
If I run ApplyProvisioningTemplate, an exception is thrown "A duplicate field {GUID} was found" after just the 1st Taxonomy Field, the field is created though.
The issue concerns The Fields of Type="TaxonomyFieldType".

Expected behavior
I expected the apply template to run untill everthing is applied.

Using:
Microsoft.SharePoint2019.CSOM 16.0.10337.12109
SharePointPnPCore2019 3.28.2012
SP on-premise 2019.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing ApplyProvisioningTemplate with a SharePoint 2019 template containing a TaxonomyFieldType field, then investigate the source of the duplicate field exception. The issue is done when the template applies fully without throwing and the taxonomy field is created correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.