deviceComplianceActionItem resource type

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

Methods

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.
Get notificationMessageTemplate notificationMessageTemplate Get the notificationMessageTemplate from the notificationMessageTemplate navigation property.

Properties

Property Type Description
id String Key of the entity.
gracePeriodHours Int32 Number of hours to wait till the action will be enforced.
actionType String What action to take Possible values are: noAction, notification, block, retire, wipe, removeResourceAccessProfiles.
notificationTemplateId String What notification Message template to use

Relationships

Relationship Type Description
notificationMessageTemplate notificationMessageTemplate Notification message template.

JSON Representation

Here is a JSON representation of the resource.

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