Microsoft Graph · Capability

Microsoft Graph OData Service for namespace microsoft.graph — applications.directoryObject

Microsoft Graph OData Service for namespace microsoft.graph — applications.directoryObject. 19 operations. Lead operation: Microsoft Graph Get createdOnBehalfOf from applications. Self-contained Naftiko capability covering one Microsoft Graph business surface.

Run with Naftiko Microsoft Graphapplications.directoryObject

What You Can Do

GET
Applicationsgetcreatedonbehalfof — Microsoft Graph Get createdOnBehalfOf from applications
/v1/applications/{application-id}/createdonbehalfof
GET
Applicationslistowners — Microsoft Graph List owners of an application
/v1/applications/{application-id}/owners
GET
Applicationsownersgetcount2b88 — Microsoft Graph Get the number of the resource
/v1/applications/{application-id}/owners/count
GET
Applicationslistrefowners — Microsoft Graph List owners of an application
/v1/applications/{application-id}/owners/ref
POST
Applicationscreaterefowners — Microsoft Graph Add owner
/v1/applications/{application-id}/owners/ref
DELETE
Applicationsdeleterefowners — Microsoft Graph Remove application owner
/v1/applications/{application-id}/owners/ref
GET
Applicationslistownersasapproleassignment — Microsoft Graph Get the items of type microsoft.graph.appRoleAssignment in the microsoft.graph.directoryObject collection
/v1/applications/{application-id}/owners/graph-approleassignment
GET
Applicationsownersgetcountasapproleassignmenteb25 — Microsoft Graph Get the number of the resource
/v1/applications/{application-id}/owners/graph-approleassignment/count
GET
Applicationslistownersasendpoint — Microsoft Graph Get the items of type microsoft.graph.endpoint in the microsoft.graph.directoryObject collection
/v1/applications/{application-id}/owners/graph-endpoint
GET
Applicationsownersgetcountasendpoint0426 — Microsoft Graph Get the number of the resource
/v1/applications/{application-id}/owners/graph-endpoint/count
GET
Applicationslistownersasserviceprincipal — Microsoft Graph Get the items of type microsoft.graph.servicePrincipal in the microsoft.graph.directoryObject collection
/v1/applications/{application-id}/owners/graph-serviceprincipal
GET
Applicationsownersgetcountasserviceprincipal0959 — Microsoft Graph Get the number of the resource
/v1/applications/{application-id}/owners/graph-serviceprincipal/count
GET
Applicationslistownersasuser — Microsoft Graph Get the items of type microsoft.graph.user in the microsoft.graph.directoryObject collection
/v1/applications/{application-id}/owners/graph-user
GET
Applicationsownersgetcountasuserc674 — Microsoft Graph Get the number of the resource
/v1/applications/{application-id}/owners/graph-user/count
DELETE
Applicationsownersdeleterefdirectoryobject — Microsoft Graph Remove application owner
/v1/applications/{application-id}/owners/{directoryobject-id}/ref
GET
Applicationsgetownersasapproleassignment — Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.appRoleAssignment
/v1/applications/{application-id}/owners/{directoryobject-id}/graph-approleassignment
GET
Applicationsgetownersasendpoint — Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.endpoint
/v1/applications/{application-id}/owners/{directoryobject-id}/graph-endpoint
GET
Applicationsgetownersasserviceprincipal — Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal
/v1/applications/{application-id}/owners/{directoryobject-id}/graph-serviceprincipal
GET
Applicationsgetownersasuser — Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.user
/v1/applications/{application-id}/owners/{directoryobject-id}/graph-user

MCP Tools

microsoft-graph-get-createdonbehalfof-applications

Microsoft Graph Get createdOnBehalfOf from applications

read-only idempotent
microsoft-graph-list-owners-application

Microsoft Graph List owners of an application

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

Microsoft Graph Get the number of the resource

read-only idempotent
microsoft-graph-list-owners-application-2

