Microsoft Graph · Capability

Microsoft Graph Serviceprincipals — servicePrincipals.endpoint

Microsoft Graph Serviceprincipals — servicePrincipals.endpoint. 6 operations. Lead operation: Microsoft Graph Get endpoints from servicePrincipals. Self-contained Naftiko capability covering one Microsoft Graph business surface.

Run with Naftiko Microsoft GraphservicePrincipals.endpoint

What You Can Do

GET
Serviceprincipalslistendpoints — Microsoft Graph Get endpoints from servicePrincipals
/v1/serviceprincipals/{serviceprincipal-id}/endpoints
POST
Serviceprincipalscreateendpoints — Microsoft Graph Create new navigation property to endpoints for servicePrincipals
/v1/serviceprincipals/{serviceprincipal-id}/endpoints
GET
Serviceprincipalsendpointsgetcountc0e0 — Microsoft Graph Get the number of the resource
/v1/serviceprincipals/{serviceprincipal-id}/endpoints/count
GET
Serviceprincipalsgetendpoints — Microsoft Graph Get endpoints from servicePrincipals
/v1/serviceprincipals/{serviceprincipal-id}/endpoints/{endpoint-id}
PATCH
Serviceprincipalsupdateendpoints — Microsoft Graph Update the navigation property endpoints in servicePrincipals
/v1/serviceprincipals/{serviceprincipal-id}/endpoints/{endpoint-id}
DELETE
Serviceprincipalsdeleteendpoints — Microsoft Graph Delete navigation property endpoints for servicePrincipals
/v1/serviceprincipals/{serviceprincipal-id}/endpoints/{endpoint-id}

MCP Tools

microsoft-graph-get-endpoints-serviceprincipals

Microsoft Graph Get endpoints from servicePrincipals

read-only idempotent
microsoft-graph-create-new-navigation

Microsoft Graph Create new navigation property to endpoints for servicePrincipals

microsoft-graph-get-number-resource

Microsoft Graph Get the number of the resource

read-only idempotent
microsoft-graph-get-endpoints-serviceprincipals-2

Microsoft Graph Get endpoints from servicePrincipals

read-only idempotent
microsoft-graph-update-navigation-property

Microsoft Graph Update the navigation property endpoints in servicePrincipals

idempotent
microsoft-graph-delete-navigation-property

Microsoft Graph Delete navigation property endpoints for servicePrincipals

idempotent

Capability Spec

