Skip to content

Remove-PnPTeamsChannel throws an exception, the team channel is deleted though #4035

@frbori

Description

@frbori

Reporting an Issue or Missing Feature

Issue about cmdlet "Remove-PnPTeamsChannel".

Expected behavior

The team channel to be removed, without throwing any exceptions.

Actual behavior

The team channel is actually removed, but the cmdlet returns an exception:
"Remove-PnPTeamsChannel: Channel not found".

Steps to reproduce behavior

Remove-PnPTeamsChannel -Team $team.GroupId -Identity $channel.Id

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

2.4.0

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

  • Windows

Metadata

Metadata

Assignees

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