Microsoft Graph List owners of an application

read-only idempotent
microsoft-graph-add-owner

Microsoft Graph Add owner

microsoft-graph-remove-application-owner

Microsoft Graph Remove application owner

idempotent
microsoft-graph-get-items-type

Microsoft Graph Get the items of type microsoft.graph.appRoleAssignment in the microsoft.graph.directoryObject collection

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

Microsoft Graph Get the number of the resource

read-only idempotent
microsoft-graph-get-items-type-2

Microsoft Graph Get the items of type microsoft.graph.endpoint in the microsoft.graph.directoryObject collection

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

Microsoft Graph Get the number of the resource

read-only idempotent
microsoft-graph-get-items-type-3

Microsoft Graph Get the items of type microsoft.graph.servicePrincipal in the microsoft.graph.directoryObject collection

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

Microsoft Graph Get the number of the resource

read-only idempotent
microsoft-graph-get-items-type-4

Microsoft Graph Get the items of type microsoft.graph.user in the microsoft.graph.directoryObject collection

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

Microsoft Graph Get the number of the resource

read-only idempotent
microsoft-graph-remove-application-owner-2

Microsoft Graph Remove application owner

idempotent
microsoft-graph-get-item-type

Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.appRoleAssignment

read-only idempotent
microsoft-graph-get-item-type-2

Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.endpoint

read-only idempotent
microsoft-graph-get-item-type-3

Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal

read-only idempotent
microsoft-graph-get-item-type-4

Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.user

read-only idempotent

Capability Spec

