Replies: 1 comment 5 replies
-
Are your user term store admin? Could be a permission issue maybe?
fre. 7. apr. 2023 15.50 skrev mfxits ***@***.***>:
… Hi,
I'm using PnP.Powershell 1.12.0 and want to export a term group from the
"site collection term store" of the root site collection.
Let's say the group is named "*ABC*". It's the only group in the "site
local" terms store.
Get-PnpTermGroup lists all groups from the global term store including
the local "ABC".
For any global group piped to Export-PnPTermGroupToXml the result is as
expected:
Get-PnpTermGroup -Identity "XYZ" | Export-PnPTermGroupToXml
<pnp:TermGroups xmlns:pnp="http://schemas.dev.office.com/PnP/2022/09/ProvisioningSchema">
<pnp:TermGroup Name="XYZ" ID="8574c038-e187-435d-b2e5-e0520ffafea7" Description="" UpdateBehavior="Overwrite">
<pnp:TermSets> ... </pnp:TermSets>
</pnp:TermGroup>
</pnp:TermGroups>
But when I do the same with "ABC", the result is empty. It doesn't matter
if I use the ID or name as parameter for "Identity".
Get-PnpTermGroup -Identity "ABC" | Export-PnPTermGroupToXml
Both groups returned from Get-PnpTermGroup have the type
"Microsoft.SharePoint.Client.Taxonomy.TermGroup" and I can't see any
difference between them.
I also played with Get-PnPSiteCollectionTermStore, but that command just
returns the same term group object.
I search for the topic but found nothing. Can anyone help please?
- Markus
—
Reply to this email directly, view it on GitHub
<#2988>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAMTDTSB7E3OGCXB765DYNLXAALQTANCNFSM6AAAAAAWWSZSXQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
5 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm using PnP.Powershell 1.12.0 and want to export a term group from the "site collection term store" of the root site collection.
Let's say the group is named "ABC". It's the only group in the "site local" terms store.
Get-PnpTermGroup
lists all groups from the global term store including the local "ABC".For any global group piped to Export-PnPTermGroupToXml the result is as expected:
Get-PnpTermGroup -Identity "XYZ" | Export-PnPTermGroupToXml
But when I do the same with "ABC", the result is empty. It doesn't matter if I use the ID or name as parameter for "Identity".
Get-PnpTermGroup -Identity "ABC" | Export-PnPTermGroupToXml
Both groups returned from
Get-PnpTermGroup
have the type "Microsoft.SharePoint.Client.Taxonomy.TermGroup" and I can't see any difference between them.I also played with
Get-PnPSiteCollectionTermStore
, but that command just returns the same term group object.I searched for the topic but found nothing. Can anyone help please?
Beta Was this translation helpful? Give feedback.
All reactions