Microsoft Graph · Capability

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

Microsoft Graph OData Service for namespace microsoft.graph — contacts.directoryObject. 28 operations. Lead operation: Microsoft Graph List directReports. Self-contained Naftiko capability covering one Microsoft Graph business surface.

Run with Naftiko Microsoft Graphcontacts.directoryObject

What You Can Do

GET
Contactslistdirectreports — Microsoft Graph List directReports
/v1/contacts/{orgcontact-id}/directreports
GET
Contactsdirectreportsgetcount94c4 — Microsoft Graph Get the number of the resource
/v1/contacts/{orgcontact-id}/directreports/count
GET
Contactslistdirectreportsasorgcontact — Microsoft Graph Get the items of type microsoft.graph.orgContact in the microsoft.graph.directoryObject collection
/v1/contacts/{orgcontact-id}/directreports/graph-orgcontact
GET
Contactsdirectreportsgetcountasorgcontact315a — Microsoft Graph Get the number of the resource
/v1/contacts/{orgcontact-id}/directreports/graph-orgcontact/count
GET
Contactslistdirectreportsasuser — Microsoft Graph Get the items of type microsoft.graph.user in the microsoft.graph.directoryObject collection
/v1/contacts/{orgcontact-id}/directreports/graph-user
GET
Contactsdirectreportsgetcountasuser5746 — Microsoft Graph Get the number of the resource
/v1/contacts/{orgcontact-id}/directreports/graph-user/count
GET
Contactsgetdirectreports — Microsoft Graph Get directReports from contacts
/v1/contacts/{orgcontact-id}/directreports/{directoryobject-id}
GET
Contactsgetdirectreportsasorgcontact — Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.orgContact
/v1/contacts/{orgcontact-id}/directreports/{directoryobject-id}/graph-orgcontact
GET
Contactsgetdirectreportsasuser — Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.user
/v1/contacts/{orgcontact-id}/directreports/{directoryobject-id}/graph-user
GET
Contactsgetmanager — Microsoft Graph Get manager
/v1/contacts/{orgcontact-id}/manager
GET
Contactslistmemberof — Microsoft Graph List memberOf
/v1/contacts/{orgcontact-id}/memberof
GET
Contactsmemberofgetcount46e4 — Microsoft Graph Get the number of the resource
/v1/contacts/{orgcontact-id}/memberof/count
GET
Contactslistmemberofasadministrativeunit — Microsoft Graph Get the items of type microsoft.graph.administrativeUnit in the microsoft.graph.directoryObject collection
/v1/contacts/{orgcontact-id}/memberof/graph-administrativeunit
GET
Contactsmemberofgetcountasadministrativeunitdb20 — Microsoft Graph Get the number of the resource
/v1/contacts/{orgcontact-id}/memberof/graph-administrativeunit/count
GET
Contactslistmemberofasgroup — Microsoft Graph Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection
/v1/contacts/{orgcontact-id}/memberof/graph-group
GET
Contactsmemberofgetcountasgroupdf93 — Microsoft Graph Get the number of the resource
/v1/contacts/{orgcontact-id}/memberof/graph-group/count
GET
Contactsgetmemberof — Microsoft Graph Get memberOf from contacts
/v1/contacts/{orgcontact-id}/memberof/{directoryobject-id}
GET
Contactsgetmemberofasadministrativeunit — Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.administrativeUnit
/v1/contacts/{orgcontact-id}/memberof/{directoryobject-id}/graph-administrativeunit
GET
Contactsgetmemberofasgroup — Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.group
/v1/contacts/{orgcontact-id}/memberof/{directoryobject-id}/graph-group
GET
Contactslisttransitivememberof — Microsoft Graph List transitiveMemberOf
/v1/contacts/{orgcontact-id}/transitivememberof
GET
Contactstransitivememberofgetcountd749 — Microsoft Graph Get the number of the resource
/v1/contacts/{orgcontact-id}/transitivememberof/count
GET
Contactslisttransitivememberofasadministrativeunit — Microsoft Graph Get the items of type microsoft.graph.administrativeUnit in the microsoft.graph.directoryObject collection
/v1/contacts/{orgcontact-id}/transitivememberof/graph-administrativeunit
GET
Contactstransitivememberofgetcountasadministrativeunitd6cb — Microsoft Graph Get the number of the resource
/v1/contacts/{orgcontact-id}/transitivememberof/graph-administrativeunit/count
GET
Contactslisttransitivememberofasgroup — Microsoft Graph Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection
/v1/contacts/{orgcontact-id}/transitivememberof/graph-group
GET
Contactstransitivememberofgetcountasgroupe1a5 — Microsoft Graph Get the number of the resource
/v1/contacts/{orgcontact-id}/transitivememberof/graph-group/count
GET
Contactsgettransitivememberof — Microsoft Graph Get transitiveMemberOf from contacts
/v1/contacts/{orgcontact-id}/transitivememberof/{directoryobject-id}
GET
Contactsgettransitivememberofasadministrativeunit — Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.administrativeUnit
/v1/contacts/{orgcontact-id}/transitivememberof/{directoryobject-id}/graph-administrativeunit
GET
Contactsgettransitivememberofasgroup — Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.group
/v1/contacts/{orgcontact-id}/transitivememberof/{directoryobject-id}/graph-group

