deviceComplianceActionItem 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.

Scheduled Action Configuration


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


Property Type Description
id String Key of the entity.
gracePeriodHours Int32 Number of hours to wait till the action will be enforced. Valid values 0 to 8760
actionType deviceComplianceActionType What action to take. Possible values are: noAction, notification, block, retire, wipe, removeResourceAccessProfiles, pushNotification, remoteLock.
notificationTemplateId String What notification Message template to use
notificationMessageCCList String collection A list of group IDs to speicify who to CC this notification message to.



JSON Representation

Here is a JSON representation of the resource.

  "@odata.type": "#microsoft.graph.deviceComplianceActionItem",
  "id": "String (identifier)",
  "gracePeriodHours": 1024,
  "actionType": "String",
  "notificationTemplateId": "String",
  "notificationMessageCCList": [