microsoft-graph-applications-directoryobject.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Graph OData Service for namespace microsoft.graph — applications.directoryObject
  description: 'Microsoft Graph OData Service for namespace microsoft.graph — applications.directoryObject. 19 operations.
    Lead operation: Microsoft Graph Get createdOnBehalfOf from applications. Self-contained Naftiko capability covering one
    Microsoft Graph business surface.'
  tags:
  - Microsoft Graph
  - applications.directoryObject
  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-applications-directoryobject
    baseUri: https://graph.microsoft.com/v1.0
    description: Microsoft Graph OData Service for namespace microsoft.graph — applications.directoryObject business capability.
      Self-contained, no shared references.
    resources:
    - name: applications-application-id-createdOnBehalfOf
      path: /applications/{application-id}/createdOnBehalfOf
      operations:
      - name: applicationsgetcreatedonbehalfof
        method: GET
        description: Microsoft Graph Get createdOnBehalfOf from applications
        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: applications-application-id-owners
      path: /applications/{application-id}/owners
      operations:
      - name: applicationslistowners
        method: GET
        description: Microsoft Graph List owners of an application
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: ConsistencyLevel
          in: header
          type: string
          description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries'
        - 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: applications-application-id-owners-$count
      path: /applications/{application-id}/owners/$count
      operations:
      - name: applicationsownersgetcount2b88
        method: GET
        description: Microsoft Graph Get the number of the resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: ConsistencyLevel
          in: header
          type: string
          description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries'
    - name: applications-application-id-owners-$ref
      path: /applications/{application-id}/owners/$ref
      operations:
      - name: applicationslistrefowners
        method: GET
        description: Microsoft Graph List owners of an application
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: ConsistencyLevel
          in: header
          type: string
          description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries'
        - name: $orderby
          in: query
          type: array
          description: Order items by property values
      - name: applicationscreaterefowners
        method: POST
        description: Microsoft Graph Add owner
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: applicationsdeleterefowners
        method: DELETE
        description: Microsoft Graph Remove application owner
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: If-Match
          in: header
          type: string
          description: ETag
        - name: '@id'
          in: query
          type: string
          description: The delete Uri
          required: true
    - name: applications-application-id-owners-graph.appRoleAssignment
      path: /applications/{application-id}/owners/graph.appRoleAssignment
      operations:
      - name: applicationslistownersasapproleassignment
        method: GET
        description: Microsoft Graph Get the items of type microsoft.graph.appRoleAssignment in the microsoft.graph.directoryObject
          collection
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: ConsistencyLevel
          in: header
          type: string
          description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries'
        - 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: applications-application-id-owners-graph.appRoleAssignment-$count
      path: /applications/{application-id}/owners/graph.appRoleAssignment/$count
      operations:
      - name: applicationsownersgetcountasapproleassignmenteb25
        method: GET
        description: Microsoft Graph Get the number of the resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: ConsistencyLevel
          in: header
          type: string
          description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries'
    - name: applications-application-id-owners-graph.endpoint
      path: /applications/{application-id}/owners/graph.endpoint
      operations:
      - name: applicationslistownersasendpoint
        method: GET
        description: Microsoft Graph Get the items of type microsoft.graph.endpoint in the microsoft.graph.directoryObject
          collection
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: ConsistencyLevel
          in: header
          type: string
          description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries'
        - 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: applications-application-id-owners-graph.endpoint-$count
      path: /applications/{application-id}/owners/graph.endpoint/$count
      operations:
      - name: applicationsownersgetcountasendpoint0426
        method: GET
        description: Microsoft Graph Get the number of the resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: ConsistencyLevel
          in: header
          type: string
          description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries'
    - name: applications-application-id-owners-graph.servicePrincipal
      path: /applications/{application-id}/owners/graph.servicePrincipal
      operations:
      - name: applicationslistownersasserviceprincipal
        method: GET
        description: Microsoft Graph Get the items of type microsoft.graph.servicePrincipal in the microsoft.graph.directoryObject
          collection
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: ConsistencyLevel
          in: header
          type: string
          description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries'
        - 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: applications-application-id-owners-graph.servicePrincipal-$count
      path: /applications/{application-id}/owners/graph.servicePrincipal/$count
      operations:
      - name: applicationsownersgetcountasserviceprincipal0959
        method: GET
        description: Microsoft Graph Get the number of the resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: ConsistencyLevel
          in: header
          type: string
          description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries'
    - name: applications-application-id-owners-graph.user
      path: /applications/{application-id}/owners/graph.user
      operations:
      - name: applicationslistownersasuser
        method: GET
        description: Microsoft Graph Get the items of type microsoft.graph.user in the microsoft.graph.directoryObject collection
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: ConsistencyLevel
          in: header
          type: string
          description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries'
        - 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: applications-application-id-owners-graph.user-$count
      path: /applications/{application-id}/owners/graph.user/$count
      operations:
      - name: applicationsownersgetcountasuserc674
        method: GET
        description: Microsoft Graph Get the number of the resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: ConsistencyLevel
          in: header
          type: string
          description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries'
    - name: applications-application-id-owners-directoryObject-id-$ref
      path: /applications/{application-id}/owners/{directoryObject-id}/$ref
      operations:
      - name: applicationsownersdeleterefdirectoryobject
        method: DELETE
        description: Microsoft Graph Remove application owner
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: If-Match
          in: header
          type: string
          description: ETag
    - name: applications-application-id-owners-directoryObject-id-graph.appRoleAssignment
      path: /applications/{application-id}/owners/{directoryObject-id}/graph.appRoleAssignment
      operations:
      - name: applicationsgetownersasapproleassignment
        method: GET
        description: Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.appRoleAssignment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: ConsistencyLevel
          in: header
          type: string
          description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries'
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
    - name: applications-application-id-owners-directoryObject-id-graph.endpoint
      path: /applications/{application-id}/owners/{directoryObject-id}/graph.endpoint
      operations:
      - name: applicationsgetownersasendpoint
        method: GET
        description: Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.endpoint
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: ConsistencyLevel
          in: header
          type: string
          description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries'
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
    - name: applications-application-id-owners-directoryObject-id-graph.servicePrincipal
      path: /applications/{application-id}/owners/{directoryObject-id}/graph.servicePrincipal
      operations:
      - name: applicationsgetownersasserviceprincipal
        method: GET
        description: Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: ConsistencyLevel
          in: header
          type: string
          description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries'
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
    - name: applications-application-id-owners-directoryObject-id-graph.user
      path: /applications/{application-id}/owners/{directoryObject-id}/graph.user
      operations:
      - name: applicationsgetownersasuser
        method: GET
        description: Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.user
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: ConsistencyLevel
          in: header
          type: string
          description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries'
        - 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-applications-directoryobject-rest
    port: 8080
    description: REST adapter for Microsoft Graph OData Service for namespace microsoft.graph — applications.directoryObject.
      One Spectral-compliant resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/applications/{application-id}/createdonbehalfof
      name: applications-application-id-createdonbehalfof
      description: REST surface for applications-application-id-createdOnBehalfOf.
      operations:
      - method: GET
        name: applicationsgetcreatedonbehalfof
        description: Microsoft Graph Get createdOnBehalfOf from applications
        call: microsoft-graph-applications-directoryobject.applicationsgetcreatedonbehalfof
        with:
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/applications/{application-id}/owners
      name: applications-application-id-owners
      description: REST surface for applications-application-id-owners.
      operations:
      - method: GET
        name: applicationslistowners
        description: Microsoft Graph List owners of an application
        call: microsoft-graph-applications-directoryobject.applicationslistowners
        with:
          ConsistencyLevel: rest.ConsistencyLevel
          $orderby: rest.$orderby
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/applications/{application-id}/owners/count
      name: applications-application-id-owners-count
      description: REST surface for applications-application-id-owners-$count.
      operations:
      - method: GET
        name: applicationsownersgetcount2b88
        description: Microsoft Graph Get the number of the resource
        call: microsoft-graph-applications-directoryobject.applicationsownersgetcount2b88
        with:
          ConsistencyLevel: rest.ConsistencyLevel
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/applications/{application-id}/owners/ref
      name: applications-application-id-owners-ref
      description: REST surface for applications-application-id-owners-$ref.
      operations:
      - method: GET
        name: applicationslistrefowners
        description: Microsoft Graph List owners of an application
        call: microsoft-graph-applications-directoryobject.applicationslistrefowners
        with:
          ConsistencyLevel: rest.ConsistencyLevel
          $orderby: rest.$orderby
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: applicationscreaterefowners
        description: Microsoft Graph Add owner
        call: microsoft-graph-applications-directoryobject.applicationscreaterefowners
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: applicationsdeleterefowners
        description: Microsoft Graph Remove application owner
        call: microsoft-graph-applications-directoryobject.applicationsdeleterefowners
        with:
          If-Match: rest.If-Match
          '@id': rest.@id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/applications/{application-id}/owners/graph-approleassignment
      name: applications-application-id-owners-graph-approleassignment
      description: REST surface for applications-application-id-owners-graph.appRoleAssignment.
      operations:
      - method: GET
        name: applicationslistownersasapproleassignment
        description: Microsoft Graph Get the items of type microsoft.graph.appRoleAssignment in the microsoft.graph.directoryObject
          collection
        call: microsoft-graph-applications-directoryobject.applicationslistownersasapproleassignment
        with:
          ConsistencyLevel: rest.ConsistencyLevel
          $orderby: rest.$orderby
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/applications/{application-id}/owners/graph-approleassignment/count
      name: applications-application-id-owners-graph-approleassignment-count
      description: REST surface for applications-application-id-owners-graph.appRoleAssignment-$count.
      operations:
      - method: GET
        name: applicationsownersgetcountasapproleassignmenteb25
        description: Microsoft Graph Get the number of the resource
        call: microsoft-graph-applications-directoryobject.applicationsownersgetcountasapproleassignmenteb25
        with:
          ConsistencyLevel: rest.ConsistencyLevel
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/applications/{application-id}/owners/graph-endpoint
      name: applications-application-id-owners-graph-endpoint
      description: REST surface for applications-application-id-owners-graph.endpoint.
      operations:
      - method: GET
        name: applicationslistownersasendpoint
        description: Microsoft Graph Get the items of type microsoft.graph.endpoint in the microsoft.graph.directoryObject
          collection
        call: microsoft-graph-applications-directoryobject.applicationslistownersasendpoint
        with:
          ConsistencyLevel: rest.ConsistencyLevel
          $orderby: rest.$orderby
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/applications/{application-id}/owners/graph-endpoint/count
      name: applications-application-id-owners-graph-endpoint-count
      description: REST surface for applications-application-id-owners-graph.endpoint-$count.
      operations:
      - method: GET
        name: applicationsownersgetcountasendpoint0426
        description: Microsoft Graph Get the number of the resource
        call: microsoft-graph-applications-directoryobject.applicationsownersgetcountasendpoint0426
        with:
          ConsistencyLevel: rest.ConsistencyLevel
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/applications/{application-id}/owners/graph-serviceprincipal
      name: applications-application-id-owners-graph-serviceprincipal
      description: REST surface for applications-application-id-owners-graph.servicePrincipal.
      operations:
      - method: GET
        name: applicationslistownersasserviceprincipal
        description: Microsoft Graph Get the items of type microsoft.graph.servicePrincipal in the microsoft.graph.directoryObject
          collection
        call: microsoft-graph-applications-directoryobject.applicationslistownersasserviceprincipal
        with:
          ConsistencyLevel: rest.ConsistencyLevel
          $orderby: rest.$orderby
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/applications/{application-id}/owners/graph-serviceprincipal/count
      name: applications-application-id-owners-graph-serviceprincipal-count
      description: REST surface for applications-application-id-owners-graph.servicePrincipal-$count.
      operations:
      - method: GET
        name: applicationsownersgetcountasserviceprincipal0959
        description: Microsoft Graph Get the number of the resource
        call: microsoft-graph-applications-directoryobject.applicationsownersgetcountasserviceprincipal0959
        with:
          ConsistencyLevel: rest.ConsistencyLevel
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/applications/{application-id}/owners/graph-user
      name: applications-application-id-owners-graph-user
      description: REST surface for applications-application-id-owners-graph.user.
      operations:
      - method: GET
        name: applicationslistownersasuser
        description: Microsoft Graph Get the items of type microsoft.graph.user in the microsoft.graph.directoryObject collection
        call: microsoft-graph-applications-directoryobject.applicationslistownersasuser
        with:
          ConsistencyLevel: rest.ConsistencyLevel
          $orderby: rest.$orderby
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/applications/{application-id}/owners/graph-user/count
      name: applications-application-id-owners-graph-user-count
      description: REST surface for applications-application-id-owners-graph.user-$count.
      operations:
      - method: GET
        name: applicationsownersgetcountasuserc674
        description: Microsoft Graph Get the number of the resource
        call: microsoft-graph-applications-directoryobject.applicationsownersgetcountasuserc674
        with:
          ConsistencyLevel: rest.ConsistencyLevel
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/applications/{application-id}/owners/{directoryobject-id}/ref
      name: applications-application-id-owners-directoryobject-id-ref
      description: REST surface for applications-application-id-owners-directoryObject-id-$ref.
      operations:
      - method: DELETE
        name: applicationsownersdeleterefdirectoryobject
        description: Microsoft Graph Remove application owner
        call: microsoft-graph-applications-directoryobject.applicationsownersdeleterefdirectoryobject
        with:
          If-Match: rest.If-Match
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/applications/{application-id}/owners/{directoryobject-id}/graph-approleassignment
      name: applications-application-id-owners-directoryobject-id-graph-approleassignment
      description: REST surface for applications-application-id-owners-directoryObject-id-graph.appRoleAssignment.
      operations:
      - method: GET
        name: applicationsgetownersasapproleassignment
        description: Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.appRoleAssignment
        call: microsoft-graph-applications-directoryobject.applicationsgetownersasapproleassignment
        with:
          ConsistencyLevel: rest.ConsistencyLevel
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/applications/{application-id}/owners/{directoryobject-id}/graph-endpoint
      name: applications-application-id-owners-directoryobject-id-graph-endpoint
      description: REST surface for applications-application-id-owners-directoryObject-id-graph.endpoint.
      operations:
      - method: GET
        name: applicationsgetownersasendpoint
        description: Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.endpoint
        call: microsoft-graph-applications-directoryobject.applicationsgetownersasendpoint
        with:
          ConsistencyLevel: rest.ConsistencyLevel
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/applications/{application-id}/owners/{directoryobject-id}/graph-serviceprincipal
      name: applications-application-id-owners-directoryobject-id-graph-serviceprincipal
      description: REST surface for applications-application-id-owners-directoryObject-id-graph.servicePrincipal.
      operations:
      - method: GET
        name: applicationsgetownersasserviceprincipal
        description: Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal
        call: microsoft-graph-applications-directoryobject.applicationsgetownersasserviceprincipal
        with:
          ConsistencyLevel: rest.ConsistencyLevel
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/applications/{application-id}/owners/{directoryobject-id}/graph-user
      name: applications-application-id-owners-directoryobject-id-graph-user
      description: REST surface for applications-application-id-owners-directoryObject-id-graph.user.
      operations:
      - method: GET
        name: applicationsgetownersasuser
        description: Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.user
        call: microsoft-graph-applications-directoryobject.applicationsgetownersasuser
        with:
          ConsistencyLevel: rest.ConsistencyLevel
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: microsoft-graph-applications-directoryobject-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Graph OData Service for namespace microsoft.graph — applications.directoryObject.
      One tool per consumed operation, routed inline through this capability's consumes block.
    tools:
    - name: microsoft-graph-get-createdonbehalfof-applications
      description: Microsoft Graph Get createdOnBehalfOf from applications
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: microsoft-graph-applications-directoryobject.applicationsgetcreatedonbehalfof
      with:
        $select: tools.$select
        $expand: tools.$expand
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-list-owners-application
      description: Microsoft Graph List owners of an application
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: microsoft-graph-applications-directoryobject.applicationslistowners
      with:
        ConsistencyLevel: tools.ConsistencyLevel
        $orderby: tools.$orderby
        $select: tools.$select
        $expand: tools.$expand
      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-applications-directoryobject.applicationsownersgetcount2b88
      with:
        ConsistencyLevel: tools.ConsistencyLevel
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-list-owners-application-2
      description: Microsoft Graph List owners of an application
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: microsoft-graph-applications-directoryobject.applicationslistrefowners
      with:
        ConsistencyLevel: tools.ConsistencyLevel
        $orderby: tools.$orderby
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-add-owner
      description: Microsoft Graph Add owner
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: microsoft-graph-applications-directoryobject.applicationscreaterefowners
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-remove-application-owner
      description: Microsoft Graph Remove application owner
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: microsoft-graph-applications-directoryobject.applicationsdeleterefowners
      with:
        If-Match: tools.If-Match
        '@id': tools.@id
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-get-items-type
      description: Microsoft Graph Get the items of type microsoft.graph.appRoleAssignment in the microsoft.graph.directoryObject
        collection
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: microsoft-graph-applications-directoryobject.applicationslistownersasapproleassignment
      with:
        ConsistencyLevel: tools.ConsistencyLevel
        $orderby: tools.$orderby
        $select: tools.$select
        $expand: tools.$expand
      outputPa

# --- truncated at 32 KB (37 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/microsoft-graph/refs/heads/main/capabilities/microsoft-graph-applications-directoryobject.yaml