Table of Contents

Get-PnPTeamsChannelMessageReply

SYNOPSIS

Required Permissions

  • Microsoft Graph API: ChannelMessage.Read.All

Returns replies from the specified Microsoft Teams channel message.

SYNTAX

Get-PnPTeamsChannelMessageReply -Team <TeamsTeamPipeBind> -Channel <TeamsChannelPipeBind> -Message <TeamsChannelMessagePipeBind> 
[-Identity <TeamsChannelMessageReplyPipeBind>] [-IncludeDeleted]

DESCRIPTION

Allows to retrieve replies from the specified channel message.

EXAMPLES

EXAMPLE 1

Get-PnPTeamsChannelMessageReply -Team MyTestTeam -Channel "My Channel" -Message 1653089769293 -IncludeDeleted

Gets all (active and deleted) replies of the specified channel message.

EXAMPLE 2

Get-PnPTeamsChannelMessageReply -Team MyTestTeam -Channel "My Channel" -Message 1653089769293 -Identity 1653086004630

Gets a specific reply of the specified channel message.

PARAMETERS

-Team

Specify the group id, mailNickname or display name of the team to use.

Type: TeamsTeamPipeBind
Parameter Sets: (All)

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Channel

Specify id or name of the channel to use.

Type: TeamsChannelPipeBind
Parameter Sets: (All)

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Message

Specify the id of the message to use.

Type: TeamsChannelMessagePipeBind
Parameter Sets: (All)

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Identity

Specify the id of the message reply to use.

Type: TeamsChannelMessageReplyPipeBind
Parameter Sets: (All)

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-IncludeDeleted

Specify to include deleted messages

Type: SwitchParameter
Parameter Sets: (All)

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

Microsoft 365 Patterns and Practices