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

Indicates the type of execution status of the device management script.


Member Value Description
unknown 0 Unknown result.
success 1 Script is run successfully.
fail 2 Script failed to run.
scriptError 3 Discovery script hits error.
pending 4 Script is pending to execute.
notApplicable 5 Script is not applicable for this device.