Edit

Share via


deviceManagementIntentDeviceState resource type

Namespace: microsoft.graph

Important: Microsoft supports Intune /beta APIs, but they are subject to more frequent change. Microsoft recommends using version v1.0 when possible. Check an API's availability in version v1.0 using the Version selector.

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

Entity that represents device state for an intent

Methods

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

Properties

Property Type Description
id String The ID
userPrincipalName String The user principal name that is being reported on a device
userName String The user name that is being reported on a device
deviceDisplayName String Device name that is being reported
lastReportedDateTime DateTimeOffset Last modified date time of an intent report
state complianceStatus Device state for an intent. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned.
deviceId String Device id that is being reported

Relationships

None

JSON Representation

Here is a JSON representation of the resource.

{
  "@odata.type": "#microsoft.graph.deviceManagementIntentDeviceState",
  "id": "String (identifier)",
  "userPrincipalName": "String",
  "userName": "String",
  "deviceDisplayName": "String",
  "lastReportedDateTime": "String (timestamp)",
  "state": "String",
  "deviceId": "String"
}