Get-EntraLifecyclePolicyGroup.
Retrieves the lifecycle policy object to which a group belongs.
Syntax
Get-EntraLifecyclePolicyGroup.
-Id <String>
[-Property <String[]>]
[<CommonParameters>]
Description
The Get-EntraLifecyclePolicyGroup retrieves the lifecycle policy object to which a group belongs.
Examples
Example 1: Retrieve lifecycle policy object
Connect-Entra -Scopes 'Directory.Read.All'
Get-EntraLifecyclePolicyGroup -Id 'bbbbbbbb-1111-2222-3333-cccccccccccc'
Id AlternateNotificationEmails GroupLifetimeInDays ManagedGroupTypes
-- --------------------------- ------------------- -----------------
bbbbbbbb-1111-2222-3333-cccccccccccc admingroup@contoso.com 200 All
This example demonstrates how to retrieve lifecycle policy object by Id in Microsoft Entra ID.
This command retrieves the lifecycle policy object to which a group belongs.
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 |
-Property
Specifies properties to be returned
Type: | System.String[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
System.String
Outputs
System.Object
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for