naftiko: 1.0.0-alpha2 info: label: Microsoft Graph Serviceprincipals — servicePrincipals.appManagementPolicy description: 'Microsoft Graph Serviceprincipals — servicePrincipals.appManagementPolicy. 3 operations. Lead operation: Microsoft Graph Get appManagementPolicies from servicePrincipals. Self-contained Naftiko capability covering one Microsoft Graph business surface.' tags: - Microsoft Graph - servicePrincipals.appManagementPolicy 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-appmanagementpolicy baseUri: '' description: Microsoft Graph Serviceprincipals — servicePrincipals.appManagementPolicy business capability. Self-contained, no shared references. resources: - name: servicePrincipals-servicePrincipal-id-appManagementPolicies path: /servicePrincipals/{servicePrincipal-id}/appManagementPolicies operations: - name: serviceprincipalslistappmanagementpolicies method: GET description: Microsoft Graph Get appManagementPolicies 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: servicePrincipals-servicePrincipal-id-appManagementPolicies-$count path: /servicePrincipals/{servicePrincipal-id}/appManagementPolicies/$count operations: - name: serviceprincipalsappmanagementpoliciesgetcount5cee method: GET description: Microsoft Graph Get the number of the resource outputRawFormat: json outputParameters: - name: result type: object value: $. - name: servicePrincipals-servicePrincipal-id-appManagementPolicies-appManagementPolicy- path: /servicePrincipals/{servicePrincipal-id}/appManagementPolicies/{appManagementPolicy-id} operations: - name: serviceprincipalsgetappmanagementpolicies method: GET description: Microsoft Graph Get appManagementPolicies 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 exposes: - type: rest namespace: serviceprincipals-serviceprincipals-appmanagementpolicy-rest port: 8080 description: REST adapter for Microsoft Graph Serviceprincipals — servicePrincipals.appManagementPolicy. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/serviceprincipals/{serviceprincipal-id}/appmanagementpolicies name: serviceprincipals-serviceprincipal-id-appmanagementpolicies description: REST surface for servicePrincipals-servicePrincipal-id-appManagementPolicies. operations: - method: GET name: serviceprincipalslistappmanagementpolicies description: Microsoft Graph Get appManagementPolicies from servicePrincipals call: serviceprincipals-serviceprincipals-appmanagementpolicy.serviceprincipalslistappmanagementpolicies with: $orderby: rest.$orderby $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - path: /v1/serviceprincipals/{serviceprincipal-id}/appmanagementpolicies/count name: serviceprincipals-serviceprincipal-id-appmanagementpolicies-count description: REST surface for servicePrincipals-servicePrincipal-id-appManagementPolicies-$count. operations: - method: GET name: serviceprincipalsappmanagementpoliciesgetcount5cee description: Microsoft Graph Get the number of the resource call: serviceprincipals-serviceprincipals-appmanagementpolicy.serviceprincipalsappmanagementpoliciesgetcount5cee outputParameters: - type: object mapping: $. - path: /v1/serviceprincipals/{serviceprincipal-id}/appmanagementpolicies/{appmanagementpolicy-id} name: serviceprincipals-serviceprincipal-id-appmanagementpolicies-appmanagementpolicy description: REST surface for servicePrincipals-servicePrincipal-id-appManagementPolicies-appManagementPolicy-. operations: - method: GET name: serviceprincipalsgetappmanagementpolicies description: Microsoft Graph Get appManagementPolicies from servicePrincipals call: serviceprincipals-serviceprincipals-appmanagementpolicy.serviceprincipalsgetappmanagementpolicies with: $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - type: mcp namespace: serviceprincipals-serviceprincipals-appmanagementpolicy-mcp port: 9090 transport: http description: MCP adapter for Microsoft Graph Serviceprincipals — servicePrincipals.appManagementPolicy. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-graph-get-appmanagementpolicies-serviceprincipals description: Microsoft Graph Get appManagementPolicies from servicePrincipals hints: readOnly: true destructive: false idempotent: true call: serviceprincipals-serviceprincipals-appmanagementpolicy.serviceprincipalslistappmanagementpolicies with: $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: serviceprincipals-serviceprincipals-appmanagementpolicy.serviceprincipalsappmanagementpoliciesgetcount5cee outputParameters: - type: object mapping: $. - name: microsoft-graph-get-appmanagementpolicies-serviceprincipals-2 description: Microsoft Graph Get appManagementPolicies from servicePrincipals hints: readOnly: true destructive: false idempotent: true call: serviceprincipals-serviceprincipals-appmanagementpolicy.serviceprincipalsgetappmanagementpolicies with: $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $.