Skip to content

[BUG] Remove-PnPTermLabel does not honor -Confirm:$false #5018

@2Who

Description

@2Who

Reporting an Issue

Remove-PnPTermLabel does not honor -Confirm:$false

Expected behavior

No prompt for confirmation when -Confirm:$false is set

Actual behavior

When calling Remove-PnPTermLabel with -Confirm:$false it still prompts for confirmation.
Delete label Microsoft.SharePoint.Client.Taxonomy.Label for language xxxx from Term xxxx with id xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxx

Steps to reproduce behavior

Remove-PnPTermLabel -Label $myLabel.Value -Term $myTerm-Lcid $myLcid -Confirm:$false

What is the version of the Cmdlet module you are running?

3.1.0

Which operating system/environment are you running PnP PowerShell on?

  • Windows
  • Linux
  • MacOS
  • Azure Cloud Shell
  • Azure Functions
  • Other : please specify

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