Microsoft Graph · Capability

Microsoft Graph OData Service for namespace microsoft.graph — policies.appManagementPolicy

Microsoft Graph OData Service for namespace microsoft.graph — policies.appManagementPolicy. 9 operations. Lead operation: Microsoft Graph List appManagementPolicies. Self-contained Naftiko capability covering one Microsoft Graph business surface.

Run with Naftiko Microsoft Graphpolicies.appManagementPolicy

What You Can Do

GET
Policieslistappmanagementpolicies — Microsoft Graph List appManagementPolicies
/v1/policies/appmanagementpolicies
POST
Policiescreateappmanagementpolicies — Microsoft Graph Create appManagementPolicy
/v1/policies/appmanagementpolicies
GET
Policiesappmanagementpoliciesgetcountc99e — Microsoft Graph Get the number of the resource
/v1/policies/appmanagementpolicies/count
GET
Policiesgetappmanagementpolicies — Microsoft Graph Get appManagementPolicy
/v1/policies/appmanagementpolicies/{appmanagementpolicy-id}
PATCH
Policiesupdateappmanagementpolicies — Microsoft Graph Update appManagementPolicy
/v1/policies/appmanagementpolicies/{appmanagementpolicy-id}
DELETE
Policiesdeleteappmanagementpolicies — Microsoft Graph Delete appManagementPolicy
/v1/policies/appmanagementpolicies/{appmanagementpolicy-id}
GET
Policiesappmanagementpolicieslistappliesto — Microsoft Graph List appliesTo
/v1/policies/appmanagementpolicies/{appmanagementpolicy-id}/appliesto
GET
Policiesappmanagementpoliciesappliestogetcountb064 — Microsoft Graph Get the number of the resource
/v1/policies/appmanagementpolicies/{appmanagementpolicy-id}/appliesto/count
GET
Policiesappmanagementpoliciesgetappliesto — Microsoft Graph Get appliesTo from policies
/v1/policies/appmanagementpolicies/{appmanagementpolicy-id}/appliesto/{directoryobject-id}

MCP Tools

microsoft-graph-list-appmanagementpolicies

Microsoft Graph List appManagementPolicies

read-only idempotent
microsoft-graph-create-appmanagementpolicy

Microsoft Graph Create appManagementPolicy

microsoft-graph-get-number-resource

Microsoft Graph Get the number of the resource

read-only idempotent
microsoft-graph-get-appmanagementpolicy

Microsoft Graph Get appManagementPolicy

read-only idempotent
microsoft-graph-update-appmanagementpolicy

Microsoft Graph Update appManagementPolicy

idempotent
microsoft-graph-delete-appmanagementpolicy

Microsoft Graph Delete appManagementPolicy

idempotent
microsoft-graph-list-appliesto

Microsoft Graph List appliesTo

read-only idempotent
microsoft-graph-get-number-resource-2

Microsoft Graph Get the number of the resource

read-only idempotent
microsoft-graph-get-appliesto-policies

Microsoft Graph Get appliesTo from policies

read-only idempotent

Capability Spec

