deviceCompliancePolicySettingState resource type

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

Device Compilance Policy Setting State for a given device.

Properties

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

Relationships

None

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"
}