MCP Tools

microsoft-graph-list-directreports

Microsoft Graph List directReports

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

Microsoft Graph Get the number of the resource

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

Microsoft Graph Get the items of type microsoft.graph.orgContact 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.user 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-directreports-contacts

Microsoft Graph Get directReports from contacts

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

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

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

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

read-only idempotent
microsoft-graph-get-manager

Microsoft Graph Get manager

read-only idempotent
microsoft-graph-list-memberof

Microsoft Graph List memberOf

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-3

Microsoft Graph Get the items of type microsoft.graph.administrativeUnit 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-get-items-type-4

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

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

Microsoft Graph Get the number of the resource

read-only idempotent
microsoft-graph-get-memberof-contacts

Microsoft Graph Get memberOf from contacts

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

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

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

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

read-only idempotent
microsoft-graph-list-transitivememberof

Microsoft Graph List transitiveMemberOf

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

Microsoft Graph Get the number of the resource

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

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

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

Microsoft Graph Get the number of the resource

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

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

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

Microsoft Graph Get the number of the resource

read-only idempotent
microsoft-graph-get-transitivememberof-contacts

Microsoft Graph Get transitiveMemberOf from contacts

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

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

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

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

read-only idempotent

Capability Spec

microsoft-graph-contacts-directoryobject.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Graph OData Service for namespace microsoft.graph — contacts.directoryObject
  description: 'Microsoft Graph OData Service for namespace microsoft.graph — contacts.directoryObject. 28 operations. Lead
    operation: Microsoft Graph List directReports. Self-contained Naftiko capability covering one Microsoft Graph business
    surface.'
  tags:
  - Microsoft Graph
  - contacts.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-contacts-directoryobject
    baseUri: https://graph.microsoft.com/v1.0
    description: Microsoft Graph OData Service for namespace microsoft.graph — contacts.directoryObject business capability.
      Self-contained, no shared references.
    resources:
    - name: contacts-orgContact-id-directReports
      path: /contacts/{orgContact-id}/directReports
      operations:
      - name: contactslistdirectreports
        method: GET
        description: Microsoft Graph List directReports
        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: contacts-orgContact-id-directReports-$count
      path: /contacts/{orgContact-id}/directReports/$count
      operations:
      - name: contactsdirectreportsgetcount94c4
        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: contacts-orgContact-id-directReports-graph.orgContact
      path: /contacts/{orgContact-id}/directReports/graph.orgContact
      operations:
      - name: contactslistdirectreportsasorgcontact
        method: GET
        description: Microsoft Graph Get the items of type microsoft.graph.orgContact 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: contacts-orgContact-id-directReports-graph.orgContact-$count
      path: /contacts/{orgContact-id}/directReports/graph.orgContact/$count
      operations:
      - name: contactsdirectreportsgetcountasorgcontact315a
        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: contacts-orgContact-id-directReports-graph.user
      path: /contacts/{orgContact-id}/directReports/graph.user
      operations:
      - name: contactslistdirectreportsasuser
        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: contacts-orgContact-id-directReports-graph.user-$count
      path: /contacts/{orgContact-id}/directReports/graph.user/$count
      operations:
      - name: contactsdirectreportsgetcountasuser5746
        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: contacts-orgContact-id-directReports-directoryObject-id
      path: /contacts/{orgContact-id}/directReports/{directoryObject-id}
      operations:
      - name: contactsgetdirectreports
        method: GET
        description: Microsoft Graph Get directReports from contacts
        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: contacts-orgContact-id-directReports-directoryObject-id-graph.orgContact
      path: /contacts/{orgContact-id}/directReports/{directoryObject-id}/graph.orgContact
      operations:
      - name: contactsgetdirectreportsasorgcontact
        method: GET
        description: Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.orgContact
        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: contacts-orgContact-id-directReports-directoryObject-id-graph.user
      path: /contacts/{orgContact-id}/directReports/{directoryObject-id}/graph.user
      operations:
      - name: contactsgetdirectreportsasuser
        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
    - name: contacts-orgContact-id-manager
      path: /contacts/{orgContact-id}/manager
      operations:
      - name: contactsgetmanager
        method: GET
        description: Microsoft Graph Get manager
        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: contacts-orgContact-id-memberOf
      path: /contacts/{orgContact-id}/memberOf
      operations:
      - name: contactslistmemberof
        method: GET
        description: Microsoft Graph List memberOf
        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: contacts-orgContact-id-memberOf-$count
      path: /contacts/{orgContact-id}/memberOf/$count
      operations:
      - name: contactsmemberofgetcount46e4
        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: contacts-orgContact-id-memberOf-graph.administrativeUnit
      path: /contacts/{orgContact-id}/memberOf/graph.administrativeUnit
      operations:
      - name: contactslistmemberofasadministrativeunit
        method: GET
        description: Microsoft Graph Get the items of type microsoft.graph.administrativeUnit 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: contacts-orgContact-id-memberOf-graph.administrativeUnit-$count
      path: /contacts/{orgContact-id}/memberOf/graph.administrativeUnit/$count
      operations:
      - name: contactsmemberofgetcountasadministrativeunitdb20
        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: contacts-orgContact-id-memberOf-graph.group
      path: /contacts/{orgContact-id}/memberOf/graph.group
      operations:
      - name: contactslistmemberofasgroup
        method: GET
        description: Microsoft Graph Get the items of type microsoft.graph.group 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: contacts-orgContact-id-memberOf-graph.group-$count
      path: /contacts/{orgContact-id}/memberOf/graph.group/$count
      operations:
      - name: contactsmemberofgetcountasgroupdf93
        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: contacts-orgContact-id-memberOf-directoryObject-id
      path: /contacts/{orgContact-id}/memberOf/{directoryObject-id}
      operations:
      - name: contactsgetmemberof
        method: GET
        description: Microsoft Graph Get memberOf from contacts
        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: contacts-orgContact-id-memberOf-directoryObject-id-graph.administrativeUnit
      path: /contacts/{orgContact-id}/memberOf/{directoryObject-id}/graph.administrativeUnit
      operations:
      - name: contactsgetmemberofasadministrativeunit
        method: GET
        description: Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.administrativeUnit
        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: contacts-orgContact-id-memberOf-directoryObject-id-graph.group
      path: /contacts/{orgContact-id}/memberOf/{directoryObject-id}/graph.group
      operations:
      - name: contactsgetmemberofasgroup
        method: GET
        description: Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.group
        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: contacts-orgContact-id-transitiveMemberOf
      path: /contacts/{orgContact-id}/transitiveMemberOf
      operations:
      - name: contactslisttransitivememberof
        method: GET
        description: Microsoft Graph List transitiveMemberOf
        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: contacts-orgContact-id-transitiveMemberOf-$count
      path: /contacts/{orgContact-id}/transitiveMemberOf/$count
      operations:
      - name: contactstransitivememberofgetcountd749
        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: contacts-orgContact-id-transitiveMemberOf-graph.administrativeUnit
      path: /contacts/{orgContact-id}/transitiveMemberOf/graph.administrativeUnit
      operations:
      - name: contactslisttransitivememberofasadministrativeunit
        method: GET
        description: Microsoft Graph Get the items of type microsoft.graph.administrativeUnit 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: contacts-orgContact-id-transitiveMemberOf-graph.administrativeUnit-$count
      path: /contacts/{orgContact-id}/transitiveMemberOf/graph.administrativeUnit/$count
      operations:
      - name: contactstransitivememberofgetcountasadministrativeunitd6cb
        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: contacts-orgContact-id-transitiveMemberOf-graph.group
      path: /contacts/{orgContact-id}/transitiveMemberOf/graph.group
      operations:
      - name: contactslisttransitivememberofasgroup
        method: GET
        description: Microsoft Graph Get the items of type microsoft.graph.group 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: contacts-orgContact-id-transitiveMemberOf-graph.group-$count
      path: /contacts/{orgContact-id}/transitiveMemberOf/graph.group/$count
      operations:
      - name: contactstransitivememberofgetcountasgroupe1a5
        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: contacts-orgContact-id-transitiveMemberOf-directoryObject-id
      path: /contacts/{orgContact-id}/transitiveMemberOf/{directoryObject-id}
      operations:
      - name: contactsgettransitivememberof
        method: GET
        description: Microsoft Graph Get transitiveMemberOf from contacts
        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: contacts-orgContact-id-transitiveMemberOf-directoryObject-id-graph.administrativ
      path: /contacts/{orgContact-id}/transitiveMemberOf/{directoryObject-id}/graph.administrativeUnit
      operations:
      - name: contactsgettransitivememberofasadministrativeunit
        method: GET
        description: Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.administrativeUnit
        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: contacts-orgContact-id-transitiveMemberOf-directoryObject-id-graph.group
      path: /contacts/{orgContact-id}/transitiveMemberOf/{directoryObject-id}/graph.group
      operations:
      - name: contactsgettransitivememberofasgroup
        method: GET
        description: Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.group
        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-contacts-directoryobject-rest
    port: 8080
    description: REST adapter for Microsoft Graph OData Service for namespace microsoft.graph — contacts.directoryObject.
      One Spectral-compliant resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/contacts/{orgcontact-id}/directreports
      name: contacts-orgcontact-id-directreports
      description: REST surface for contacts-orgContact-id-directReports.
      operations:
      - method: GET
        name: contactslistdirectreports
        description: Microsoft Graph List directReports
        call: microsoft-graph-contacts-directoryobject.contactslistdirectreports
        with:
          ConsistencyLevel: rest.ConsistencyLevel
          $orderby: rest.$orderby
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/contacts/{orgcontact-id}/directreports/count
      name: contacts-orgcontact-id-directreports-count
      description: REST surface for contacts-orgContact-id-directReports-$count.
      operations:
      - method: GET
        name: contactsdirectreportsgetcount94c4
        description: Microsoft Graph Get the number of the resource
        call: microsoft-graph-contacts-directoryobject.contactsdirectreportsgetcount94c4
        with:
          ConsistencyLevel: rest.ConsistencyLevel
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/contacts/{orgcontact-id}/directreports/graph-orgcontact
      name: contacts-orgcontact-id-directreports-graph-orgcontact
      description: REST surface for contacts-orgContact-id-directReports-graph.orgContact.
      operations:
      - method: GET
        name: contactslistdirectreportsasorgcontact
        description: Microsoft Graph Get the items of type microsoft.graph.orgContact in the microsoft.graph.directoryObject
          collection
        call: microsoft-graph-contacts-directoryobject.contactslistdirectreportsasorgcontact
        with:
          ConsistencyLevel: rest.ConsistencyLevel
          $orderby: rest.$orderby
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/contacts/{orgcontact-id}/directreports/graph-orgcontact/count
      name: contacts-orgcontact-id-directreports-graph-orgcontact-count
      description: REST surface for contacts-orgContact-id-directReports-graph.orgContact-$count.
      operations:
      - method: GET
        name: contactsdirectreportsgetcountasorgcontact315a
        description: Microsoft Graph Get the number of the resource
        call: microsoft-graph-contacts-directoryobject.contactsdirectreportsgetcountasorgcontact315a
        with:
          ConsistencyLevel: rest.ConsistencyLevel
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/contacts/{orgcontact-id}/directreports/graph-user
      name: contacts-orgcontact-id-directreports-graph-user
      description: REST surface for contacts-orgContact-id-directReports-graph.user.
      operations:
      - method: GET
        name: contactslistdirectreportsasuser
        description: Microsoft Graph Get the items of type microsoft.graph.user in the microsoft.graph.directoryObject collection
        call: microsoft-graph-contacts-directoryobject.contactslistdirectreportsasuser
        with:
          ConsistencyLevel: rest.ConsistencyLevel
          $orderby: rest.$orderby
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/contacts/{orgcontact-id}/directreports/graph-user/count
      name: contacts-orgcontact-id-directreports-graph-user-count
      description: REST surface for contacts-orgContact-id-directReports-graph.user-$count.
      operations:
      - method: GET
        name: contactsdirectreportsgetcountasuser5746
        description: Microsoft Graph Get the number of the resource
        call: microsoft-graph-contacts-directoryobject.contactsdirectreportsgetcountasuser5746
        with:
          ConsistencyLevel: rest.ConsistencyLevel
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/contacts/{orgcontact-id}/directreports/{directoryobject-id}
      name: contacts-orgcontact-id-directreports-directoryobject-id
      description: REST surface for contacts-orgContact-id-directReports-directoryObject-id.
      operations:
      - method: GET
        name: contactsgetdirectreports
        description: Microsoft Graph Get directReports from contacts
        call: microsoft-graph-contacts-directoryobject.contactsgetdirectreports
        with:
          ConsistencyLevel: rest.ConsistencyLevel
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/contacts/{orgcontact-id}/directreports/{directoryobject-id}/graph-orgcontact
      name: contacts-orgcontact-id-directreports-directoryobject-id-graph-orgcontact
      description: REST surface for contacts-orgContact-id-directReports-directoryObject-id-graph.orgContact.
      operations:
      - method: GET
        name: contactsgetdirectreportsasorgcontact
        description: Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.orgContact
        call: microsoft-graph-contacts-directoryobject.contactsgetdirectreportsasorgcontact
        with:
          ConsistencyLevel: rest.ConsistencyLevel
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/contacts/{orgcontact-id}/directreports/{directoryobject-id}/graph-user
      name: contacts-orgcontact-id-directreports-directoryobject-id-graph-user
      description: REST surface for contacts-orgContact-id-directReports-directoryObject-id-graph.user.
      operations:
      - method: GET
        name: contactsgetdirectreportsasuser
        description: Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.user
        call: microsoft-graph-contacts-directoryobject.contactsgetdirectreportsasuser
        with:
          ConsistencyLevel: rest.ConsistencyLevel
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/contacts/{orgcontact-id}/manager
      name: contacts-orgcontact-id-manager
      description: REST surface for contacts-orgContact-id-manager.
      operations:
      - method: GET
        name: contactsgetmanager
        description: Microsoft Graph Get manager
        call: microsoft-graph-contacts-directoryobject.contactsgetmanager
        with:
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/contacts/{orgcontact-id}/memberof
      name: contacts-orgcontact-id-memberof
      description: REST surface for contacts-orgContact-id-memberOf.
      operations:
      - method: GET
        name: contactslistmemberof
        description: Microsoft Graph List memberOf
        call: mic

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