naftiko: 1.0.0-alpha2 info: label: Microsoft Entra Microsoft Graph Identity API — Users description: 'Microsoft Entra Microsoft Graph Identity API — Users. 6 operations. Lead operation: Microsoft Entra List Users. Self-contained Naftiko capability covering one Microsoft Entra business surface.' tags: - Microsoft Entra - Users created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MICROSOFT_ENTRA_API_KEY: MICROSOFT_ENTRA_API_KEY capability: consumes: - type: http namespace: graph-identity-users baseUri: https://graph.microsoft.com/v1.0 description: Microsoft Entra Microsoft Graph Identity API — Users business capability. Self-contained, no shared references. resources: - name: users path: /users operations: - name: listusers method: GET description: Microsoft Entra List Users outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createuser method: POST description: Microsoft Entra Create User outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: users-user-id path: /users/{user-id} operations: - name: getuser method: GET description: Microsoft Entra Get User outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updateuser method: PATCH description: Microsoft Entra Update User outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deleteuser method: DELETE description: Microsoft Entra Delete User outputRawFormat: json outputParameters: - name: result type: object value: $. - name: users-user-id-memberOf path: /users/{user-id}/memberOf operations: - name: listusermemberof method: GET description: Microsoft Entra List User Group Memberships outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.MICROSOFT_ENTRA_API_KEY}}' exposes: - type: rest namespace: graph-identity-users-rest port: 8080 description: REST adapter for Microsoft Entra Microsoft Graph Identity API — Users. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/users name: users description: REST surface for users. operations: - method: GET name: listusers description: Microsoft Entra List Users call: graph-identity-users.listusers outputParameters: - type: object mapping: $. - method: POST name: createuser description: Microsoft Entra Create User call: graph-identity-users.createuser with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/users/{user-id} name: users-user-id description: REST surface for users-user-id. operations: - method: GET name: getuser description: Microsoft Entra Get User call: graph-identity-users.getuser outputParameters: - type: object mapping: $. - method: PATCH name: updateuser description: Microsoft Entra Update User call: graph-identity-users.updateuser with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteuser description: Microsoft Entra Delete User call: graph-identity-users.deleteuser outputParameters: - type: object mapping: $. - path: /v1/users/{user-id}/memberof name: users-user-id-memberof description: REST surface for users-user-id-memberOf. operations: - method: GET name: listusermemberof description: Microsoft Entra List User Group Memberships call: graph-identity-users.listusermemberof outputParameters: - type: object mapping: $. - type: mcp namespace: graph-identity-users-mcp port: 9090 transport: http description: MCP adapter for Microsoft Entra Microsoft Graph Identity API — Users. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-entra-list-users description: Microsoft Entra List Users hints: readOnly: true destructive: false idempotent: true call: graph-identity-users.listusers outputParameters: - type: object mapping: $. - name: microsoft-entra-create-user description: Microsoft Entra Create User hints: readOnly: false destructive: false idempotent: false call: graph-identity-users.createuser with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-entra-get-user description: Microsoft Entra Get User hints: readOnly: true destructive: false idempotent: true call: graph-identity-users.getuser outputParameters: - type: object mapping: $. - name: microsoft-entra-update-user description: Microsoft Entra Update User hints: readOnly: false destructive: false idempotent: true call: graph-identity-users.updateuser with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-entra-delete-user description: Microsoft Entra Delete User hints: readOnly: false destructive: true idempotent: true call: graph-identity-users.deleteuser outputParameters: - type: object mapping: $. - name: microsoft-entra-list-user-group description: Microsoft Entra List User Group Memberships hints: readOnly: true destructive: false idempotent: true call: graph-identity-users.listusermemberof outputParameters: - type: object mapping: $.