Microsoft Graph · Capability

Microsoft Graph OData Service for namespace microsoft.graph — identityProtection.servicePrincipalRiskDetection

Microsoft Graph OData Service for namespace microsoft.graph — identityProtection.servicePrincipalRiskDetection. 6 operations. Lead operation: Microsoft Graph List servicePrincipalRiskDetections. Self-contained Naftiko capability covering one Microsoft Graph business surface.

Run with Naftiko Microsoft GraphidentityProtection.servicePrincipalRiskDetection

What You Can Do

GET
Identityprotectionlistserviceprincipalriskdetections — Microsoft Graph List servicePrincipalRiskDetections
/v1/identityprotection/serviceprincipalriskdetections
POST
Identityprotectioncreateserviceprincipalriskdetections — Microsoft Graph Create new navigation property to servicePrincipalRiskDetections for identityProtection
/v1/identityprotection/serviceprincipalriskdetections
GET
Identityprotectionserviceprincipalriskdetectionsgetcount1bc5 — Microsoft Graph Get the number of the resource
/v1/identityprotection/serviceprincipalriskdetections/count
GET
Identityprotectiongetserviceprincipalriskdetections — Microsoft Graph Get servicePrincipalRiskDetection
/v1/identityprotection/serviceprincipalriskdetections/{serviceprincipalriskdetection-id}
PATCH
Identityprotectionupdateserviceprincipalriskdetections — Microsoft Graph Update the navigation property servicePrincipalRiskDetections in identityProtection
/v1/identityprotection/serviceprincipalriskdetections/{serviceprincipalriskdetection-id}
DELETE
Identityprotectiondeleteserviceprincipalriskdetections — Microsoft Graph Delete navigation property servicePrincipalRiskDetections for identityProtection
/v1/identityprotection/serviceprincipalriskdetections/{serviceprincipalriskdetection-id}

MCP Tools

microsoft-graph-list-serviceprincipalriskdetections

Microsoft Graph List servicePrincipalRiskDetections

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

Microsoft Graph Create new navigation property to servicePrincipalRiskDetections for identityProtection

microsoft-graph-get-number-resource

Microsoft Graph Get the number of the resource

read-only idempotent
microsoft-graph-get-serviceprincipalriskdetection

Microsoft Graph Get servicePrincipalRiskDetection

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

Microsoft Graph Update the navigation property servicePrincipalRiskDetections in identityProtection

idempotent
microsoft-graph-delete-navigation-property

Microsoft Graph Delete navigation property servicePrincipalRiskDetections for identityProtection

idempotent

Capability Spec

