Microsoft Endpoint Configuration Management Update and Reassign Compliance Policy

Version 1.0.0

Read an existing compliance policy, update its metadata, and reassign it to a group.

1 workflow 1 source API 1 provider
View Spec View on GitHub ComplianceConfiguration ManagementDevice ManagementEndpoint ManagementMobile Device ManagementPatch ManagementSoftware DeploymentArazzoWorkflows

Provider

microsoft-endpoint-configuration-management

Workflows

update-and-reassign-compliance-policy
Read, update, and reassign an existing compliance policy.
Reads the deviceCompliancePolicy by id, patches its metadata, and posts a new assignment targeting the supplied Azure AD group.
3 steps inputs: accessToken, description, deviceCompliancePolicyId, displayName, groupId outputs: assignmentStatus, currentDisplayName, updateStatus
1
getPolicy
Read the existing compliance policy by id.
2
updatePolicy
Patch the policy display name and description.
3
reassignPolicy
Reassign the updated policy to the supplied Azure AD group.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Microsoft Endpoint Configuration Management Update and Reassign Compliance Policy
  summary: Read an existing compliance policy, update its metadata, and reassign it to a group.
  description: >-
    A change-management flow for an existing Intune compliance policy. The
    workflow reads the policy by id, patches its description and display name,
    and then reassigns it to an Azure AD group so the updated policy takes
    effect on the intended population. Every step spells out its request inline
    so the flow can be read and executed without opening the underlying OpenAPI
    description.
  version: 1.0.0
  x-realizes-capability-ids:
  - BC-600
  x-capability-derivation:
    method: 'deterministic join: sourceDescriptions -> per-tag OpenAPI -> tag/capability edge. No classification at this step.'
    min_confidence: 0.7
    sources:
    - capability_id: BC-600
      capability_name: Information Technology Management
      spec: microsoft-endpoint-configuration-management-compliance-policies-api-openapi.yml
      confidence: 0.75
    model: Turbo EA Capabilities by Vincent Verdet — Turbo EA, https://github.com/vincentmakes/turbo-ea-capabilities, CC BY 4.0
sourceDescriptions:
- name: compliancePoliciesApi
  url: ../openapi/microsoft-endpoint-configuration-management-compliance-policies-api-openapi.yml
  type: openapi
workflows:
- workflowId: update-and-reassign-compliance-policy
  summary: Read, update, and reassign an existing compliance policy.
  description: >-
    Reads the deviceCompliancePolicy by id, patches its metadata, and posts a
    new assignment targeting the supplied Azure AD group.
  inputs:
    type: object
    required:
    - deviceCompliancePolicyId
    - displayName
    - groupId
    properties:
      accessToken:
        type: string
        description: OAuth 2.0 bearer token for Microsoft Graph (DeviceManagementConfiguration.ReadWrite.All).
      deviceCompliancePolicyId:
        type: string
        description: The id of the compliance policy to update.
      displayName:
        type: string
        description: The new display name for the policy.
      description:
        type: string
        description: The new description for the policy.
      groupId:
        type: string
        description: The Azure AD group id to reassign the policy to.
  steps:
  - stepId: getPolicy
    description: Read the existing compliance policy by id.
    operationId: getDeviceCompliancePolicy
    parameters:
    - name: deviceCompliancePolicyId
      in: path
      value: $inputs.deviceCompliancePolicyId
    - name: Authorization
      in: header
      value: "Bearer $inputs.accessToken"
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      currentDisplayName: $response.body#/displayName
  - stepId: updatePolicy
    description: Patch the policy display name and description.
    operationId: updateDeviceCompliancePolicy
    parameters:
    - name: deviceCompliancePolicyId
      in: path
      value: $inputs.deviceCompliancePolicyId
    - name: Authorization
      in: header
      value: "Bearer $inputs.accessToken"
    requestBody:
      contentType: application/json
      payload:
        displayName: $inputs.displayName
        description: $inputs.description
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      updateStatus: $statusCode
  - stepId: reassignPolicy
    description: Reassign the updated policy to the supplied Azure AD group.
    operationId: assignDeviceCompliancePolicy
    parameters:
    - name: deviceCompliancePolicyId
      in: path
      value: $inputs.deviceCompliancePolicyId
    - name: Authorization
      in: header
      value: "Bearer $inputs.accessToken"
    requestBody:
      contentType: application/json
      payload:
        assignments:
        - target:
            '@odata.type': "#microsoft.graph.groupAssignmentTarget"
            groupId: $inputs.groupId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      assignmentStatus: $statusCode
  outputs:
    currentDisplayName: $steps.getPolicy.outputs.currentDisplayName
    updateStatus: $steps.updatePolicy.outputs.updateStatus
    assignmentStatus: $steps.reassignPolicy.outputs.assignmentStatus

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/microsoft-endpoint-configuration-management-update-reassign-compliance-policy-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.