deviceManagementScriptGroupAssignment resource type

Important: APIs under the / beta version in Microsoft Graph are in preview and are subject to change. Use of these APIs in production applications is not supported.

Note: Using the Microsoft Graph APIs to configure Intune controls and policies still requires that the Intune service is correctly licensed by the customer.

Contains properties used to assign a device management script to a group.


Method Return Type Description
List deviceManagementScriptGroupAssignments deviceManagementScriptGroupAssignment collection List properties and relationships of the deviceManagementScriptGroupAssignment objects.
Get deviceManagementScriptGroupAssignment deviceManagementScriptGroupAssignment Read properties and relationships of the deviceManagementScriptGroupAssignment object.
Create deviceManagementScriptGroupAssignment deviceManagementScriptGroupAssignment Create a new deviceManagementScriptGroupAssignment object.
Delete deviceManagementScriptGroupAssignment None Deletes a deviceManagementScriptGroupAssignment.
Update deviceManagementScriptGroupAssignment deviceManagementScriptGroupAssignment Update the properties of a deviceManagementScriptGroupAssignment object.


Property Type Description
id String Key of the device management script group assignment entity.
targetGroupId String The Id of the Azure Active Directory group we are targeting the script to.



JSON Representation

Here is a JSON representation of the resource.

  "@odata.type": "#microsoft.graph.deviceManagementScriptGroupAssignment",
  "id": "String (identifier)",
  "targetGroupId": "String"