microsoft-graph-identityprotection-serviceprincipalriskdetection.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Graph OData Service for namespace microsoft.graph — identityProtection.servicePrincipalRiskDetection
  description: 'Microsoft Graph OData Service for namespace microsoft.graph — identityProtection.servicePrincipalRiskDetection.
    6 operations. Lead operation: Microsoft Graph List servicePrincipalRiskDetections. Self-contained Naftiko capability covering
    one Microsoft Graph business surface.'
  tags:
  - Microsoft Graph
  - identityProtection.servicePrincipalRiskDetection
  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-identityprotection-serviceprincipalriskdetection
    baseUri: https://graph.microsoft.com/v1.0
    description: Microsoft Graph OData Service for namespace microsoft.graph — identityProtection.servicePrincipalRiskDetection
      business capability. Self-contained, no shared references.
    resources:
    - name: identityProtection-servicePrincipalRiskDetections
      path: /identityProtection/servicePrincipalRiskDetections
      operations:
      - name: identityprotectionlistserviceprincipalriskdetections
        method: GET
        description: Microsoft Graph List servicePrincipalRiskDetections
        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: identityprotectioncreateserviceprincipalriskdetections
        method: POST
        description: Microsoft Graph Create new navigation property to servicePrincipalRiskDetections for identityProtection
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: identityProtection-servicePrincipalRiskDetections-$count
      path: /identityProtection/servicePrincipalRiskDetections/$count
      operations:
      - name: identityprotectionserviceprincipalriskdetectionsgetcount1bc5
        method: GET
        description: Microsoft Graph Get the number of the resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: identityProtection-servicePrincipalRiskDetections-servicePrincipalRiskDetection-
      path: /identityProtection/servicePrincipalRiskDetections/{servicePrincipalRiskDetection-id}
      operations:
      - name: identityprotectiongetserviceprincipalriskdetections
        method: GET
        description: Microsoft Graph Get servicePrincipalRiskDetection
        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: identityprotectionupdateserviceprincipalriskdetections
        method: PATCH
        description: Microsoft Graph Update the navigation property servicePrincipalRiskDetections in identityProtection
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: identityprotectiondeleteserviceprincipalriskdetections
        method: DELETE
        description: Microsoft Graph Delete navigation property servicePrincipalRiskDetections for identityProtection
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: If-Match
          in: header
          type: string
          description: ETag
  exposes:
  - type: rest
    namespace: microsoft-graph-identityprotection-serviceprincipalriskdetection-rest
    port: 8080
    description: REST adapter for Microsoft Graph OData Service for namespace microsoft.graph — identityProtection.servicePrincipalRiskDetection.
      One Spectral-compliant resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/identityprotection/serviceprincipalriskdetections
      name: identityprotection-serviceprincipalriskdetections
      description: REST surface for identityProtection-servicePrincipalRiskDetections.
      operations:
      - method: GET
        name: identityprotectionlistserviceprincipalriskdetections
        description: Microsoft Graph List servicePrincipalRiskDetections
        call: microsoft-graph-identityprotection-serviceprincipalriskdetection.identityprotectionlistserviceprincipalriskdetections
        with:
          $orderby: rest.$orderby
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: identityprotectioncreateserviceprincipalriskdetections
        description: Microsoft Graph Create new navigation property to servicePrincipalRiskDetections for identityProtection
        call: microsoft-graph-identityprotection-serviceprincipalriskdetection.identityprotectioncreateserviceprincipalriskdetections
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/identityprotection/serviceprincipalriskdetections/count
      name: identityprotection-serviceprincipalriskdetections-count
      description: REST surface for identityProtection-servicePrincipalRiskDetections-$count.
      operations:
      - method: GET
        name: identityprotectionserviceprincipalriskdetectionsgetcount1bc5
        description: Microsoft Graph Get the number of the resource
        call: microsoft-graph-identityprotection-serviceprincipalriskdetection.identityprotectionserviceprincipalriskdetectionsgetcount1bc5
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/identityprotection/serviceprincipalriskdetections/{serviceprincipalriskdetection-id}
      name: identityprotection-serviceprincipalriskdetections-serviceprincipalriskdetection
      description: REST surface for identityProtection-servicePrincipalRiskDetections-servicePrincipalRiskDetection-.
      operations:
      - method: GET
        name: identityprotectiongetserviceprincipalriskdetections
        description: Microsoft Graph Get servicePrincipalRiskDetection
        call: microsoft-graph-identityprotection-serviceprincipalriskdetection.identityprotectiongetserviceprincipalriskdetections
        with:
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: identityprotectionupdateserviceprincipalriskdetections
        description: Microsoft Graph Update the navigation property servicePrincipalRiskDetections in identityProtection
        call: microsoft-graph-identityprotection-serviceprincipalriskdetection.identityprotectionupdateserviceprincipalriskdetections
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: identityprotectiondeleteserviceprincipalriskdetections
        description: Microsoft Graph Delete navigation property servicePrincipalRiskDetections for identityProtection
        call: microsoft-graph-identityprotection-serviceprincipalriskdetection.identityprotectiondeleteserviceprincipalriskdetections
        with:
          If-Match: rest.If-Match
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: microsoft-graph-identityprotection-serviceprincipalriskdetection-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Graph OData Service for namespace microsoft.graph — identityProtection.servicePrincipalRiskDetection.
      One tool per consumed operation, routed inline through this capability's consumes block.
    tools:
    - name: microsoft-graph-list-serviceprincipalriskdetections
      description: Microsoft Graph List servicePrincipalRiskDetections
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: microsoft-graph-identityprotection-serviceprincipalriskdetection.identityprotectionlistserviceprincipalriskdetections
      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 servicePrincipalRiskDetections for identityProtection
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: microsoft-graph-identityprotection-serviceprincipalriskdetection.identityprotectioncreateserviceprincipalriskdetections
      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-identityprotection-serviceprincipalriskdetection.identityprotectionserviceprincipalriskdetectionsgetcount1bc5
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-get-serviceprincipalriskdetection
      description: Microsoft Graph Get servicePrincipalRiskDetection
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: microsoft-graph-identityprotection-serviceprincipalriskdetection.identityprotectiongetserviceprincipalriskdetections
      with:
        $select: tools.$select
        $expand: tools.$expand
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-update-navigation-property
      description: Microsoft Graph Update the navigation property servicePrincipalRiskDetections in identityProtection
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: microsoft-graph-identityprotection-serviceprincipalriskdetection.identityprotectionupdateserviceprincipalriskdetections
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-delete-navigation-property
      description: Microsoft Graph Delete navigation property servicePrincipalRiskDetections for identityProtection
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: microsoft-graph-identityprotection-serviceprincipalriskdetection.identityprotectiondeleteserviceprincipalriskdetections
      with:
        If-Match: tools.If-Match
      outputParameters:
      - type: object
        mapping: $.