microsoft-graph-policies-appmanagementpolicy.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Graph OData Service for namespace microsoft.graph — policies.appManagementPolicy
  description: 'Microsoft Graph OData Service for namespace microsoft.graph — policies.appManagementPolicy. 9 operations.
    Lead operation: Microsoft Graph List appManagementPolicies. Self-contained Naftiko capability covering one Microsoft Graph
    business surface.'
  tags:
  - Microsoft Graph
  - policies.appManagementPolicy
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MICROSOFT_GRAPH_API_KEY: MICROSOFT_GRAPH_API_KEY
capability:
  consumes:
  - type: http
    namespace: microsoft-graph-policies-appmanagementpolicy
    baseUri: https://graph.microsoft.com/v1.0
    description: Microsoft Graph OData Service for namespace microsoft.graph — policies.appManagementPolicy business capability.
      Self-contained, no shared references.
    resources:
    - name: policies-appManagementPolicies
      path: /policies/appManagementPolicies
      operations:
      - name: policieslistappmanagementpolicies
        method: GET
        description: Microsoft Graph List appManagementPolicies
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $orderby
          in: query
          type: array
          description: Order items by property values
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
      - name: policiescreateappmanagementpolicies
        method: POST
        description: Microsoft Graph Create appManagementPolicy
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: policies-appManagementPolicies-$count
      path: /policies/appManagementPolicies/$count
      operations:
      - name: policiesappmanagementpoliciesgetcountc99e
        method: GET
        description: Microsoft Graph Get the number of the resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: policies-appManagementPolicies-appManagementPolicy-id
      path: /policies/appManagementPolicies/{appManagementPolicy-id}
      operations:
      - name: policiesgetappmanagementpolicies
        method: GET
        description: Microsoft Graph Get appManagementPolicy
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
      - name: policiesupdateappmanagementpolicies
        method: PATCH
        description: Microsoft Graph Update appManagementPolicy
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: policiesdeleteappmanagementpolicies
        method: DELETE
        description: Microsoft Graph Delete appManagementPolicy
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: If-Match
          in: header
          type: string
          description: ETag
    - name: policies-appManagementPolicies-appManagementPolicy-id-appliesTo
      path: /policies/appManagementPolicies/{appManagementPolicy-id}/appliesTo
      operations:
      - name: policiesappmanagementpolicieslistappliesto
        method: GET
        description: Microsoft Graph List appliesTo
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $orderby
          in: query
          type: array
          description: Order items by property values
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
    - name: policies-appManagementPolicies-appManagementPolicy-id-appliesTo-$count
      path: /policies/appManagementPolicies/{appManagementPolicy-id}/appliesTo/$count
      operations:
      - name: policiesappmanagementpoliciesappliestogetcountb064
        method: GET
        description: Microsoft Graph Get the number of the resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: policies-appManagementPolicies-appManagementPolicy-id-appliesTo-directoryObject-
      path: /policies/appManagementPolicies/{appManagementPolicy-id}/appliesTo/{directoryObject-id}
      operations:
      - name: policiesappmanagementpoliciesgetappliesto
        method: GET
        description: Microsoft Graph Get appliesTo from policies
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
  exposes:
  - type: rest
    namespace: microsoft-graph-policies-appmanagementpolicy-rest
    port: 8080
    description: REST adapter for Microsoft Graph OData Service for namespace microsoft.graph — policies.appManagementPolicy.
      One Spectral-compliant resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/policies/appmanagementpolicies
      name: policies-appmanagementpolicies
      description: REST surface for policies-appManagementPolicies.
      operations:
      - method: GET
        name: policieslistappmanagementpolicies
        description: Microsoft Graph List appManagementPolicies
        call: microsoft-graph-policies-appmanagementpolicy.policieslistappmanagementpolicies
        with:
          $orderby: rest.$orderby
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: policiescreateappmanagementpolicies
        description: Microsoft Graph Create appManagementPolicy
        call: microsoft-graph-policies-appmanagementpolicy.policiescreateappmanagementpolicies
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/policies/appmanagementpolicies/count
      name: policies-appmanagementpolicies-count
      description: REST surface for policies-appManagementPolicies-$count.
      operations:
      - method: GET
        name: policiesappmanagementpoliciesgetcountc99e
        description: Microsoft Graph Get the number of the resource
        call: microsoft-graph-policies-appmanagementpolicy.policiesappmanagementpoliciesgetcountc99e
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/policies/appmanagementpolicies/{appmanagementpolicy-id}
      name: policies-appmanagementpolicies-appmanagementpolicy-id
      description: REST surface for policies-appManagementPolicies-appManagementPolicy-id.
      operations:
      - method: GET
        name: policiesgetappmanagementpolicies
        description: Microsoft Graph Get appManagementPolicy
        call: microsoft-graph-policies-appmanagementpolicy.policiesgetappmanagementpolicies
        with:
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: policiesupdateappmanagementpolicies
        description: Microsoft Graph Update appManagementPolicy
        call: microsoft-graph-policies-appmanagementpolicy.policiesupdateappmanagementpolicies
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: policiesdeleteappmanagementpolicies
        description: Microsoft Graph Delete appManagementPolicy
        call: microsoft-graph-policies-appmanagementpolicy.policiesdeleteappmanagementpolicies
        with:
          If-Match: rest.If-Match
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/policies/appmanagementpolicies/{appmanagementpolicy-id}/appliesto
      name: policies-appmanagementpolicies-appmanagementpolicy-id-appliesto
      description: REST surface for policies-appManagementPolicies-appManagementPolicy-id-appliesTo.
      operations:
      - method: GET
        name: policiesappmanagementpolicieslistappliesto
        description: Microsoft Graph List appliesTo
        call: microsoft-graph-policies-appmanagementpolicy.policiesappmanagementpolicieslistappliesto
        with:
          $orderby: rest.$orderby
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/policies/appmanagementpolicies/{appmanagementpolicy-id}/appliesto/count
      name: policies-appmanagementpolicies-appmanagementpolicy-id-appliesto-count
      description: REST surface for policies-appManagementPolicies-appManagementPolicy-id-appliesTo-$count.
      operations:
      - method: GET
        name: policiesappmanagementpoliciesappliestogetcountb064
        description: Microsoft Graph Get the number of the resource
        call: microsoft-graph-policies-appmanagementpolicy.policiesappmanagementpoliciesappliestogetcountb064
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/policies/appmanagementpolicies/{appmanagementpolicy-id}/appliesto/{directoryobject-id}
      name: policies-appmanagementpolicies-appmanagementpolicy-id-appliesto-directoryobject
      description: REST surface for policies-appManagementPolicies-appManagementPolicy-id-appliesTo-directoryObject-.
      operations:
      - method: GET
        name: policiesappmanagementpoliciesgetappliesto
        description: Microsoft Graph Get appliesTo from policies
        call: microsoft-graph-policies-appmanagementpolicy.policiesappmanagementpoliciesgetappliesto
        with:
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: microsoft-graph-policies-appmanagementpolicy-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Graph OData Service for namespace microsoft.graph — policies.appManagementPolicy.
      One tool per consumed operation, routed inline through this capability's consumes block.
    tools:
    - name: microsoft-graph-list-appmanagementpolicies
      description: Microsoft Graph List appManagementPolicies
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: microsoft-graph-policies-appmanagementpolicy.policieslistappmanagementpolicies
      with:
        $orderby: tools.$orderby
        $select: tools.$select
        $expand: tools.$expand
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-create-appmanagementpolicy
      description: Microsoft Graph Create appManagementPolicy
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: microsoft-graph-policies-appmanagementpolicy.policiescreateappmanagementpolicies
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-get-number-resource
      description: Microsoft Graph Get the number of the resource
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: microsoft-graph-policies-appmanagementpolicy.policiesappmanagementpoliciesgetcountc99e
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-get-appmanagementpolicy
      description: Microsoft Graph Get appManagementPolicy
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: microsoft-graph-policies-appmanagementpolicy.policiesgetappmanagementpolicies
      with:
        $select: tools.$select
        $expand: tools.$expand
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-update-appmanagementpolicy
      description: Microsoft Graph Update appManagementPolicy
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: microsoft-graph-policies-appmanagementpolicy.policiesupdateappmanagementpolicies
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-delete-appmanagementpolicy
      description: Microsoft Graph Delete appManagementPolicy
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: microsoft-graph-policies-appmanagementpolicy.policiesdeleteappmanagementpolicies
      with:
        If-Match: tools.If-Match
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-list-appliesto
      description: Microsoft Graph List appliesTo
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: microsoft-graph-policies-appmanagementpolicy.policiesappmanagementpolicieslistappliesto
      with:
        $orderby: tools.$orderby
        $select: tools.$select
        $expand: tools.$expand
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-get-number-resource-2
      description: Microsoft Graph Get the number of the resource
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: microsoft-graph-policies-appmanagementpolicy.policiesappmanagementpoliciesappliestogetcountb064
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-get-appliesto-policies
      description: Microsoft Graph Get appliesTo from policies
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: microsoft-graph-policies-appmanagementpolicy.policiesappmanagementpoliciesgetappliesto
      with:
        $select: tools.$select
        $expand: tools.$expand
      outputParameters:
      - type: object
        mapping: $.