Reset-EntraLifeCycleGroup

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

Syntax

Reset-EntraLifeCycleGroup
     -Id <String>
     [<CommonParameters>]

Description

The Reset-EntraLifeCycleGroup 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-EntraGroup -Filter "DisplayName eq 'Sales and Marketing'"
Reset-EntraLifeCycleGroup -Id $group.Id

This example demonstrates how to renew a specified group.

  • -Id - Specifies the group Object ID.

Parameters

-Id

Specifies the ID of a group in Microsoft Entra ID.

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

Inputs

None

Outputs

System.Object