deviceCompliancePolicySettingState resource type

Important: APIs under the / beta version in Microsoft Graph are in preview and are subject to change. Use of these APIs in production applications is not supported.

Note: Using the Microsoft Graph APIs to configure Intune controls and policies still requires that the Intune service is correctly licensed by the customer.

Device Compilance Policy Setting State for a given device.


Property Type Description
setting String The setting that is being reported
settingName String Localized/user friendly setting name that is being reported
instanceDisplayName String Name of setting instance that is being reported.
state complianceStatus The compliance state of the setting. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned.
errorCode Int64 Error code for the setting
errorDescription String Error description
userId String UserId
userName String UserName
userEmail String UserEmail
userPrincipalName String UserPrincipalName.
sources settingSource collection Contributing policies
currentValue String Current value of setting on device



JSON Representation

Here is a JSON representation of the resource.

  "@odata.type": "#microsoft.graph.deviceCompliancePolicySettingState",
  "setting": "String",
  "settingName": "String",
  "instanceDisplayName": "String",
  "state": "String",
  "errorCode": 1024,
  "errorDescription": "String",
  "userId": "String",
  "userName": "String",
  "userEmail": "String",
  "userPrincipalName": "String",
  "sources": [
      "@odata.type": "microsoft.graph.settingSource",
      "id": "String",
      "displayName": "String"
  "currentValue": "String"