serviceprincipals-serviceprincipals-endpoint.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Graph Serviceprincipals — servicePrincipals.endpoint
  description: 'Microsoft Graph Serviceprincipals — servicePrincipals.endpoint. 6 operations. Lead operation: Microsoft Graph
    Get endpoints from servicePrincipals. Self-contained Naftiko capability covering one Microsoft Graph business surface.'
  tags:
  - Microsoft Graph
  - servicePrincipals.endpoint
  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: serviceprincipals-serviceprincipals-endpoint
    baseUri: ''
    description: Microsoft Graph Serviceprincipals — servicePrincipals.endpoint business capability. Self-contained, no shared
      references.
    resources:
    - name: servicePrincipals-servicePrincipal-id-endpoints
      path: /servicePrincipals/{servicePrincipal-id}/endpoints
      operations:
      - name: serviceprincipalslistendpoints
        method: GET
        description: Microsoft Graph Get endpoints from servicePrincipals
        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: serviceprincipalscreateendpoints
        method: POST
        description: Microsoft Graph Create new navigation property to endpoints for servicePrincipals
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: servicePrincipals-servicePrincipal-id-endpoints-$count
      path: /servicePrincipals/{servicePrincipal-id}/endpoints/$count
      operations:
      - name: serviceprincipalsendpointsgetcountc0e0
        method: GET
        description: Microsoft Graph Get the number of the resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: servicePrincipals-servicePrincipal-id-endpoints-endpoint-id
      path: /servicePrincipals/{servicePrincipal-id}/endpoints/{endpoint-id}
      operations:
      - name: serviceprincipalsgetendpoints
        method: GET
        description: Microsoft Graph Get endpoints from servicePrincipals
        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: serviceprincipalsupdateendpoints
        method: PATCH
        description: Microsoft Graph Update the navigation property endpoints in servicePrincipals
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: serviceprincipalsdeleteendpoints
        method: DELETE
        description: Microsoft Graph Delete navigation property endpoints for servicePrincipals
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: If-Match
          in: header
          type: string
          description: ETag
  exposes:
  - type: rest
    namespace: serviceprincipals-serviceprincipals-endpoint-rest
    port: 8080
    description: REST adapter for Microsoft Graph Serviceprincipals — servicePrincipals.endpoint. One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/serviceprincipals/{serviceprincipal-id}/endpoints
      name: serviceprincipals-serviceprincipal-id-endpoints
      description: REST surface for servicePrincipals-servicePrincipal-id-endpoints.
      operations:
      - method: GET
        name: serviceprincipalslistendpoints
        description: Microsoft Graph Get endpoints from servicePrincipals
        call: serviceprincipals-serviceprincipals-endpoint.serviceprincipalslistendpoints
        with:
          $orderby: rest.$orderby
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: serviceprincipalscreateendpoints
        description: Microsoft Graph Create new navigation property to endpoints for servicePrincipals
        call: serviceprincipals-serviceprincipals-endpoint.serviceprincipalscreateendpoints
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/serviceprincipals/{serviceprincipal-id}/endpoints/count
      name: serviceprincipals-serviceprincipal-id-endpoints-count
      description: REST surface for servicePrincipals-servicePrincipal-id-endpoints-$count.
      operations:
      - method: GET
        name: serviceprincipalsendpointsgetcountc0e0
        description: Microsoft Graph Get the number of the resource
        call: serviceprincipals-serviceprincipals-endpoint.serviceprincipalsendpointsgetcountc0e0
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/serviceprincipals/{serviceprincipal-id}/endpoints/{endpoint-id}
      name: serviceprincipals-serviceprincipal-id-endpoints-endpoint-id
      description: REST surface for servicePrincipals-servicePrincipal-id-endpoints-endpoint-id.
      operations:
      - method: GET
        name: serviceprincipalsgetendpoints
        description: Microsoft Graph Get endpoints from servicePrincipals
        call: serviceprincipals-serviceprincipals-endpoint.serviceprincipalsgetendpoints
        with:
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: serviceprincipalsupdateendpoints
        description: Microsoft Graph Update the navigation property endpoints in servicePrincipals
        call: serviceprincipals-serviceprincipals-endpoint.serviceprincipalsupdateendpoints
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: serviceprincipalsdeleteendpoints
        description: Microsoft Graph Delete navigation property endpoints for servicePrincipals
        call: serviceprincipals-serviceprincipals-endpoint.serviceprincipalsdeleteendpoints
        with:
          If-Match: rest.If-Match
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: serviceprincipals-serviceprincipals-endpoint-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Graph Serviceprincipals — servicePrincipals.endpoint. One tool per consumed operation,
      routed inline through this capability's consumes block.
    tools:
    - name: microsoft-graph-get-endpoints-serviceprincipals
      description: Microsoft Graph Get endpoints from servicePrincipals
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: serviceprincipals-serviceprincipals-endpoint.serviceprincipalslistendpoints
      with:
        $orderby: tools.$orderby
        $select: tools.$select
        $expand: tools.$expand
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-create-new-navigation
      description: Microsoft Graph Create new navigation property to endpoints for servicePrincipals
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: serviceprincipals-serviceprincipals-endpoint.serviceprincipalscreateendpoints
      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: serviceprincipals-serviceprincipals-endpoint.serviceprincipalsendpointsgetcountc0e0
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-get-endpoints-serviceprincipals-2
      description: Microsoft Graph Get endpoints from servicePrincipals
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: serviceprincipals-serviceprincipals-endpoint.serviceprincipalsgetendpoints
      with:
        $select: tools.$select
        $expand: tools.$expand
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-update-navigation-property
      description: Microsoft Graph Update the navigation property endpoints in servicePrincipals
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: serviceprincipals-serviceprincipals-endpoint.serviceprincipalsupdateendpoints
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-delete-navigation-property
      description: Microsoft Graph Delete navigation property endpoints for servicePrincipals
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: serviceprincipals-serviceprincipals-endpoint.serviceprincipalsdeleteendpoints
      with:
        If-Match: tools.If-Match
      outputParameters:
      - type: object
        mapping: $.