-
Notifications
You must be signed in to change notification settings - Fork 399
Description
Reporting an Issue
Get-PnPTeamsChannelMessageReply command is returning only deleted replies if we don't specify -IncludeDeleted flag
Get-PnPTeamsChannelMessageReply -Team MyTestTeam -Channel "My Channel" -Message 1653089769293 -IncludeDeleted
Actual behavior
Get-PnPTeamsChannelMessageReply -Team CLITeamDemo -Channel "climicrosoft365" -Message 1698072147830
If we are not specifying -IncludeDeleted option it is only returns deleted messages replies, below screenshot
Reference message screenshot (if you see here there are 4 replies and only 1 is deleted)

Expected behavior
if we don't specify -IncludeDeleted option it should return all the active messages/which are not deleted
Steps to reproduce behavior
Run the command with below option
Get-PnPTeamsChannelMessageReply -Team CLITeamDemo -Channel "climicrosoft365" -Message 1698072147830
What is the version of the Cmdlet module you are running?
PnP.Powershell 2.0.53 (nightly build)
Which operating system/environment are you running PnP PowerShell on?
- [x ] Windows
