Microsoft Graph · Capability

Microsoft Graph OData Service for namespace microsoft.graph — directory.customSecurityAttributeDefinition

Microsoft Graph OData Service for namespace microsoft.graph — directory.customSecurityAttributeDefinition. 12 operations. Lead operation: Microsoft Graph List customSecurityAttributeDefinitions. Self-contained Naftiko capability covering one Microsoft Graph business surface.

Run with Naftiko Microsoft Graphdirectory.customSecurityAttributeDefinition

What You Can Do

GET
Directorylistcustomsecurityattributedefinitions — Microsoft Graph List customSecurityAttributeDefinitions
/v1/directory/customsecurityattributedefinitions
POST
Directorycreatecustomsecurityattributedefinitions — Microsoft Graph Create customSecurityAttributeDefinition
/v1/directory/customsecurityattributedefinitions
GET
Directorycustomsecurityattributedefinitionsgetcountae4b — Microsoft Graph Get the number of the resource
/v1/directory/customsecurityattributedefinitions/count
GET
Directorygetcustomsecurityattributedefinitions — Microsoft Graph Get customSecurityAttributeDefinition
/v1/directory/customsecurityattributedefinitions/{customsecurityattributedefinition-id}
PATCH
Directoryupdatecustomsecurityattributedefinitions — Microsoft Graph Update customSecurityAttributeDefinition
/v1/directory/customsecurityattributedefinitions/{customsecurityattributedefinition-id}
DELETE
Directorydeletecustomsecurityattributedefinitions — Microsoft Graph Delete navigation property customSecurityAttributeDefinitions for directory
/v1/directory/customsecurityattributedefinitions/{customsecurityattributedefinition-id}
GET
Directorycustomsecurityattributedefinitionslistallowedvalues — Microsoft Graph List allowedValues
/v1/directory/customsecurityattributedefinitions/{customsecurityattributedefinition-id}/allowedvalues
POST
Directorycustomsecurityattributedefinitionscreateallowedvalues — Microsoft Graph Create allowedValue
/v1/directory/customsecurityattributedefinitions/{customsecurityattributedefinition-id}/allowedvalues
GET
Directorycustomsecurityattributedefinitionsallowedvaluesgetcountc982 — Microsoft Graph Get the number of the resource
/v1/directory/customsecurityattributedefinitions/{customsecurityattributedefinition-id}/allowedvalues/count
GET
Directorycustomsecurityattributedefinitionsgetallowedvalues — Microsoft Graph Get allowedValue
/v1/directory/customsecurityattributedefinitions/{customsecurityattributedefinition-id}/allowedvalues/{allowedvalue-id}
PATCH
Directorycustomsecurityattributedefinitionsupdateallowedvalues — Microsoft Graph Update allowedValue
/v1/directory/customsecurityattributedefinitions/{customsecurityattributedefinition-id}/allowedvalues/{allowedvalue-id}
DELETE
Directorycustomsecurityattributedefinitionsdeleteallowedvalues — Microsoft Graph Delete navigation property allowedValues for directory
/v1/directory/customsecurityattributedefinitions/{customsecurityattributedefinition-id}/allowedvalues/{allowedvalue-id}

MCP Tools

microsoft-graph-list-customsecurityattributedefinitions

Microsoft Graph List customSecurityAttributeDefinitions

read-only idempotent
microsoft-graph-create-customsecurityattributedefinition

Microsoft Graph Create customSecurityAttributeDefinition

microsoft-graph-get-number-resource

Microsoft Graph Get the number of the resource

read-only idempotent
microsoft-graph-get-customsecurityattributedefinition

Microsoft Graph Get customSecurityAttributeDefinition

read-only idempotent
microsoft-graph-update-customsecurityattributedefinition

Microsoft Graph Update customSecurityAttributeDefinition

idempotent
microsoft-graph-delete-navigation-property

Microsoft Graph Delete navigation property customSecurityAttributeDefinitions for directory

idempotent
microsoft-graph-list-allowedvalues

Microsoft Graph List allowedValues

read-only idempotent
microsoft-graph-create-allowedvalue

Microsoft Graph Create allowedValue

microsoft-graph-get-number-resource-2

Microsoft Graph Get the number of the resource

read-only idempotent
microsoft-graph-get-allowedvalue

