Microsoft Graph · Capability

Microsoft Graph Me — users.directoryObject

Microsoft Graph Me — users.directoryObject. 12 operations. Lead operation: Microsoft Graph List a user's direct memberships. Self-contained Naftiko capability covering one Microsoft Graph business surface.

Run with Naftiko Microsoft Graphusers.directoryObject

What You Can Do

GET
Userslistmemberof — Microsoft Graph List a user's direct memberships
/v1/users/{user-id}/memberof
GET
Usersmemberofgetcountfc20 — Microsoft Graph Get the number of the resource
/v1/users/{user-id}/memberof/count
GET
Userslistmemberofasadministrativeunit — Microsoft Graph Get the items of type microsoft.graph.administrativeUnit in the microsoft.graph.directoryObject collection
/v1/users/{user-id}/memberof/graph-administrativeunit
GET
Usersmemberofgetcountasadministrativeunit88a9 — Microsoft Graph Get the number of the resource
/v1/users/{user-id}/memberof/graph-administrativeunit/count
GET
Userslistmemberofasdirectoryrole — Microsoft Graph Get the items of type microsoft.graph.directoryRole in the microsoft.graph.directoryObject collection
/v1/users/{user-id}/memberof/graph-directoryrole
GET
Usersmemberofgetcountasdirectoryroleb036 — Microsoft Graph Get the number of the resource
/v1/users/{user-id}/memberof/graph-directoryrole/count
GET
Userslistmemberofasgroup — Microsoft Graph List a user's direct memberships
/v1/users/{user-id}/memberof/graph-group
GET
Usersmemberofgetcountasgroup48c0 — Microsoft Graph Get the number of the resource
/v1/users/{user-id}/memberof/graph-group/count
GET
Usersgetmemberof — Microsoft Graph Get memberOf from users
/v1/users/{user-id}/memberof/{directoryobject-id}
GET
Usersgetmemberofasadministrativeunit — Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.administrativeUnit
/v1/users/{user-id}/memberof/{directoryobject-id}/graph-administrativeunit
GET
Usersgetmemberofasdirectoryrole — Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.directoryRole
/v1/users/{user-id}/memberof/{directoryobject-id}/graph-directoryrole
GET
Usersgetmemberofasgroup — Microsoft Graph List a user's direct memberships
/v1/users/{user-id}/memberof/{directoryobject-id}/graph-group

MCP Tools

microsoft-graph-list-user-s-direct

Microsoft Graph List a user's direct memberships

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.administrativeUnit 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.directoryRole 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-list-user-s-direct-2

Microsoft Graph List a user's direct memberships

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

Microsoft Graph Get the number of the resource

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

Microsoft Graph Get memberOf from users

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

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

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

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

read-only idempotent
microsoft-graph-list-user-s-direct-3

Microsoft Graph List a user's direct memberships

read-only idempotent

Capability Spec

