Edit

Share via


securityBaselineDeviceState resource type

Namespace: microsoft.graph

Important: APIs under the /beta version in Microsoft Graph are subject to change which could break your applications. While Intune /beta APIs are supported by Microsoft, you should use these at your own discretion. In general, /beta APIs are not recommended for use in production applications. To determine whether an API is available in v1.0, use the Version selector

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

The security baseline compliance state summary of the security baseline for a device.

Methods

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

Properties

Property Type Description
id String Unique identifier of the entity
managedDeviceId String Intune device id
deviceDisplayName String Display name of the device
userPrincipalName String User Principal Name
state securityBaselineComplianceState Security baseline compliance state. Possible values are: unknown, secure, notApplicable, notSecure, error, conflict.
lastReportedDateTime DateTimeOffset Last modified date time of the policy report

Relationships

None

JSON Representation

Here is a JSON representation of the resource.

{
  "@odata.type": "#microsoft.graph.securityBaselineDeviceState",
  "id": "String (identifier)",
  "managedDeviceId": "String",
  "deviceDisplayName": "String",
  "userPrincipalName": "String",
  "state": "String",
  "lastReportedDateTime": "String (timestamp)"
}