Edit

Share via


Remove-AzureADMSGroupLifecyclePolicy

Deletes a groupLifecyclePolicies object

Syntax

Default (Default)

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

Description

The Remove-AzureADMSGroupLifecyclePolicy command deletes a groupLifecyclePolicies object in Azure Active Directory.

Examples

Example 1

PS C:\> Remove-AzureADMSGroupLifecyclePolicy -Id "13bed58e-6144-41e5-abbd-47c95964e671"

This cmdlet deletes the groupLifecyclePolicies object that has the specified ID.

Parameters

-Id

Specifies the ID of the groupLifecyclePolicies object that this cmdlet removes.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
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

Outputs

Object

Notes

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