Microsoft Graph Get allowedValue

read-only idempotent
microsoft-graph-update-allowedvalue

Microsoft Graph Update allowedValue

idempotent
microsoft-graph-delete-navigation-property-2

Microsoft Graph Delete navigation property allowedValues for directory

idempotent

Capability Spec

microsoft-graph-directory-customsecurityattributedefinition.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Graph OData Service for namespace microsoft.graph — directory.customSecurityAttributeDefinition
  description: 'Microsoft Graph OData Service for namespace microsoft.graph — directory.customSecurityAttributeDefinition.
    12 operations. Lead operation: Microsoft Graph List customSecurityAttributeDefinitions. Self-contained Naftiko capability
    covering one Microsoft Graph business surface.'
  tags:
  - Microsoft Graph
  - directory.customSecurityAttributeDefinition
  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-directory-customsecurityattributedefinition
    baseUri: https://graph.microsoft.com/v1.0
    description: Microsoft Graph OData Service for namespace microsoft.graph — directory.customSecurityAttributeDefinition
      business capability. Self-contained, no shared references.
    resources:
    - name: directory-customSecurityAttributeDefinitions
      path: /directory/customSecurityAttributeDefinitions
      operations:
      - name: directorylistcustomsecurityattributedefinitions
        method: GET
        description: Microsoft Graph List customSecurityAttributeDefinitions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $orderby
          in: query
          type: array
          description: Order items by property values
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
      - name: directorycreatecustomsecurityattributedefinitions
        method: POST
        description: Microsoft Graph Create customSecurityAttributeDefinition
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: directory-customSecurityAttributeDefinitions-$count
      path: /directory/customSecurityAttributeDefinitions/$count
      operations:
      - name: directorycustomsecurityattributedefinitionsgetcountae4b
        method: GET
        description: Microsoft Graph Get the number of the resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: directory-customSecurityAttributeDefinitions-customSecurityAttributeDefinition-i
      path: /directory/customSecurityAttributeDefinitions/{customSecurityAttributeDefinition-id}
      operations:
      - name: directorygetcustomsecurityattributedefinitions
        method: GET
        description: Microsoft Graph Get customSecurityAttributeDefinition
        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: directoryupdatecustomsecurityattributedefinitions
        method: PATCH
        description: Microsoft Graph Update customSecurityAttributeDefinition
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: directorydeletecustomsecurityattributedefinitions
        method: DELETE
        description: Microsoft Graph Delete navigation property customSecurityAttributeDefinitions for directory
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: If-Match
          in: header
          type: string
          description: ETag
    - name: directory-customSecurityAttributeDefinitions-customSecurityAttributeDefinition-i
      path: /directory/customSecurityAttributeDefinitions/{customSecurityAttributeDefinition-id}/allowedValues
      operations:
      - name: directorycustomsecurityattributedefinitionslistallowedvalues
        method: GET
        description: Microsoft Graph List allowedValues
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $orderby
          in: query
          type: array
          description: Order items by property values
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
      - name: directorycustomsecurityattributedefinitionscreateallowedvalues
        method: POST
        description: Microsoft Graph Create allowedValue
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: directory-customSecurityAttributeDefinitions-customSecurityAttributeDefinition-i
      path: /directory/customSecurityAttributeDefinitions/{customSecurityAttributeDefinition-id}/allowedValues/$count
      operations:
      - name: directorycustomsecurityattributedefinitionsallowedvaluesgetcountc982
        method: GET
        description: Microsoft Graph Get the number of the resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: directory-customSecurityAttributeDefinitions-customSecurityAttributeDefinition-i
      path: /directory/customSecurityAttributeDefinitions/{customSecurityAttributeDefinition-id}/allowedValues/{allowedValue-id}
      operations:
      - name: directorycustomsecurityattributedefinitionsgetallowedvalues
        method: GET
        description: Microsoft Graph Get allowedValue
        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: directorycustomsecurityattributedefinitionsupdateallowedvalues
        method: PATCH
        description: Microsoft Graph Update allowedValue
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: directorycustomsecurityattributedefinitionsdeleteallowedvalues
        method: DELETE
        description: Microsoft Graph Delete navigation property allowedValues for directory
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: If-Match
          in: header
          type: string
          description: ETag
  exposes:
  - type: rest
    namespace: microsoft-graph-directory-customsecurityattributedefinition-rest
    port: 8080
    description: REST adapter for Microsoft Graph OData Service for namespace microsoft.graph — directory.customSecurityAttributeDefinition.
      One Spectral-compliant resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/directory/customsecurityattributedefinitions
      name: directory-customsecurityattributedefinitions
      description: REST surface for directory-customSecurityAttributeDefinitions.
      operations:
      - method: GET
        name: directorylistcustomsecurityattributedefinitions
        description: Microsoft Graph List customSecurityAttributeDefinitions
        call: microsoft-graph-directory-customsecurityattributedefinition.directorylistcustomsecurityattributedefinitions
        with:
          $orderby: rest.$orderby
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: directorycreatecustomsecurityattributedefinitions
        description: Microsoft Graph Create customSecurityAttributeDefinition
        call: microsoft-graph-directory-customsecurityattributedefinition.directorycreatecustomsecurityattributedefinitions
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/directory/customsecurityattributedefinitions/count
      name: directory-customsecurityattributedefinitions-count
      description: REST surface for directory-customSecurityAttributeDefinitions-$count.
      operations:
      - method: GET
        name: directorycustomsecurityattributedefinitionsgetcountae4b
        description: Microsoft Graph Get the number of the resource
        call: microsoft-graph-directory-customsecurityattributedefinition.directorycustomsecurityattributedefinitionsgetcountae4b
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/directory/customsecurityattributedefinitions/{customsecurityattributedefinition-id}
      name: directory-customsecurityattributedefinitions-customsecurityattributedefinition-i
      description: REST surface for directory-customSecurityAttributeDefinitions-customSecurityAttributeDefinition-i.
      operations:
      - method: GET
        name: directorygetcustomsecurityattributedefinitions
        description: Microsoft Graph Get customSecurityAttributeDefinition
        call: microsoft-graph-directory-customsecurityattributedefinition.directorygetcustomsecurityattributedefinitions
        with:
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: directoryupdatecustomsecurityattributedefinitions
        description: Microsoft Graph Update customSecurityAttributeDefinition
        call: microsoft-graph-directory-customsecurityattributedefinition.directoryupdatecustomsecurityattributedefinitions
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: directorydeletecustomsecurityattributedefinitions
        description: Microsoft Graph Delete navigation property customSecurityAttributeDefinitions for directory
        call: microsoft-graph-directory-customsecurityattributedefinition.directorydeletecustomsecurityattributedefinitions
        with:
          If-Match: rest.If-Match
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/directory/customsecurityattributedefinitions/{customsecurityattributedefinition-id}/allowedvalues
      name: directory-customsecurityattributedefinitions-customsecurityattributedefinition-i
      description: REST surface for directory-customSecurityAttributeDefinitions-customSecurityAttributeDefinition-i.
      operations:
      - method: GET
        name: directorycustomsecurityattributedefinitionslistallowedvalues
        description: Microsoft Graph List allowedValues
        call: microsoft-graph-directory-customsecurityattributedefinition.directorycustomsecurityattributedefinitionslistallowedvalues
        with:
          $orderby: rest.$orderby
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: directorycustomsecurityattributedefinitionscreateallowedvalues
        description: Microsoft Graph Create allowedValue
        call: microsoft-graph-directory-customsecurityattributedefinition.directorycustomsecurityattributedefinitionscreateallowedvalues
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/directory/customsecurityattributedefinitions/{customsecurityattributedefinition-id}/allowedvalues/count
      name: directory-customsecurityattributedefinitions-customsecurityattributedefinition-i
      description: REST surface for directory-customSecurityAttributeDefinitions-customSecurityAttributeDefinition-i.
      operations:
      - method: GET
        name: directorycustomsecurityattributedefinitionsallowedvaluesgetcountc982
        description: Microsoft Graph Get the number of the resource
        call: microsoft-graph-directory-customsecurityattributedefinition.directorycustomsecurityattributedefinitionsallowedvaluesgetcountc982
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/directory/customsecurityattributedefinitions/{customsecurityattributedefinition-id}/allowedvalues/{allowedvalue-id}
      name: directory-customsecurityattributedefinitions-customsecurityattributedefinition-i
      description: REST surface for directory-customSecurityAttributeDefinitions-customSecurityAttributeDefinition-i.
      operations:
      - method: GET
        name: directorycustomsecurityattributedefinitionsgetallowedvalues
        description: Microsoft Graph Get allowedValue
        call: microsoft-graph-directory-customsecurityattributedefinition.directorycustomsecurityattributedefinitionsgetallowedvalues
        with:
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: directorycustomsecurityattributedefinitionsupdateallowedvalues
        description: Microsoft Graph Update allowedValue
        call: microsoft-graph-directory-customsecurityattributedefinition.directorycustomsecurityattributedefinitionsupdateallowedvalues
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: directorycustomsecurityattributedefinitionsdeleteallowedvalues
        description: Microsoft Graph Delete navigation property allowedValues for directory
        call: microsoft-graph-directory-customsecurityattributedefinition.directorycustomsecurityattributedefinitionsdeleteallowedvalues
        with:
          If-Match: rest.If-Match
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: microsoft-graph-directory-customsecurityattributedefinition-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Graph OData Service for namespace microsoft.graph — directory.customSecurityAttributeDefinition.
      One tool per consumed operation, routed inline through this capability's consumes block.
    tools:
    - name: microsoft-graph-list-customsecurityattributedefinitions
      description: Microsoft Graph List customSecurityAttributeDefinitions
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: microsoft-graph-directory-customsecurityattributedefinition.directorylistcustomsecurityattributedefinitions
      with:
        $orderby: tools.$orderby
        $select: tools.$select
        $expand: tools.$expand
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-create-customsecurityattributedefinition
      description: Microsoft Graph Create customSecurityAttributeDefinition
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: microsoft-graph-directory-customsecurityattributedefinition.directorycreatecustomsecurityattributedefinitions
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-get-number-resource
      description: Microsoft Graph Get the number of the resource
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: microsoft-graph-directory-customsecurityattributedefinition.directorycustomsecurityattributedefinitionsgetcountae4b
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-get-customsecurityattributedefinition
      description: Microsoft Graph Get customSecurityAttributeDefinition
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: microsoft-graph-directory-customsecurityattributedefinition.directorygetcustomsecurityattributedefinitions
      with:
        $select: tools.$select
        $expand: tools.$expand
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-update-customsecurityattributedefinition
      description: Microsoft Graph Update customSecurityAttributeDefinition
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: microsoft-graph-directory-customsecurityattributedefinition.directoryupdatecustomsecurityattributedefinitions
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-delete-navigation-property
      description: Microsoft Graph Delete navigation property customSecurityAttributeDefinitions for directory
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: microsoft-graph-directory-customsecurityattributedefinition.directorydeletecustomsecurityattributedefinitions
      with:
        If-Match: tools.If-Match
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-list-allowedvalues
      description: Microsoft Graph List allowedValues
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: microsoft-graph-directory-customsecurityattributedefinition.directorycustomsecurityattributedefinitionslistallowedvalues
      with:
        $orderby: tools.$orderby
        $select: tools.$select
        $expand: tools.$expand
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-create-allowedvalue
      description: Microsoft Graph Create allowedValue
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: microsoft-graph-directory-customsecurityattributedefinition.directorycustomsecurityattributedefinitionscreateallowedvalues
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-get-number-resource-2
      description: Microsoft Graph Get the number of the resource
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: microsoft-graph-directory-customsecurityattributedefinition.directorycustomsecurityattributedefinitionsallowedvaluesgetcountc982
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-get-allowedvalue
      description: Microsoft Graph Get allowedValue
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: microsoft-graph-directory-customsecurityattributedefinition.directorycustomsecurityattributedefinitionsgetallowedvalues
      with:
        $select: tools.$select
        $expand: tools.$expand
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-update-allowedvalue
      description: Microsoft Graph Update allowedValue
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: microsoft-graph-directory-customsecurityattributedefinition.directorycustomsecurityattributedefinitionsupdateallowedvalues
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-delete-navigation-property-2
      description: Microsoft Graph Delete navigation property allowedValues for directory
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: microsoft-graph-directory-customsecurityattributedefinition.directorycustomsecurityattributedefinitionsdeleteallowedvalues
      with:
        If-Match: tools.If-Match
      outputParameters:
      - type: object
        mapping: $.