Edit

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

Indicates the type of execution status of the device management script. This status provides insights into whether the script has been successfully executed, encountered errors, or is pending execution.

Members

Member Value Description
unknown 0 Default value. Indicates that the script execution status is unknown for the device.
success 1 Indicates that the script ran successfully for the device.
fail 2 Indicates that the script resulted in failure for the device.
scriptError 3 Indicates that the discovery script was unable to complete on the device.
pending 4 Indicates that the script has not yet started running on the device.
notApplicable 5 Indicates that the script is not applicable for this device.
unknownFutureValue 6 Evolvable enumeration sentinel value. Do not use.