Microsoft Graph · Capability

Microsoft Graph Me — directory.administrativeUnit

Microsoft Graph Me — directory.administrativeUnit. 25 operations. Lead operation: Microsoft Graph List members. Self-contained Naftiko capability covering one Microsoft Graph business surface.

Run with Naftiko Microsoft Graphdirectory.administrativeUnit

What You Can Do

GET
Directoryadministrativeunitslistmembers — Microsoft Graph List members
/v1/directory/administrativeunits/{administrativeunit-id}/members
POST
Directoryadministrativeunitscreatemembers — Microsoft Graph Add a member
/v1/directory/administrativeunits/{administrativeunit-id}/members
GET
Directoryadministrativeunitsmembersgetcount777a — Microsoft Graph Get the number of the resource
/v1/directory/administrativeunits/{administrativeunit-id}/members/count
GET
Directoryadministrativeunitslistrefmembers — Microsoft Graph List members
/v1/directory/administrativeunits/{administrativeunit-id}/members/ref
POST
Directoryadministrativeunitscreaterefmembers — Microsoft Graph Add a member
/v1/directory/administrativeunits/{administrativeunit-id}/members/ref
DELETE
Directoryadministrativeunitsdeleterefmembers — Microsoft Graph Remove a member
/v1/directory/administrativeunits/{administrativeunit-id}/members/ref
GET
Directoryadministrativeunitslistmembersasapplication — Microsoft Graph Get the items of type microsoft.graph.application in the microsoft.graph.directoryObject collection
/v1/directory/administrativeunits/{administrativeunit-id}/members/graph-application
GET
Directoryadministrativeunitsmembersgetcountasapplication12bb — Microsoft Graph Get the number of the resource
/v1/directory/administrativeunits/{administrativeunit-id}/members/graph-application/count
GET
Directoryadministrativeunitslistmembersasdevice — Microsoft Graph Get the items of type microsoft.graph.device in the microsoft.graph.directoryObject collection
/v1/directory/administrativeunits/{administrativeunit-id}/members/graph-device
GET
Directoryadministrativeunitsmembersgetcountasdevicea313 — Microsoft Graph Get the number of the resource
/v1/directory/administrativeunits/{administrativeunit-id}/members/graph-device/count
GET
Directoryadministrativeunitslistmembersasgroup — Microsoft Graph Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection
/v1/directory/administrativeunits/{administrativeunit-id}/members/graph-group
GET
Directoryadministrativeunitsmembersgetcountasgroupaf07 — Microsoft Graph Get the number of the resource
/v1/directory/administrativeunits/{administrativeunit-id}/members/graph-group/count
GET
Directoryadministrativeunitslistmembersasorgcontact — Microsoft Graph Get the items of type microsoft.graph.orgContact in the microsoft.graph.directoryObject collection
/v1/directory/administrativeunits/{administrativeunit-id}/members/graph-orgcontact
GET
Directoryadministrativeunitsmembersgetcountasorgcontact7392 — Microsoft Graph Get the number of the resource
/v1/directory/administrativeunits/{administrativeunit-id}/members/graph-orgcontact/count
GET
Directoryadministrativeunitslistmembersasserviceprincipal — Microsoft Graph Get the items of type microsoft.graph.servicePrincipal in the microsoft.graph.directoryObject collection
/v1/directory/administrativeunits/{administrativeunit-id}/members/graph-serviceprincipal
GET
Directoryadministrativeunitsmembersgetcountasserviceprincipal1d41 — Microsoft Graph Get the number of the resource
/v1/directory/administrativeunits/{administrativeunit-id}/members/graph-serviceprincipal/count
GET
Directoryadministrativeunitslistmembersasuser — Microsoft Graph Get the items of type microsoft.graph.user in the microsoft.graph.directoryObject collection
/v1/directory/administrativeunits/{administrativeunit-id}/members/graph-user
GET
Directoryadministrativeunitsmembersgetcountasuser5d18 — Microsoft Graph Get the number of the resource
/v1/directory/administrativeunits/{administrativeunit-id}/members/graph-user/count
DELETE
Directoryadministrativeunitsmembersdeleterefdirectoryobject — Microsoft Graph Remove a member
/v1/directory/administrativeunits/{administrativeunit-id}/members/{directoryobject-id}/ref
GET
Directoryadministrativeunitsgetmembersasapplication — Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.application
/v1/directory/administrativeunits/{administrativeunit-id}/members/{directoryobject-id}/graph-application
GET
Directoryadministrativeunitsgetmembersasdevice — Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.device
/v1/directory/administrativeunits/{administrativeunit-id}/members/{directoryobject-id}/graph-device
GET
Directoryadministrativeunitsgetmembersasgroup — Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.group
/v1/directory/administrativeunits/{administrativeunit-id}/members/{directoryobject-id}/graph-group
GET
Directoryadministrativeunitsgetmembersasorgcontact — Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.orgContact
/v1/directory/administrativeunits/{administrativeunit-id}/members/{directoryobject-id}/graph-orgcontact
GET
Directoryadministrativeunitsgetmembersasserviceprincipal — Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal
/v1/directory/administrativeunits/{administrativeunit-id}/members/{directoryobject-id}/graph-serviceprincipal
GET
Directoryadministrativeunitsgetmembersasuser — Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.user
/v1/directory/administrativeunits/{administrativeunit-id}/members/{directoryobject-id}/graph-user

