I have a missing term group in my tenant. It's not showing in the admin center where the term store is managed. So I found those very helpful PnP Cmdlets Export-PnPTermGroupToXml
and Import-PnPTermGroupFromXml
.
With those I was able to determine that the term group actually still exists in the back-end.
I'm able to export it and the import throws the error:
Termset ID is already present in termstore.
Is there a way of getting this term group or term set re-imported?
Thanks for your help.
Connect-PnPOnline https://tenant-admin.sharepoint.com/
followed byExport-PnPTermGroupToXml -Identity "termgroupID
. This exports an xml to my local hard drive. Then I doImport-PnPTermGroupFromXml -Path "localpath"
and I get the aforementioned error message. To me this means that the term group is still present in the term store but it can't be found though the GUI. Any idea?