Remove-EntraLifecyclePolicyGroup
Removes a group from a lifecycle policy.
Syntax
Remove-EntraLifecyclePolicyGroup
-GroupId <String>
-Id <String>
[<CommonParameters>]
Description
The Remove-EntraLifecyclePolicyGroup cmdlet removes a group from a lifecycle policy in Microsoft Entra ID.
Examples
Example 1: Remove a group from a lifecycle policy
Connect-Entra -Scopes 'Directory.ReadWrite.All'
Remove-EntraLifecyclePolicyGroup -Id '1aaaaaa1-2bb2-3cc3-4dd4-5eeeeeeeeee5' -GroupId 'kkkkkkkk-3333-5555-1111-nnnnnnnnnnnn'
This example demonstrates how to remove a group from a lifecycle policy in Microsoft Entra ID with specified Id and groupId.
Id - Specifies the ID of the lifecycle policy object.
GroupId - Specifies the ID of a group.
Parameters
-GroupId
Specifies the ID of a group in Microsoft Entra ID.
Type: | System.String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Id
Specifies the ID of the lifecycle policy object in Microsoft Entra ID.
Type: | System.String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Inputs
System.String
Outputs
System.Object
Related Links
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