How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Microsoft Intune Device Compliance Policies API

Operations for managing device compliance policies. Compliance policies define rules and settings that a device must comply with to be considered compliant.

Microsoft Intune Device Compliance Policies API is one of 12 APIs that Microsoft Intune publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Device Compliance Policies. The published artifact set on APIs.io includes an OpenAPI specification.

This API exposes 6 operations across 4 paths, and defines 6 schemas. It is described by OpenAPI 3.2.0, at version 1.0.0.

Requests are made against a single base URL, https://graph.microsoft.com/v1.0.

6 operations 4 paths 6 schemas 1 DELETE2 GET1 PATCH2 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0.0
Base URL
https://graph.microsoft.com/v1.0
Authentication
OAuth 2.0
Terms of Service
Resource Areas
1

Authentication & Security 1

Microsoft Intune Device Compliance Policies API declares 1 security scheme for authenticating requests. It supports OAuth 2.0 (oauth2) using the authorizationCode flow, exposing 4 scopes. By default, every request must be authenticated.

  • oauth2 — OAuth 2.0 authorization using Azure Active Directory. Requires an active Intune license for the tenant.

Paths & Operations 6

Across 4 paths, the API surfaces 6 operations — 1 DELETE, 2 GET, 1 PATCH, 2 POST. Each is listed below with its method, path, parameters, and response codes.

Device Compliance Policies 6

Operations for managing device compliance policies. Compliance policies define rules and settings that a device must comply with to be considered compliant.

GET
/deviceManagement/deviceCompliancePolicies
Microsoft Intune List device compliance policies
listDeviceCompliancePolicies 8 params → 200401403default
GET
/deviceManagement/deviceCompliancePolicies/{deviceCompliancePolicyId}
Microsoft Intune Get device compliance policy
getDeviceCompliancePolicy 3 params → 200401403404default
PATCH
/deviceManagement/deviceCompliancePolicies/{deviceCompliancePolicyId}
Microsoft Intune Update device compliance policy
updateDeviceCompliancePolicy 1 param body → 200401403404default
DELETE
/deviceManagement/deviceCompliancePolicies/{deviceCompliancePolicyId}
Microsoft Intune Delete device compliance policy
deleteDeviceCompliancePolicy 1 param → 204401403404default
POST
/deviceManagement/deviceCompliancePolicies/{deviceCompliancePolicyId}/assign
Microsoft Intune Assign device compliance policy
assignDeviceCompliancePolicy 1 param body → 200401403404default
POST
/deviceManagement/deviceCompliancePolicies/{deviceCompliancePolicyId}/scheduleActionsForRules
Microsoft Intune Schedule actions for compliance rules
scheduleActionsForRules 1 param body → 204401403404default

Schemas 6

The contract defines 6 schemas that model the data the API accepts and returns. The most detailed are deviceCompliancePolicy (7 properties), deviceComplianceActionItem (6 properties), deviceComplianceScheduledActionForRule (4 properties), deviceCompliancePolicyAssignment (3 properties). Each schema is shown below with its type and property counts.

deviceCompliancePolicyAssignment
object
Device compliance policy assignment.
3 properties
deviceCompliancePolicy
object
This is the base class for Compliance policy. Compliance policies are platform specific and individual per-platform compliance policies inherit from here.
7 properties
deviceComplianceActionItem
object
Scheduled action configuration.
6 properties
deviceComplianceScheduledActionForRule
object
Scheduled action for a compliance rule.
4 properties
odataError
object
OData error response.
1 property
deviceAndAppManagementAssignmentTarget
object
Base type for assignment targets.
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

microsoft-intune-device-compliance-policies-api-openapi.yml Raw ↑

Other APIs Microsoft Intune publishes across the network.

Microsoft Intune API
Intune Data Warehouse API
Intune Device Management API
Intune Device Configuration API
Intune Device Compliance API
Intune Device Enrollment API
Intune Mobile App Management API
Intune Reports Export API
Microsoft Intune Device Configurations API
Microsoft Intune Managed Devices API
Microsoft Intune Remote Actions API
Where this information came from

This is an independent, third-party profile of Microsoft Intune Device Compliance Policies API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.