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
GetQuery (Default)
Get-AzureADMSGroupLifecyclePolicy
[<CommonParameters>]
GetById
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
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
GetById
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.
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.