Reset-EntraBetaLifeCycleGroup

Renews a group by updating the RenewedDateTime property on a group to the current DateTime.

Syntax

Reset-EntraBetaLifeCycleGroup
     -GroupId <String>
     [<CommonParameters>]

Description

The Reset-EntraBetaLifeCycleGroup renews a group by updating the RenewedDateTime property on a group to the current DateTime. When a group is renewed, the group expiration is extended by the number of days defined in the policy.

Examples

Example 1: Renew a group

Connect-Entra -Scopes 'Group.ReadWrite.All'
$group = Get-EntraBetaGroup -Filter "DisplayName eq 'Sales and Marketing'"
Reset-EntraBetaLifeCycleGroup -GroupId $group.Id

This example demonstrates how to renew a specified group.

  • -GroupId - Specifies the lifecycle policy object ID.

Parameters

-GroupId

Specifies the ID of a group in Microsoft Entra ID.

Type:System.String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

System.Object