Edit

Share via


Reset-EntraBetaLifeCycleGroup

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

Syntax

Default (Default)

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.

Parameter properties

Type:System.String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

None

Outputs

System.Object