Add-​Azure​AD​MS​Lifecycle​Policy​Group

Adds a group to a lifecycle policy

Syntax

Add-AzureADMSLifecyclePolicyGroup
   -GroupId <String>
   -Id <String>
   [<CommonParameters>]

Description

The Add-AzureADMSLifecyclePolicyGroup cmdlet adds a group to a lifecycle policy in Azure Active Directory

Examples

Example 1

PS C:\>Add-AzureADMSLifecyclePolicyGroup -Id "b4c908b0-3595-4add-91b4-c5400b31b57b" -groupId "cffd97bd-6b91-4c4e-b553-6918a320211c"

This command adds a group to the lifecycle policy.

Required Parameters

-GroupId

Specifies the ID of a group in Azure Active Directory.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Id

Specifies the ID of the lifecycle policy object in Azure Active Directory.

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName, ByValue)
Accept wildcard characters:False

Inputs

System.String

Outputs

System.Object