Table of Contents

Reset-PnPMicrosoft365GroupExpiration

SYNOPSIS

Required Permissions

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

Renews the Microsoft 365 Group by extending its expiration with the number of days defined in the group expiration policy set on the Azure Active Directory.

SYNTAX

Reset-PnPMicrosoft365GroupExpiration -Identity <Microsoft365GroupPipeBind>

DESCRIPTION

Allows to extend the Microsoft 365 Group expiration date by the number of days defined in the group expiration policy.

EXAMPLES

EXAMPLE 1

Reset-PnPMicrosoft365GroupExpiration

Renews the Microsoft 365 Group by extending its expiration with the number of days defined in the group expiration policy set on the Azure Active Directory.

PARAMETERS

-Identity

The Identity of the Microsoft 365 Group.

Type: Microsoft365GroupPipeBind
Parameter Sets: (All)

Required: True
Position: Named
Accept pipeline input: True

Microsoft 365 Patterns and Practices Microsoft Graph documentation