Add-AzureADMSLifecyclePolicyGroup
This article provides migration details from Add-AzureADMSLifecyclePolicyGroup command to Microsoft Graph PowerShell.
Summary
- Azure AD Command: Add-AzureADMSLifecyclePolicyGroup
- Azure AD Module: AzureAD
- Microsoft Graph Command: Add-MgGroupToLifecyclePolicy (Community Examples)
- Graph Module: Microsoft.Graph.Groups
- Graph Endpoint: POST /groupLifecyclePolicies/{id}/addGroup
Permissions
Permission type | Least privileged permissions | Higher privileged permissions |
---|---|---|
Delegated (work or school account) | Directory.ReadWrite.All | Not available. |
Delegated (personal Microsoft account) | Not supported. | Not supported. |
Application | Directory.ReadWrite.All | Not available. |
View more details on permissions.
Property Mapping
Azure AD Name | Microsoft Graph Name |
---|---|
Id | GroupLifecyclePolicyId |
GroupId | groupId |