Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Get-PnPTeamsChannelMessageReply and -IncludeDeleted flag bug #3532

Closed
siddharth-vaghasia opened this issue Oct 23, 2023 · 1 comment · Fixed by #3676
Closed

[BUG] Get-PnPTeamsChannelMessageReply and -IncludeDeleted flag bug #3532

siddharth-vaghasia opened this issue Oct 23, 2023 · 1 comment · Fixed by #3676
Assignees
Labels
bug Something isn't working

Comments

@siddharth-vaghasia
Copy link
Contributor

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)
image

Output
image

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
@siddharth-vaghasia siddharth-vaghasia added the bug Something isn't working label Oct 23, 2023
@siddharth-vaghasia
Copy link
Contributor Author

siddharth-vaghasia commented Oct 23, 2023

hi @gautamdsheth - I found this as part of creating new command and was able to fix this..will create PR for this..you can assign this to me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant