Table of Contents

Get-PnPWebhookSubscription

SYNOPSIS

Gets all the Webhook subscriptions of the resource

SYNTAX

Get-PnPWebhookSubscription [-List <ListPipeBind>] [-Connection <PnPConnection>]
 

DESCRIPTION

Allows to retrieve Webhook subscriptions of specified list.

EXAMPLES

EXAMPLE 1

Get-PnPWebhookSubscription -List MyList

Gets all Webhook subscriptions of the list MyList

EXAMPLE 2

Get-PnPList | Get-PnPWebhookSubscription

Gets all Webhook subscriptions of the all the lists

PARAMETERS

-Connection

Optional connection to be used by the cmdlet. Retrieve the value for this parameter by either specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.

Type: PnPConnection
Parameter Sets: (All)

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

-List

The list object or name to get the Webhook subscriptions from

Type: ListPipeBind
Parameter Sets: (All)

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

Microsoft 365 Patterns and Practices