deviceManagementScriptUserState resource type

Namespace: microsoft.graph

Important: Microsoft Graph APIs under the /beta version are subject to change; production use is not supported.

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

Contains properties for user run state of the device management script.

Methods

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

Properties

Property Type Description
id String Key of the device management script user state entity. This property is read-only.
successDeviceCount Int32 Success device count for specific user.
errorDeviceCount Int32 Error device count for specific user.
userPrincipalName String User principle name of specific user.

Relationships

Relationship Type Description
deviceRunStates deviceManagementScriptDeviceState collection List of run states for this script across all devices of specific user.

JSON Representation

Here is a JSON representation of the resource.

{
  "@odata.type": "#microsoft.graph.deviceManagementScriptUserState",
  "id": "String (identifier)",
  "successDeviceCount": 1024,
  "errorDeviceCount": 1024,
  "userPrincipalName": "String"
}