deviceComplianceSettingState 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 compliance setting State for a given device.

Methods

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.

Properties

Property Type Description
id String Key of the entity
platformType String Device platform type Possible values are: desktop, windowsRT, winMO6, nokia, windowsPhone, mac, winCE, winEmbedded, iPhone, iPad, iPod, android, iSocConsumer, unix, macMDM, holoLens, surfaceHub, androidForWork, windowsBlue, windowsPhoneBlue, blackberry, palm, fakeDevice, unknown.
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 String The compliance state of the setting Possible values are: unknown, notApplicable, compliant, remediated, nonCompliant, error, conflict.
complianceGracePeriodExpirationDateTime DateTimeOffset The DateTime when device compliance grace period expires

Relationships

None

JSON Representation

Here is a JSON representation of the resource.

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