naftiko: 1.0.0-alpha2 info: label: Microsoft Graph Identityprotection — identityProtection.riskyServicePrincipal description: 'Microsoft Graph Identityprotection — identityProtection.riskyServicePrincipal. 14 operations. Lead operation: Microsoft Graph List riskyServicePrincipals. Self-contained Naftiko capability covering one Microsoft Graph business surface.' tags: - Microsoft Graph - identityProtection.riskyServicePrincipal 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: identityprotection-identityprotection-riskyserviceprincipal baseUri: '' description: Microsoft Graph Identityprotection — identityProtection.riskyServicePrincipal business capability. Self-contained, no shared references. resources: - name: identityProtection-riskyServicePrincipals path: /identityProtection/riskyServicePrincipals operations: - name: identityprotectionlistriskyserviceprincipals method: GET description: Microsoft Graph List riskyServicePrincipals 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: identityprotectioncreateriskyserviceprincipals method: POST description: Microsoft Graph Create new navigation property to riskyServicePrincipals 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-riskyServicePrincipals-$count path: /identityProtection/riskyServicePrincipals/$count operations: - name: identityprotectionriskyserviceprincipalsgetcountd335 method: GET description: Microsoft Graph Get the number of the resource outputRawFormat: json outputParameters: - name: result type: object value: $. - name: identityProtection-riskyServicePrincipals-confirmCompromised path: /identityProtection/riskyServicePrincipals/confirmCompromised operations: - name: identityprotectionriskyserviceprincipalsconfirmcompromised method: POST description: Microsoft Graph Invoke action confirmCompromised outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: identityProtection-riskyServicePrincipals-dismiss path: /identityProtection/riskyServicePrincipals/dismiss operations: - name: identityprotectionriskyserviceprincipalsdismiss method: POST description: Microsoft Graph Invoke action dismiss outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: identityProtection-riskyServicePrincipals-riskyServicePrincipal-id path: /identityProtection/riskyServicePrincipals/{riskyServicePrincipal-id} operations: - name: identityprotectiongetriskyserviceprincipals method: GET description: Microsoft Graph Get riskyServicePrincipal 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: identityprotectionupdateriskyserviceprincipals method: PATCH description: Microsoft Graph Update the navigation property riskyServicePrincipals in identityProtection outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: identityprotectiondeleteriskyserviceprincipals method: DELETE description: Microsoft Graph Delete navigation property riskyServicePrincipals for identityProtection outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: If-Match in: header type: string description: ETag - name: identityProtection-riskyServicePrincipals-riskyServicePrincipal-id-history path: /identityProtection/riskyServicePrincipals/{riskyServicePrincipal-id}/history operations: - name: identityprotectionriskyserviceprincipalslisthistory method: GET description: Microsoft Graph List history (risk history of riskyServicePrincipal) 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: identityprotectionriskyserviceprincipalscreatehistory method: POST description: Microsoft Graph Create new navigation property to history 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-riskyServicePrincipals-riskyServicePrincipal-id-history-$coun path: /identityProtection/riskyServicePrincipals/{riskyServicePrincipal-id}/history/$count operations: - name: identityprotectionriskyserviceprincipalshistorygetcount818f method: GET description: Microsoft Graph Get the number of the resource outputRawFormat: json outputParameters: - name: result type: object value: $. - name: identityProtection-riskyServicePrincipals-riskyServicePrincipal-id-history-risky path: /identityProtection/riskyServicePrincipals/{riskyServicePrincipal-id}/history/{riskyServicePrincipalHistoryItem-id} operations: - name: identityprotectionriskyserviceprincipalsgethistory method: GET description: Microsoft Graph Get history from identityProtection 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: identityprotectionriskyserviceprincipalsupdatehistory method: PATCH description: Microsoft Graph Update the navigation property history in identityProtection outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: identityprotectionriskyserviceprincipalsdeletehistory method: DELETE description: Microsoft Graph Delete navigation property history for identityProtection outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: If-Match in: header type: string description: ETag exposes: - type: rest namespace: identityprotection-identityprotection-riskyserviceprincipal-rest port: 8080 description: REST adapter for Microsoft Graph Identityprotection — identityProtection.riskyServicePrincipal. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/identityprotection/riskyserviceprincipals name: identityprotection-riskyserviceprincipals description: REST surface for identityProtection-riskyServicePrincipals. operations: - method: GET name: identityprotectionlistriskyserviceprincipals description: Microsoft Graph List riskyServicePrincipals call: identityprotection-identityprotection-riskyserviceprincipal.identityprotectionlistriskyserviceprincipals with: $orderby: rest.$orderby $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: POST name: identityprotectioncreateriskyserviceprincipals description: Microsoft Graph Create new navigation property to riskyServicePrincipals for identityProtection call: identityprotection-identityprotection-riskyserviceprincipal.identityprotectioncreateriskyserviceprincipals with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/identityprotection/riskyserviceprincipals/count name: identityprotection-riskyserviceprincipals-count description: REST surface for identityProtection-riskyServicePrincipals-$count. operations: - method: GET name: identityprotectionriskyserviceprincipalsgetcountd335 description: Microsoft Graph Get the number of the resource call: identityprotection-identityprotection-riskyserviceprincipal.identityprotectionriskyserviceprincipalsgetcountd335 outputParameters: - type: object mapping: $. - path: /v1/identityprotection/riskyserviceprincipals/confirmcompromised name: identityprotection-riskyserviceprincipals-confirmcompromised description: REST surface for identityProtection-riskyServicePrincipals-confirmCompromised. operations: - method: POST name: identityprotectionriskyserviceprincipalsconfirmcompromised description: Microsoft Graph Invoke action confirmCompromised call: identityprotection-identityprotection-riskyserviceprincipal.identityprotectionriskyserviceprincipalsconfirmcompromised with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/identityprotection/riskyserviceprincipals/dismiss name: identityprotection-riskyserviceprincipals-dismiss description: REST surface for identityProtection-riskyServicePrincipals-dismiss. operations: - method: POST name: identityprotectionriskyserviceprincipalsdismiss description: Microsoft Graph Invoke action dismiss call: identityprotection-identityprotection-riskyserviceprincipal.identityprotectionriskyserviceprincipalsdismiss with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/identityprotection/riskyserviceprincipals/{riskyserviceprincipal-id} name: identityprotection-riskyserviceprincipals-riskyserviceprincipal-id description: REST surface for identityProtection-riskyServicePrincipals-riskyServicePrincipal-id. operations: - method: GET name: identityprotectiongetriskyserviceprincipals description: Microsoft Graph Get riskyServicePrincipal call: identityprotection-identityprotection-riskyserviceprincipal.identityprotectiongetriskyserviceprincipals with: $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: PATCH name: identityprotectionupdateriskyserviceprincipals description: Microsoft Graph Update the navigation property riskyServicePrincipals in identityProtection call: identityprotection-identityprotection-riskyserviceprincipal.identityprotectionupdateriskyserviceprincipals with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: identityprotectiondeleteriskyserviceprincipals description: Microsoft Graph Delete navigation property riskyServicePrincipals for identityProtection call: identityprotection-identityprotection-riskyserviceprincipal.identityprotectiondeleteriskyserviceprincipals with: If-Match: rest.If-Match outputParameters: - type: object mapping: $. - path: /v1/identityprotection/riskyserviceprincipals/{riskyserviceprincipal-id}/history name: identityprotection-riskyserviceprincipals-riskyserviceprincipal-id-history description: REST surface for identityProtection-riskyServicePrincipals-riskyServicePrincipal-id-history. operations: - method: GET name: identityprotectionriskyserviceprincipalslisthistory description: Microsoft Graph List history (risk history of riskyServicePrincipal) call: identityprotection-identityprotection-riskyserviceprincipal.identityprotectionriskyserviceprincipalslisthistory with: $orderby: rest.$orderby $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: POST name: identityprotectionriskyserviceprincipalscreatehistory description: Microsoft Graph Create new navigation property to history for identityProtection call: identityprotection-identityprotection-riskyserviceprincipal.identityprotectionriskyserviceprincipalscreatehistory with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/identityprotection/riskyserviceprincipals/{riskyserviceprincipal-id}/history/count name: identityprotection-riskyserviceprincipals-riskyserviceprincipal-id-history-coun description: REST surface for identityProtection-riskyServicePrincipals-riskyServicePrincipal-id-history-$coun. operations: - method: GET name: identityprotectionriskyserviceprincipalshistorygetcount818f description: Microsoft Graph Get the number of the resource call: identityprotection-identityprotection-riskyserviceprincipal.identityprotectionriskyserviceprincipalshistorygetcount818f outputParameters: - type: object mapping: $. - path: /v1/identityprotection/riskyserviceprincipals/{riskyserviceprincipal-id}/history/{riskyserviceprincipalhistoryitem-id} name: identityprotection-riskyserviceprincipals-riskyserviceprincipal-id-history-risky description: REST surface for identityProtection-riskyServicePrincipals-riskyServicePrincipal-id-history-risky. operations: - method: GET name: identityprotectionriskyserviceprincipalsgethistory description: Microsoft Graph Get history from identityProtection call: identityprotection-identityprotection-riskyserviceprincipal.identityprotectionriskyserviceprincipalsgethistory with: $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: PATCH name: identityprotectionriskyserviceprincipalsupdatehistory description: Microsoft Graph Update the navigation property history in identityProtection call: identityprotection-identityprotection-riskyserviceprincipal.identityprotectionriskyserviceprincipalsupdatehistory with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: identityprotectionriskyserviceprincipalsdeletehistory description: Microsoft Graph Delete navigation property history for identityProtection call: identityprotection-identityprotection-riskyserviceprincipal.identityprotectionriskyserviceprincipalsdeletehistory with: If-Match: rest.If-Match outputParameters: - type: object mapping: $. - type: mcp namespace: identityprotection-identityprotection-riskyserviceprincipal-mcp port: 9090 transport: http description: MCP adapter for Microsoft Graph Identityprotection — identityProtection.riskyServicePrincipal. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-graph-list-riskyserviceprincipals description: Microsoft Graph List riskyServicePrincipals hints: readOnly: true destructive: false idempotent: true call: identityprotection-identityprotection-riskyserviceprincipal.identityprotectionlistriskyserviceprincipals 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 riskyServicePrincipals for identityProtection hints: readOnly: false destructive: false idempotent: false call: identityprotection-identityprotection-riskyserviceprincipal.identityprotectioncreateriskyserviceprincipals 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: identityprotection-identityprotection-riskyserviceprincipal.identityprotectionriskyserviceprincipalsgetcountd335 outputParameters: - type: object mapping: $. - name: microsoft-graph-invoke-action-confirmcompromised description: Microsoft Graph Invoke action confirmCompromised hints: readOnly: false destructive: false idempotent: false call: identityprotection-identityprotection-riskyserviceprincipal.identityprotectionriskyserviceprincipalsconfirmcompromised with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-graph-invoke-action-dismiss description: Microsoft Graph Invoke action dismiss hints: readOnly: false destructive: false idempotent: false call: identityprotection-identityprotection-riskyserviceprincipal.identityprotectionriskyserviceprincipalsdismiss with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-graph-get-riskyserviceprincipal description: Microsoft Graph Get riskyServicePrincipal hints: readOnly: true destructive: false idempotent: true call: identityprotection-identityprotection-riskyserviceprincipal.identityprotectiongetriskyserviceprincipals with: $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-update-navigation-property description: Microsoft Graph Update the navigation property riskyServicePrincipals in identityProtection hints: readOnly: false destructive: false idempotent: true call: identityprotection-identityprotection-riskyserviceprincipal.identityprotectionupdateriskyserviceprincipals with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-graph-delete-navigation-property description: Microsoft Graph Delete navigation property riskyServicePrincipals for identityProtection hints: readOnly: false destructive: true idempotent: true call: identityprotection-identityprotection-riskyserviceprincipal.identityprotectiondeleteriskyserviceprincipals with: If-Match: tools.If-Match outputParameters: - type: object mapping: $. - name: microsoft-graph-list-history-risk description: Microsoft Graph List history (risk history of riskyServicePrincipal) hints: readOnly: true destructive: false idempotent: true call: identityprotection-identityprotection-riskyserviceprincipal.identityprotectionriskyserviceprincipalslisthistory with: $orderby: tools.$orderby $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-create-new-navigation-2 description: Microsoft Graph Create new navigation property to history for identityProtection hints: readOnly: false destructive: false idempotent: false call: identityprotection-identityprotection-riskyserviceprincipal.identityprotectionriskyserviceprincipalscreatehistory 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: identityprotection-identityprotection-riskyserviceprincipal.identityprotectionriskyserviceprincipalshistorygetcount818f outputParameters: - type: object mapping: $. - name: microsoft-graph-get-history-identityprotection description: Microsoft Graph Get history from identityProtection hints: readOnly: true destructive: false idempotent: true call: identityprotection-identityprotection-riskyserviceprincipal.identityprotectionriskyserviceprincipalsgethistory with: $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-update-navigation-property-2 description: Microsoft Graph Update the navigation property history in identityProtection hints: readOnly: false destructive: false idempotent: true call: identityprotection-identityprotection-riskyserviceprincipal.identityprotectionriskyserviceprincipalsupdatehistory with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-graph-delete-navigation-property-2 description: Microsoft Graph Delete navigation property history for identityProtection hints: readOnly: false destructive: true idempotent: true call: identityprotection-identityprotection-riskyserviceprincipal.identityprotectionriskyserviceprincipalsdeletehistory with: If-Match: tools.If-Match outputParameters: - type: object mapping: $.