Get-AzureADMSGroupLifecyclePolicy

Retrieves the properties and relationships of a groupLifecyclePolicies object in Azure Active Directory. If you specify no parameters, this cmdlet gets all groupLifecyclePolicies.

Syntax

Get-AzureADMSGroupLifecyclePolicy []
Get-AzureADMSGroupLifecyclePolicy
   -Id <String>
   [<CommonParameters>]

Description

The Get-AzureADMSGroupLifecyclePolicy command retrieves the properties and relationships of a groupLifecyclePolicies object in Azure Active Directory. If you specify no parameters, this cmdlet gets all groupLifecyclePolicies.

Examples

Example 1

PS C:\> Get-AzureADMSGroupLifecyclePolicy

This command retrieves the group expiration settings configured for the tenant

Parameters

-Id

Specifies the ID of a groupLifecyclePolicies object in Azure Active Directory

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

Inputs

String

System.Nullable`1[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]

Outputs

Object

Notes

See the migration guide for Get-AzureADMSGroupLifecyclePolicy to the Microsoft Graph PowerShell.