Table of Contents

Restore-PnPDeletedMicrosoft365Group

SYNOPSIS

Required Permissions

  • Microsoft Graph API: Group.ReadWrite.All

Restores one deleted Microsoft 365 Group

SYNTAX

Restore-PnPDeletedMicrosoft365Group -Identity <Microsoft365GroupPipeBind> 
 

DESCRIPTION

EXAMPLES

EXAMPLE 1

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

Restores a deleted Microsoft 365 Group based on its ID

EXAMPLE 2

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

Restores the provided deleted Microsoft 365 Group

PARAMETERS

-Identity

The Identity of the deleted Microsoft 365 Group

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 Microsoft Graph documentation