Table of Contents

Get-PnPDeletedMicrosoft365Group

SYNOPSIS

Required Permissions

  • Microsoft Graph API : One of Group.Read.All, Group.ReadWrite.All

Gets one deleted Microsoft 365 Group or a list of deleted Microsoft 365 Groups

SYNTAX

Get-PnPDeletedMicrosoft365Group [-Identity <Microsoft365GroupPipeBind>] 

DESCRIPTION

Allows to get list of deleted Microsoft 365 Groups. Use the Identity option to specify the exact group.

EXAMPLES

EXAMPLE 1

Get-PnPDeletedMicrosoft365Group

Retrieves all deleted Microsoft 365 Groups

EXAMPLE 2

Get-PnPDeletedMicrosoft365Group -Identity 38b32e13-e900-4d95-b860-fb52bc07ca7f

Retrieves a specific deleted Microsoft 365 Group based on its ID

PARAMETERS

-Identity

The Identity of the Microsoft 365 Group

Type: Microsoft365GroupPipeBind
Parameter Sets: (All)

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

Microsoft 365 Patterns and Practices