Table of Contents

Remove-PnPGraphSubscription

SYNOPSIS

Removes an existing Microsoft Graph subscription. Required Azure Active Directory application permission depends on the resource the subscription exists on, see https://learn.microsoft.com/graph/api/subscription-delete#permissions.

SYNTAX

Remove-PnPGraphSubscription -Identity <GraphSubscriptionPipeBind>  

DESCRIPTION

Allows to remove an existing Microsoft Graph subscription.

EXAMPLES

EXAMPLE 1

Remove-PnPGraphSubscription -Identity bc204397-1128-4911-9d70-1d8bceee39da

Removes the Microsoft Graph subscription with the id 'bc204397-1128-4911-9d70-1d8bceee39da'

PARAMETERS

-Identity

The unique id or an instance of a Microsoft Graph Subscription

Type: GraphSubscriptionPipeBind
Parameter Sets: (All)

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

Microsoft 365 Patterns and Practices