Open khha opened 6 years ago
I have the same issue and it's related to ContentTypes. Does somebody know a solution?
I was getting the same error when I tried to provision Metadata Navigation settings.
I tried this first:
<pnp:Navigation AddNewPagesToNavigation="true" CreateFriendlyUrlsForNewPages="true">
<pnp:GlobalNavigation NavigationType="Managed">
<pnp:ManagedNavigation TermStoreId="{sitecollectiontermstoreid}" TermSetId="{sitecollectiontermsetid:Termset Name}" />
</pnp:GlobalNavigation>
</pnp:Navigation>
When I take the spaces out of the termset name that I am using in the TermSetId attribute, it works perfectly.
<pnp:ManagedNavigation TermStoreId="{sitecollectiontermstoreid}" TermSetId="{sitecollectiontermsetid:TermsetName}" />
I got the idea from StackExchange.
Category
[ X] Bug [ ] Enhancement
Environment
[ ] Office 365 / SharePoint Online [ ] SharePoint 2016 [ X] SharePoint 2013
If SharePoint on-premises, what's exact CU version: 15.0.4569.1506
Expected or Desired Behavior
I expect a new created contenttype.
Observed Behavior
I downloaded the latest sharepoint 2013 pnp powershell msi file (June 2018 Release, 2.27.1806.0 ). I created a pnp template to create a new manage metadata field. I run the pnp powershell command "Apply-PnPProvisioningTemplate".
I receive this error:
Here is my pnp template: