deviceComplianceSettingState resource type

Namespace: microsoft.graph

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

Device compliance setting State for a given device.


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


Property Type Description
id String Key of the entity
setting String The setting class name and property name.
settingName String The Setting Name that is being reported
deviceId String The Device Id that is being reported
deviceName String The Device Name that is being reported
userId String The user Id that is being reported
userEmail String The User email address that is being reported
userName String The User Name that is being reported
userPrincipalName String The User PrincipalName that is being reported
deviceModel String The device model that is being reported
state complianceStatus The compliance state of the setting. Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict, notAssigned.
complianceGracePeriodExpirationDateTime DateTimeOffset The DateTime when device compliance grace period expires



JSON Representation

Here is a JSON representation of the resource.

  "@odata.type": "#microsoft.graph.deviceComplianceSettingState",
  "id": "String (identifier)",
  "setting": "String",
  "settingName": "String",
  "deviceId": "String",
  "deviceName": "String",
  "userId": "String",
  "userEmail": "String",
  "userName": "String",
  "userPrincipalName": "String",
  "deviceModel": "String",
  "state": "String",
  "complianceGracePeriodExpirationDateTime": "String (timestamp)"