Duplicate Field Name "Service_x0020_Group" was found #1345
Unanswered
PraveenS091213
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello Team,
Good day!
My name is Praveen and i am working on a scenario.
We have a SharePoint Online Team site created. This team site has site columns with "Single Line of Text", "Choice", & "MMS" column types. These site columns are used on a document library.
This site is used by the clients and there was a request to add couple of new columns to the list (of type Single line of text) and re-order the columns.
We have about 150 client sites and it had to be done on all the sites. To make the job simpler, we created a teamsite and incorporated all the changes requested by the client and used the following command to create a site template
Get-PnPProvisioningTemplate -Out "clientsitetemplate.pnp" -ExcludeHandlers ApplicationLifecycleManagement, SiteSecurity -ExcludeContentTypesFromSyndication
This template was then uploaded to the "Site Assets" library.
Post this, we used the following command to apply the template to one of the client sites and got the error
Invoke-PnPSiteTemplate -Path https://wipflillp.sharepoint.com/SiteAssets/clientsitetemplate.pnp -ClearNavigation -WarningAction ignore
Error Message:
Invoke-PnPSiteTemplate : A duplicate field name "Service_x0020_Group" was found.
At line:1 char:1
The existing client sites have the field called "Service Group" (internal name Service_x0029_Group). This field is coming from the site columns.
I am trying for options to successfully apply the template to the existing client sites but not able to get past this error. Could you please let me know if there is an option to force apply / ignore duplicate field names / any other action plan to get around this issue?
Thank you,
Regards,
Praveen
Beta Was this translation helpful? Give feedback.
All reactions