Skip to content

[BUG] Export-PnPTaxonomy failed with lcid for termset containing synonyms #5466

Description

@ericjulien-talan

Hi guys

Export-PnPTaxonomy with lcid parameter failed when synonyms are set on a term :

Export-PnPTaxonomy -Path $csvPath -TermSetId $termSet.Id -Lci …
     |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Sequence contains more than one matching element

Activity

  1. reshmee011 commented on Oct 4, 2026

    @reshmee011
    Collaborator

    @ericjulien-talan : Thanks for reporting the bug. I could reproduce the issue you are facing when providing the lcid parameter. However it's failing on Microsoft side with the CSOM API call behind the scenes. Have you considered using alternative methods, for instance, https://pnp.github.io/script-samples/spo-export-all-term-groups-with-translation-labels/README.html?tabs=pnpps or https://pnp.github.io/script-samples/spo-export-termstore-terms-to-csv/README.html?tabs=pnpps?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions