You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reporting an Issue
Import-PnPTermGroupFromXml to update the name of term group and term, on a daily basis. Even when the attribute is set UpdateBehavior="Overwrite" in termgroup, the command does not update the Term Name, even if you have the same Term ID.
Expected or Desired Behavior
The Term Name should update based on the xml if the Term ID is matched.
Observed Behavior
The Term Name is not updated into term store if the Term ID is matched.
Steps to Reproduce
Create a sample XML file called test.xml:
<pnp:TermGroups xmlns:pnp="http://schemas.dev.office.com/PnP/2022/09/ProvisioningSchema">
<pnp:TermGroup Name="Test" ID="cd61a4d5-6fad-493b-81e2-958e3f3e6f21" Description="Test 123" UpdateBehavior="Overwrite">
pnp:TermSets
<pnp:TermSet Name="Type Level 1" Description="Test" Language="1033" ID="aa044f8f-874a-4b36-ad7f-fd21f815a36b">
<pnp:Terms />
</pnp:TermSet>
</pnp:TermSets>
</pnp:TermGroup>
</pnp:TermGroups>
Import it using command Import-PnPTermGroupFromXml -Path "test.xml"
Change the name of TermGroup and TermName
Import once again it using command Import-PnPTermGroupFromXml -Path "test.xml"
New Names are not updating
The text was updated successfully, but these errors were encountered:
Category
[x] Bug
[ ] Enhancement
Environment
[x] Office 365 / SharePoint Online
Reporting an Issue
Import-PnPTermGroupFromXml to update the name of term group and term, on a daily basis. Even when the attribute is set UpdateBehavior="Overwrite" in termgroup, the command does not update the Term Name, even if you have the same Term ID.
Expected or Desired Behavior
The Term Name should update based on the xml if the Term ID is matched.
Observed Behavior
The Term Name is not updated into term store if the Term ID is matched.
Steps to Reproduce
Create a sample XML file called test.xml:
<pnp:TermGroups xmlns:pnp="http://schemas.dev.office.com/PnP/2022/09/ProvisioningSchema">
<pnp:TermGroup Name="Test" ID="cd61a4d5-6fad-493b-81e2-958e3f3e6f21" Description="Test 123" UpdateBehavior="Overwrite">
pnp:TermSets
<pnp:TermSet Name="Type Level 1" Description="Test" Language="1033" ID="aa044f8f-874a-4b36-ad7f-fd21f815a36b">
<pnp:Terms />
</pnp:TermSet>
</pnp:TermSets>
</pnp:TermGroup>
</pnp:TermGroups>
Import it using command Import-PnPTermGroupFromXml -Path "test.xml"
Change the name of TermGroup and TermName
Import once again it using command Import-PnPTermGroupFromXml -Path "test.xml"
New Names are not updating
The text was updated successfully, but these errors were encountered: