deviceComplianceActionItem resource type

Note: The Microsoft Graph API for Intune requires an active Intune license for the tenant.

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.

Properties

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

None

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"
  ]
}