Table of Contents

Remove-PnPDeletedMicrosoft365Group

SYNOPSIS

Required Permissions

  • Microsoft Graph API: Group.ReadWrite.All

Permanently removes one deleted Microsoft 365 Group

SYNTAX

Remove-PnPDeletedMicrosoft365Group -Identity <Microsoft365GroupPipeBind> 
 

DESCRIPTION

Allows to permanently remove a deleted Microsoft 365 Group.

EXAMPLES

EXAMPLE 1

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

Permanently removes a deleted Microsoft 365 Group based on its ID

EXAMPLE 2

$group = Get-PnPDeletedMicrosoft365Group -Identity 38b32e13-e900-4d95-b860-fb52bc07ca7f
Remove-PnPDeletedMicrosoft365Group -Identity $group

Permanently removes the provided deleted Microsoft 365 Group

PARAMETERS

-Identity

The identity of the deleted Microsoft 365 Group to be deleted

Type: Microsoft365GroupPipeBind
Parameter Sets: (All)

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

Microsoft 365 Patterns and Practices