MCP Tools

microsoft-graph-list-members

Microsoft Graph List members

read-only idempotent
microsoft-graph-add-member

Microsoft Graph Add a member

microsoft-graph-get-number-resource

Microsoft Graph Get the number of the resource

read-only idempotent
microsoft-graph-list-members-2

Microsoft Graph List members

read-only idempotent
microsoft-graph-add-member-2

Microsoft Graph Add a member

microsoft-graph-remove-member

Microsoft Graph Remove a member

idempotent
microsoft-graph-get-items-type

Microsoft Graph Get the items of type microsoft.graph.application 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.device 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.group 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.orgContact 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-5

Microsoft Graph Get the items of type microsoft.graph.servicePrincipal 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-items-type-6

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

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

Microsoft Graph Get the number of the resource

read-only idempotent
microsoft-graph-remove-member-2

Microsoft Graph Remove a member

idempotent
microsoft-graph-get-item-type

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

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

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

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

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

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

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

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

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

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

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

read-only idempotent

Capability Spec

me-directory-administrativeunit.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Graph Me — directory.administrativeUnit
  description: 'Microsoft Graph Me — directory.administrativeUnit. 25 operations. Lead operation: Microsoft Graph List members.
    Self-contained Naftiko capability covering one Microsoft Graph business surface.'
  tags:
  - Microsoft Graph
  - directory.administrativeUnit
  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: me-directory-administrativeunit
    baseUri: ''
    description: Microsoft Graph Me — directory.administrativeUnit business capability. Self-contained, no shared references.
    resources:
    - name: directory-administrativeUnits-administrativeUnit-id-members
      path: /directory/administrativeUnits/{administrativeUnit-id}/members
      operations:
      - name: directoryadministrativeunitslistmembers
        method: GET
        description: Microsoft Graph List members
        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: directoryadministrativeunitscreatemembers
        method: POST
        description: Microsoft Graph Add a member
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: directory-administrativeUnits-administrativeUnit-id-members-$count
      path: /directory/administrativeUnits/{administrativeUnit-id}/members/$count
      operations:
      - name: directoryadministrativeunitsmembersgetcount777a
        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: directory-administrativeUnits-administrativeUnit-id-members-$ref
      path: /directory/administrativeUnits/{administrativeUnit-id}/members/$ref
      operations:
      - name: directoryadministrativeunitslistrefmembers
        method: GET
        description: Microsoft Graph List members
        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: directoryadministrativeunitscreaterefmembers
        method: POST
        description: Microsoft Graph Add a member
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: directoryadministrativeunitsdeleterefmembers
        method: DELETE
        description: Microsoft Graph Remove a member
        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: directory-administrativeUnits-administrativeUnit-id-members-graph.application
      path: /directory/administrativeUnits/{administrativeUnit-id}/members/graph.application
      operations:
      - name: directoryadministrativeunitslistmembersasapplication
        method: GET
        description: Microsoft Graph Get the items of type microsoft.graph.application 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: directory-administrativeUnits-administrativeUnit-id-members-graph.application-$c
      path: /directory/administrativeUnits/{administrativeUnit-id}/members/graph.application/$count
      operations:
      - name: directoryadministrativeunitsmembersgetcountasapplication12bb
        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: directory-administrativeUnits-administrativeUnit-id-members-graph.device
      path: /directory/administrativeUnits/{administrativeUnit-id}/members/graph.device
      operations:
      - name: directoryadministrativeunitslistmembersasdevice
        method: GET
        description: Microsoft Graph Get the items of type microsoft.graph.device 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: directory-administrativeUnits-administrativeUnit-id-members-graph.device-$count
      path: /directory/administrativeUnits/{administrativeUnit-id}/members/graph.device/$count
      operations:
      - name: directoryadministrativeunitsmembersgetcountasdevicea313
        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: directory-administrativeUnits-administrativeUnit-id-members-graph.group
      path: /directory/administrativeUnits/{administrativeUnit-id}/members/graph.group
      operations:
      - name: directoryadministrativeunitslistmembersasgroup
        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: directory-administrativeUnits-administrativeUnit-id-members-graph.group-$count
      path: /directory/administrativeUnits/{administrativeUnit-id}/members/graph.group/$count
      operations:
      - name: directoryadministrativeunitsmembersgetcountasgroupaf07
        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: directory-administrativeUnits-administrativeUnit-id-members-graph.orgContact
      path: /directory/administrativeUnits/{administrativeUnit-id}/members/graph.orgContact
      operations:
      - name: directoryadministrativeunitslistmembersasorgcontact
        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: directory-administrativeUnits-administrativeUnit-id-members-graph.orgContact-$co
      path: /directory/administrativeUnits/{administrativeUnit-id}/members/graph.orgContact/$count
      operations:
      - name: directoryadministrativeunitsmembersgetcountasorgcontact7392
        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: directory-administrativeUnits-administrativeUnit-id-members-graph.servicePrincip
      path: /directory/administrativeUnits/{administrativeUnit-id}/members/graph.servicePrincipal
      operations:
      - name: directoryadministrativeunitslistmembersasserviceprincipal
        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: directory-administrativeUnits-administrativeUnit-id-members-graph.servicePrincip
      path: /directory/administrativeUnits/{administrativeUnit-id}/members/graph.servicePrincipal/$count
      operations:
      - name: directoryadministrativeunitsmembersgetcountasserviceprincipal1d41
        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: directory-administrativeUnits-administrativeUnit-id-members-graph.user
      path: /directory/administrativeUnits/{administrativeUnit-id}/members/graph.user
      operations:
      - name: directoryadministrativeunitslistmembersasuser
        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: directory-administrativeUnits-administrativeUnit-id-members-graph.user-$count
      path: /directory/administrativeUnits/{administrativeUnit-id}/members/graph.user/$count
      operations:
      - name: directoryadministrativeunitsmembersgetcountasuser5d18
        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: directory-administrativeUnits-administrativeUnit-id-members-directoryObject-id-$
      path: /directory/administrativeUnits/{administrativeUnit-id}/members/{directoryObject-id}/$ref
      operations:
      - name: directoryadministrativeunitsmembersdeleterefdirectoryobject
        method: DELETE
        description: Microsoft Graph Remove a member
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: If-Match
          in: header
          type: string
          description: ETag
    - name: directory-administrativeUnits-administrativeUnit-id-members-directoryObject-id-g
      path: /directory/administrativeUnits/{administrativeUnit-id}/members/{directoryObject-id}/graph.application
      operations:
      - name: directoryadministrativeunitsgetmembersasapplication
        method: GET
        description: Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.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: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
    - name: directory-administrativeUnits-administrativeUnit-id-members-directoryObject-id-g
      path: /directory/administrativeUnits/{administrativeUnit-id}/members/{directoryObject-id}/graph.device
      operations:
      - name: directoryadministrativeunitsgetmembersasdevice
        method: GET
        description: Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.device
        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: directory-administrativeUnits-administrativeUnit-id-members-directoryObject-id-g
      path: /directory/administrativeUnits/{administrativeUnit-id}/members/{directoryObject-id}/graph.group
      operations:
      - name: directoryadministrativeunitsgetmembersasgroup
        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: directory-administrativeUnits-administrativeUnit-id-members-directoryObject-id-g
      path: /directory/administrativeUnits/{administrativeUnit-id}/members/{directoryObject-id}/graph.orgContact
      operations:
      - name: directoryadministrativeunitsgetmembersasorgcontact
        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: directory-administrativeUnits-administrativeUnit-id-members-directoryObject-id-g
      path: /directory/administrativeUnits/{administrativeUnit-id}/members/{directoryObject-id}/graph.servicePrincipal
      operations:
      - name: directoryadministrativeunitsgetmembersasserviceprincipal
        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: directory-administrativeUnits-administrativeUnit-id-members-directoryObject-id-g
      path: /directory/administrativeUnits/{administrativeUnit-id}/members/{directoryObject-id}/graph.user
      operations:
      - name: directoryadministrativeunitsgetmembersasuser
        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: me-directory-administrativeunit-rest
    port: 8080
    description: REST adapter for Microsoft Graph Me — directory.administrativeUnit. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/directory/administrativeunits/{administrativeunit-id}/members
      name: directory-administrativeunits-administrativeunit-id-members
      description: REST surface for directory-administrativeUnits-administrativeUnit-id-members.
      operations:
      - method: GET
        name: directoryadministrativeunitslistmembers
        description: Microsoft Graph List members
        call: me-directory-administrativeunit.directoryadministrativeunitslistmembers
        with:
          ConsistencyLevel: rest.ConsistencyLevel
          $orderby: rest.$orderby
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: directoryadministrativeunitscreatemembers
        description: Microsoft Graph Add a member
        call: me-directory-administrativeunit.directoryadministrativeunitscreatemembers
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/directory/administrativeunits/{administrativeunit-id}/members/count
      name: directory-administrativeunits-administrativeunit-id-members-count
      description: REST surface for directory-administrativeUnits-administrativeUnit-id-members-$count.
      operations:
      - method: GET
        name: directoryadministrativeunitsmembersgetcount777a
        description: Microsoft Graph Get the number of the resource
        call: me-directory-administrativeunit.directoryadministrativeunitsmembersgetcount777a
        with:
          ConsistencyLevel: rest.ConsistencyLevel
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/directory/administrativeunits/{administrativeunit-id}/members/ref
      name: directory-administrativeunits-administrativeunit-id-members-ref
      description: REST surface for directory-administrativeUnits-administrativeUnit-id-members-$ref.
      operations:
      - method: GET
        name: directoryadministrativeunitslistrefmembers
        description: Microsoft Graph List members
        call: me-directory-administrativeunit.directoryadministrativeunitslistrefmembers
        with:
          ConsistencyLevel: rest.ConsistencyLevel
          $orderby: rest.$orderby
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: directoryadministrativeunitscreaterefmembers
        description: Microsoft Graph Add a member
        call: me-directory-administrativeunit.directoryadministrativeunitscreaterefmembers
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: directoryadministrativeunitsdeleterefmembers
        description: Microsoft Graph Remove a member
        call: me-directory-administrativeunit.directoryadministrativeunitsdeleterefmembers
        with:
          If-Match: rest.If-Match
          '@id': rest.@id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/directory/administrativeunits/{administrativeunit-id}/members/graph-application
      name: directory-administrativeunits-administrativeunit-id-members-graph-application
      description: REST surface for directory-administrativeUnits-administrativeUnit-id-members-graph.application.
      operations:
      - method: GET
        name: directoryadministrativeunitslistmembersasapplication
        description: Microsoft Graph Get the items of type microsoft.graph.application in the microsoft.graph.directoryObject
          collection
        call: me-directory-administrativeunit.directoryadministrativeunitslistmembersasapplication
        with:
          ConsistencyLevel: rest.ConsistencyLevel
          $orderby: rest.$orderby
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/directory/administrativeunits/{administrativeunit-id}/members/graph-application/count
      name: directory-administrativeunits-administrativeunit-id-members-graph-application-c
      description: REST surface for directory-administrativeUnits-administrativeUnit-id-members-graph.application-$c.
      operations:
      - method: GET
        name: directoryadministrativeunitsmembersgetcountasapplication12bb
        description: Microsoft Graph Get the number of the resource
        call: me-directory-administrativeunit.directoryadministrativeunitsmembersgetcountasapplication12bb
        with:
          ConsistencyLevel: rest.ConsistencyLevel
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/directory/administrativeunits/{administrativeunit-id}/members/graph-device
      name: directory-administrativeunits-administrativeunit-id-members-graph-device
      description: REST surface for directory-administrativeUnits-administrativeUnit-id-members-graph.device.
      operations:
      - method: GET
        name: directoryadministrativeunitslistmembersasdevice
        description: Microsoft Graph Get the items of type microsoft.graph.device in the microsoft.graph.directoryObject collection
        call: me-directory-administrativeunit.directoryadministrativeunitslistmembersasdevice
        with:
          ConsistencyLevel: rest.ConsistencyLevel
          $orderby: rest.$orderby
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/directory/administrativeunits/{administrativeunit-id}/members/graph-device/count
      name: directory-administrativeunits-administrativeunit-id-members-graph-device-count
      description: REST surface for directory-administrativeUnits-administrativeUnit-id-members-graph.device-$count.
      operations:
      - method: GET
        name: directoryadministrativeunitsmembersgetcountasdevicea313
        description: Microsoft Graph Get the number of the resource
        call: me-directory-administrativeunit.directoryadministrativeunitsmembersgetcountasdevicea313
        with:
          ConsistencyLevel: rest.ConsistencyLevel
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/directory/administrativeunits/{administrativeunit-id}/members/graph-group
      name: directory-administrativeunits-administrativeunit-id-members-graph-group
      description: REST surface for directory-administrativeUnits-administrativeUnit-id-members-graph.group.
      operations:
      - method: GET
        name: directoryadministrativeunitslistmembersasgroup
        description: Microsoft Graph Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection
        call: me-directory-administrativeunit.directoryadministrativeunitslistmembersasgroup
        with:
          ConsistencyLevel: rest.ConsistencyLevel
          $orderby: rest.$orderby
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/directory/administrativeunits/{administrativeunit-id}/members/graph-group/count
      name: directory-administrativeunits-administrativeunit-id-members-graph-group-count
      description: REST surface for directory-administrativeUnits-administrativeUnit-id-members-graph.group-$count.
      operations:
      - method: GET
        name: directoryadministrativeunitsmembersgetcountasgroupaf07
        description: Microsoft Graph Get the number of the resource
        call: me-directory-administrativeunit.directoryadministrativeunitsmembersgetcountasgroupaf07
        with:
          ConsistencyLevel: rest.ConsistencyLevel
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/directory/administrativeunits/{administrativeunit-id}/members/graph-orgcontact
      name: directory-administrativeunits-administrativeunit-id-members-graph-orgcontact
      description: REST surface for directory-administrativeUnits-administrativeUnit-id-members-graph.orgContact.
      operations:
      - method: GET
        name: directoryadministrativeunitslistmembersasorgcontact
        description: Microsoft Graph Get the items of type microsoft.graph.orgContact in the microsoft.graph.directoryObject
          collection
        call: me-directory-administrativeunit.directoryadministrativeunitslistmembersasorgcontact
        with:
          ConsistencyLevel: rest.ConsistencyLevel
          $orderby: rest.$orderby
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/directory/administrativeunits/{administrativeunit-id}/members/graph-orgcontact/count
      name: directory-administrativeunits-administrativeunit-id-members-graph-orgcontact-co
      description: REST surface for directory-administrativeUnits-administrativeUnit-id-members-graph.orgContact-$co.
      operations:
      - method: GET
        name: directoryadministrativeunitsmembersgetcountasorgcontact7392
        description: Microsoft Graph Get the number of the resource
        call: me-directory-administrativeunit.directoryadministrativeunitsmembersgetcountasorgcontact7392
        with:
          ConsistencyLevel: rest.ConsistencyLevel
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/directory/administrativeunits/{administrativeunit-id}/members/graph-serviceprincipal
      name: directory-administrativeunits-administrativeunit-id-members-graph-serviceprincip
      description: REST surface for directory-administrativeUnits-administrativeUnit-id-members-graph.servicePrincip.
      operations:
      - method: GET
        name: directoryadministrativeunitslistmembersasserviceprincipal
        description: Microsoft Graph Get the items of type microsoft.graph.servicePrincipal in th

# --- truncated at 32 KB (52 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/microsoft-graph/refs/heads/main/capabilities/me-directory-administrativeunit.yaml