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

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 Read properties and relationships of the notificationMessageTemplate object.

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
notificationMessageCCList String collection A list of group IDs to speicify who to CC this notification message to.

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",
  "notificationMessageCCList": [
    "String"
  ]
}