me-users-directoryobject.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Graph Me — users.directoryObject
  description: 'Microsoft Graph Me — users.directoryObject. 12 operations. Lead operation: Microsoft Graph List a user''s
    direct memberships. Self-contained Naftiko capability covering one Microsoft Graph business surface.'
  tags:
  - Microsoft Graph
  - users.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: me-users-directoryobject
    baseUri: ''
    description: Microsoft Graph Me — users.directoryObject business capability. Self-contained, no shared references.
    resources:
    - name: users-user-id-memberOf
      path: /users/{user-id}/memberOf
      operations:
      - name: userslistmemberof
        method: GET
        description: Microsoft Graph List a user's direct memberships
        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: users-user-id-memberOf-$count
      path: /users/{user-id}/memberOf/$count
      operations:
      - name: usersmemberofgetcountfc20
        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: users-user-id-memberOf-graph.administrativeUnit
      path: /users/{user-id}/memberOf/graph.administrativeUnit
      operations:
      - name: userslistmemberofasadministrativeunit
        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: users-user-id-memberOf-graph.administrativeUnit-$count
      path: /users/{user-id}/memberOf/graph.administrativeUnit/$count
      operations:
      - name: usersmemberofgetcountasadministrativeunit88a9
        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: users-user-id-memberOf-graph.directoryRole
      path: /users/{user-id}/memberOf/graph.directoryRole
      operations:
      - name: userslistmemberofasdirectoryrole
        method: GET
        description: Microsoft Graph Get the items of type microsoft.graph.directoryRole 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: users-user-id-memberOf-graph.directoryRole-$count
      path: /users/{user-id}/memberOf/graph.directoryRole/$count
      operations:
      - name: usersmemberofgetcountasdirectoryroleb036
        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: users-user-id-memberOf-graph.group
      path: /users/{user-id}/memberOf/graph.group
      operations:
      - name: userslistmemberofasgroup
        method: GET
        description: Microsoft Graph List a user's direct memberships
        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: users-user-id-memberOf-graph.group-$count
      path: /users/{user-id}/memberOf/graph.group/$count
      operations:
      - name: usersmemberofgetcountasgroup48c0
        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: users-user-id-memberOf-directoryObject-id
      path: /users/{user-id}/memberOf/{directoryObject-id}
      operations:
      - name: usersgetmemberof
        method: GET
        description: Microsoft Graph Get memberOf from users
        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: users-user-id-memberOf-directoryObject-id-graph.administrativeUnit
      path: /users/{user-id}/memberOf/{directoryObject-id}/graph.administrativeUnit
      operations:
      - name: usersgetmemberofasadministrativeunit
        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: users-user-id-memberOf-directoryObject-id-graph.directoryRole
      path: /users/{user-id}/memberOf/{directoryObject-id}/graph.directoryRole
      operations:
      - name: usersgetmemberofasdirectoryrole
        method: GET
        description: Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.directoryRole
        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: users-user-id-memberOf-directoryObject-id-graph.group
      path: /users/{user-id}/memberOf/{directoryObject-id}/graph.group
      operations:
      - name: usersgetmemberofasgroup
        method: GET
        description: Microsoft Graph List a user's direct memberships
        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-users-directoryobject-rest
    port: 8080
    description: REST adapter for Microsoft Graph Me — users.directoryObject. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/users/{user-id}/memberof
      name: users-user-id-memberof
      description: REST surface for users-user-id-memberOf.
      operations:
      - method: GET
        name: userslistmemberof
        description: Microsoft Graph List a user's direct memberships
        call: me-users-directoryobject.userslistmemberof
        with:
          ConsistencyLevel: rest.ConsistencyLevel
          $orderby: rest.$orderby
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/users/{user-id}/memberof/count
      name: users-user-id-memberof-count
      description: REST surface for users-user-id-memberOf-$count.
      operations:
      - method: GET
        name: usersmemberofgetcountfc20
        description: Microsoft Graph Get the number of the resource
        call: me-users-directoryobject.usersmemberofgetcountfc20
        with:
          ConsistencyLevel: rest.ConsistencyLevel
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/users/{user-id}/memberof/graph-administrativeunit
      name: users-user-id-memberof-graph-administrativeunit
      description: REST surface for users-user-id-memberOf-graph.administrativeUnit.
      operations:
      - method: GET
        name: userslistmemberofasadministrativeunit
        description: Microsoft Graph Get the items of type microsoft.graph.administrativeUnit in the microsoft.graph.directoryObject
          collection
        call: me-users-directoryobject.userslistmemberofasadministrativeunit
        with:
          ConsistencyLevel: rest.ConsistencyLevel
          $orderby: rest.$orderby
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/users/{user-id}/memberof/graph-administrativeunit/count
      name: users-user-id-memberof-graph-administrativeunit-count
      description: REST surface for users-user-id-memberOf-graph.administrativeUnit-$count.
      operations:
      - method: GET
        name: usersmemberofgetcountasadministrativeunit88a9
        description: Microsoft Graph Get the number of the resource
        call: me-users-directoryobject.usersmemberofgetcountasadministrativeunit88a9
        with:
          ConsistencyLevel: rest.ConsistencyLevel
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/users/{user-id}/memberof/graph-directoryrole
      name: users-user-id-memberof-graph-directoryrole
      description: REST surface for users-user-id-memberOf-graph.directoryRole.
      operations:
      - method: GET
        name: userslistmemberofasdirectoryrole
        description: Microsoft Graph Get the items of type microsoft.graph.directoryRole in the microsoft.graph.directoryObject
          collection
        call: me-users-directoryobject.userslistmemberofasdirectoryrole
        with:
          ConsistencyLevel: rest.ConsistencyLevel
          $orderby: rest.$orderby
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/users/{user-id}/memberof/graph-directoryrole/count
      name: users-user-id-memberof-graph-directoryrole-count
      description: REST surface for users-user-id-memberOf-graph.directoryRole-$count.
      operations:
      - method: GET
        name: usersmemberofgetcountasdirectoryroleb036
        description: Microsoft Graph Get the number of the resource
        call: me-users-directoryobject.usersmemberofgetcountasdirectoryroleb036
        with:
          ConsistencyLevel: rest.ConsistencyLevel
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/users/{user-id}/memberof/graph-group
      name: users-user-id-memberof-graph-group
      description: REST surface for users-user-id-memberOf-graph.group.
      operations:
      - method: GET
        name: userslistmemberofasgroup
        description: Microsoft Graph List a user's direct memberships
        call: me-users-directoryobject.userslistmemberofasgroup
        with:
          ConsistencyLevel: rest.ConsistencyLevel
          $orderby: rest.$orderby
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/users/{user-id}/memberof/graph-group/count
      name: users-user-id-memberof-graph-group-count
      description: REST surface for users-user-id-memberOf-graph.group-$count.
      operations:
      - method: GET
        name: usersmemberofgetcountasgroup48c0
        description: Microsoft Graph Get the number of the resource
        call: me-users-directoryobject.usersmemberofgetcountasgroup48c0
        with:
          ConsistencyLevel: rest.ConsistencyLevel
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/users/{user-id}/memberof/{directoryobject-id}
      name: users-user-id-memberof-directoryobject-id
      description: REST surface for users-user-id-memberOf-directoryObject-id.
      operations:
      - method: GET
        name: usersgetmemberof
        description: Microsoft Graph Get memberOf from users
        call: me-users-directoryobject.usersgetmemberof
        with:
          ConsistencyLevel: rest.ConsistencyLevel
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/users/{user-id}/memberof/{directoryobject-id}/graph-administrativeunit
      name: users-user-id-memberof-directoryobject-id-graph-administrativeunit
      description: REST surface for users-user-id-memberOf-directoryObject-id-graph.administrativeUnit.
      operations:
      - method: GET
        name: usersgetmemberofasadministrativeunit
        description: Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.administrativeUnit
        call: me-users-directoryobject.usersgetmemberofasadministrativeunit
        with:
          ConsistencyLevel: rest.ConsistencyLevel
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/users/{user-id}/memberof/{directoryobject-id}/graph-directoryrole
      name: users-user-id-memberof-directoryobject-id-graph-directoryrole
      description: REST surface for users-user-id-memberOf-directoryObject-id-graph.directoryRole.
      operations:
      - method: GET
        name: usersgetmemberofasdirectoryrole
        description: Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.directoryRole
        call: me-users-directoryobject.usersgetmemberofasdirectoryrole
        with:
          ConsistencyLevel: rest.ConsistencyLevel
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/users/{user-id}/memberof/{directoryobject-id}/graph-group
      name: users-user-id-memberof-directoryobject-id-graph-group
      description: REST surface for users-user-id-memberOf-directoryObject-id-graph.group.
      operations:
      - method: GET
        name: usersgetmemberofasgroup
        description: Microsoft Graph List a user's direct memberships
        call: me-users-directoryobject.usersgetmemberofasgroup
        with:
          ConsistencyLevel: rest.ConsistencyLevel
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: me-users-directoryobject-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Graph Me — users.directoryObject. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: microsoft-graph-list-user-s-direct
      description: Microsoft Graph List a user's direct memberships
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: me-users-directoryobject.userslistmemberof
      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: me-users-directoryobject.usersmemberofgetcountfc20
      with:
        ConsistencyLevel: tools.ConsistencyLevel
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-get-items-type
      description: Microsoft Graph Get the items of type microsoft.graph.administrativeUnit in the microsoft.graph.directoryObject
        collection
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: me-users-directoryobject.userslistmemberofasadministrativeunit
      with:
        ConsistencyLevel: tools.ConsistencyLevel
        $orderby: tools.$orderby
        $select: tools.$select
        $expand: tools.$expand
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-get-number-resource-2
      description: Microsoft Graph Get the number of the resource
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: me-users-directoryobject.usersmemberofgetcountasadministrativeunit88a9
      with:
        ConsistencyLevel: tools.ConsistencyLevel
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-get-items-type-2
      description: Microsoft Graph Get the items of type microsoft.graph.directoryRole in the microsoft.graph.directoryObject
        collection
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: me-users-directoryobject.userslistmemberofasdirectoryrole
      with:
        ConsistencyLevel: tools.ConsistencyLevel
        $orderby: tools.$orderby
        $select: tools.$select
        $expand: tools.$expand
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-get-number-resource-3
      description: Microsoft Graph Get the number of the resource
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: me-users-directoryobject.usersmemberofgetcountasdirectoryroleb036
      with:
        ConsistencyLevel: tools.ConsistencyLevel
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-list-user-s-direct-2
      description: Microsoft Graph List a user's direct memberships
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: me-users-directoryobject.userslistmemberofasgroup
      with:
        ConsistencyLevel: tools.ConsistencyLevel
        $orderby: tools.$orderby
        $select: tools.$select
        $expand: tools.$expand
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-get-number-resource-4
      description: Microsoft Graph Get the number of the resource
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: me-users-directoryobject.usersmemberofgetcountasgroup48c0
      with:
        ConsistencyLevel: tools.ConsistencyLevel
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-get-memberof-users
      description: Microsoft Graph Get memberOf from users
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: me-users-directoryobject.usersgetmemberof
      with:
        ConsistencyLevel: tools.ConsistencyLevel
        $select: tools.$select
        $expand: tools.$expand
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-get-item-type
      description: Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.administrativeUnit
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: me-users-directoryobject.usersgetmemberofasadministrativeunit
      with:
        ConsistencyLevel: tools.ConsistencyLevel
        $select: tools.$select
        $expand: tools.$expand
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-get-item-type-2
      description: Microsoft Graph Get the item of type microsoft.graph.directoryObject as microsoft.graph.directoryRole
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: me-users-directoryobject.usersgetmemberofasdirectoryrole
      with:
        ConsistencyLevel: tools.ConsistencyLevel
        $select: tools.$select
        $expand: tools.$expand
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-list-user-s-direct-3
      description: Microsoft Graph List a user's direct memberships
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: me-users-directoryobject.usersgetmemberofasgroup
      with:
        ConsistencyLevel: tools.ConsistencyLevel
        $select: tools.$select
        $expand: tools.$expand
      outputParameters:
      - type: object
        mapping: $.