A group lifecycle policy is used by administrators to assign an expiration period for Azure Active Directory (Azure AD) groups. If a group expires, the owners of the group need to renew it within a period decided by the administrator. If the group is not renewed, it expires and is soft deleted. This can help manage inactive groups in the organization by removing them without any effort. The cmdlet Get-AzureADMSGroupLifecyclePolicy is used to retrieve the properties of a groupLifecyclePolicies object assigned to an Azure AD group.
Note:If no parameters are mentioned after the cmdlet, all groupLifecyclePolicies object will be retrieved.
The following is an example script for retrieving the properties of a groupLifecyclePolicies object assigned to an Azure AD group.
where <GroupID> denotes the ObjectID of the group for which the application roles are to be retrieved.
ManageEngine ADManager Plus is a unified Active Directory (AD), Microsoft 365, Exchange, and Google Workspace management and reporting solution. With ADManager Plus, you can use the following features to improve your organizational workflow:
Entra ID user management
Entra ID reporting
Entra ID group management
Entra ID group reporting
Entra ID domain management
Entra ID contact management and reporting
Other Entra ID tasks