Edit

Share via


deviceManagementIntentUserState resource type

Namespace: microsoft.graph

Important: APIs under the /beta version in Microsoft Graph are subject to change which could break your applications. While Intune /beta APIs are supported by Microsoft, you should use these at your own discretion. In general, /beta APIs are not recommended for use in production applications. To determine whether an API is available in v1.0, use the Version selector

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

Entity that represents user state for an intent

Methods

Method Return Type Description
List deviceManagementIntentUserStates deviceManagementIntentUserState collection List properties and relationships of the deviceManagementIntentUserState objects.
Get deviceManagementIntentUserState deviceManagementIntentUserState Read properties and relationships of the deviceManagementIntentUserState object.
Create deviceManagementIntentUserState deviceManagementIntentUserState Create a new deviceManagementIntentUserState object.
Delete deviceManagementIntentUserState None Deletes a deviceManagementIntentUserState.
Update deviceManagementIntentUserState deviceManagementIntentUserState Update the properties of a deviceManagementIntentUserState 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
deviceCount Int32 Count of Devices that belongs to a user for an intent
lastReportedDateTime DateTimeOffset Last modified date time of an intent report
state complianceStatus User state for an intent. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned.

Relationships

None

JSON Representation

Here is a JSON representation of the resource.

{
  "@odata.type": "#microsoft.graph.deviceManagementIntentUserState",
  "id": "String (identifier)",
  "userPrincipalName": "String",
  "userName": "String",
  "deviceCount": 1024,
  "lastReportedDateTime": "String (timestamp)",
  "state": "String"
}