Reset-EntraLifeCycleGroup
Renews a group by updating the RenewedDateTime property on a group to the current DateTime.
Syntax
Default (Default)
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.
Parameter properties
| Type: | System.String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | True |
| Value from pipeline: | True |
| Value from pipeline by property name: | True |
| 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.