naftiko: 1.0.0-alpha2 info: label: Microsoft Azure ExternalIdentities — CIAMTenants description: 'Microsoft Azure ExternalIdentities — CIAMTenants. 7 operations. Lead operation: Post Subscriptions Subscriptionid Providers Microsoft Azureactivedirectory Checknameavailability. Self-contained Naftiko capability covering one Microsoft Azure business surface.' tags: - Microsoft Azure - CIAMTenants created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MICROSOFT_AZURE_API_KEY: MICROSOFT_AZURE_API_KEY capability: consumes: - type: http namespace: externalidentities-ciamtenants baseUri: https://management.azure.com description: Microsoft Azure ExternalIdentities — CIAMTenants business capability. Self-contained, no shared references. resources: - name: subscriptions-subscriptionId-providers-Microsoft.AzureActiveDirectory-checkNameA path: /subscriptions/{subscriptionId}/providers/Microsoft.AzureActiveDirectory/checkNameAvailability operations: - name: microsoftazurechecknameavailability method: POST description: Post Subscriptions Subscriptionid Providers Microsoft Azureactivedirectory Checknameavailability outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: checkNameAvailabilityRequestBody in: body type: string - name: subscriptions-subscriptionId-providers-Microsoft.AzureActiveDirectory-ciamDirect path: /subscriptions/{subscriptionId}/providers/Microsoft.AzureActiveDirectory/ciamDirectories operations: - name: microsoftazureciamtenantslistbysubscription method: GET description: Get Subscriptions Subscriptionid Providers Microsoft Azureactivedirectory Ciamdirectories outputRawFormat: json outputParameters: - name: result type: object value: $. - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureActiveDirectory/ciamDirectories operations: - name: microsoftazureciamtenantslistbyresourcegroup method: GET description: Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Azureactivedirectory Ciamdirectories outputRawFormat: json outputParameters: - name: result type: object value: $. - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureActiveDirectory/ciamDirectories/{resourceName} operations: - name: microsoftazureciamtenantsget method: GET description: Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Azureactivedirectory Ciamdirectories Resourcename outputRawFormat: json outputParameters: - name: result type: object value: $. - name: microsoftazureciamtenantscreate method: PUT description: Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Azureactivedirectory Ciamdirectories Resourcename outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: createCIAMTenantRequestBody in: body type: string description: Request body to create an Azure AD for customers tenant required: true - name: microsoftazureciamtenantsupdate method: PATCH description: Patch Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Azureactivedirectory Ciamdirectories Resourcename outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: updateCIAMTenantRequestBody in: body type: string description: Request body to update Azure AD for customers tenant resource. - name: microsoftazureciamtenantsdelete method: DELETE description: Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Azureactivedirectory Ciamdirectories Resourcename outputRawFormat: json outputParameters: - name: result type: object value: $. exposes: - type: rest namespace: externalidentities-ciamtenants-rest port: 8080 description: REST adapter for Microsoft Azure ExternalIdentities — CIAMTenants. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/subscriptions/{subscriptionid}/providers/microsoft-azureactivedirectory/checknameavailability name: subscriptions-subscriptionid-providers-microsoft-azureactivedirectory-checknamea description: REST surface for subscriptions-subscriptionId-providers-Microsoft.AzureActiveDirectory-checkNameA. operations: - method: POST name: microsoftazurechecknameavailability description: Post Subscriptions Subscriptionid Providers Microsoft Azureactivedirectory Checknameavailability call: externalidentities-ciamtenants.microsoftazurechecknameavailability with: checkNameAvailabilityRequestBody: rest.checkNameAvailabilityRequestBody outputParameters: - type: object mapping: $. - path: /v1/subscriptions/{subscriptionid}/providers/microsoft-azureactivedirectory/ciamdirectories name: subscriptions-subscriptionid-providers-microsoft-azureactivedirectory-ciamdirect description: REST surface for subscriptions-subscriptionId-providers-Microsoft.AzureActiveDirectory-ciamDirect. operations: - method: GET name: microsoftazureciamtenantslistbysubscription description: Get Subscriptions Subscriptionid Providers Microsoft Azureactivedirectory Ciamdirectories call: externalidentities-ciamtenants.microsoftazureciamtenantslistbysubscription outputParameters: - type: object mapping: $. - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-azureactivedirectory/ciamdirectories name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof. operations: - method: GET name: microsoftazureciamtenantslistbyresourcegroup description: Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Azureactivedirectory Ciamdirectories call: externalidentities-ciamtenants.microsoftazureciamtenantslistbyresourcegroup outputParameters: - type: object mapping: $. - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-azureactivedirectory/ciamdirectories/{resourcename} name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof. operations: - method: GET name: microsoftazureciamtenantsget description: Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Azureactivedirectory Ciamdirectories Resourcename call: externalidentities-ciamtenants.microsoftazureciamtenantsget outputParameters: - type: object mapping: $. - method: PUT name: microsoftazureciamtenantscreate description: Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Azureactivedirectory Ciamdirectories Resourcename call: externalidentities-ciamtenants.microsoftazureciamtenantscreate with: createCIAMTenantRequestBody: rest.createCIAMTenantRequestBody outputParameters: - type: object mapping: $. - method: PATCH name: microsoftazureciamtenantsupdate description: Patch Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Azureactivedirectory Ciamdirectories Resourcename call: externalidentities-ciamtenants.microsoftazureciamtenantsupdate with: updateCIAMTenantRequestBody: rest.updateCIAMTenantRequestBody outputParameters: - type: object mapping: $. - method: DELETE name: microsoftazureciamtenantsdelete description: Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Azureactivedirectory Ciamdirectories Resourcename call: externalidentities-ciamtenants.microsoftazureciamtenantsdelete outputParameters: - type: object mapping: $. - type: mcp namespace: externalidentities-ciamtenants-mcp port: 9090 transport: http description: MCP adapter for Microsoft Azure ExternalIdentities — CIAMTenants. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: post-subscriptions-subscriptionid-providers-microsoft description: Post Subscriptions Subscriptionid Providers Microsoft Azureactivedirectory Checknameavailability hints: readOnly: false destructive: false idempotent: false call: externalidentities-ciamtenants.microsoftazurechecknameavailability with: checkNameAvailabilityRequestBody: tools.checkNameAvailabilityRequestBody outputParameters: - type: object mapping: $. - name: get-subscriptions-subscriptionid-providers-microsoft description: Get Subscriptions Subscriptionid Providers Microsoft Azureactivedirectory Ciamdirectories hints: readOnly: true destructive: false idempotent: true call: externalidentities-ciamtenants.microsoftazureciamtenantslistbysubscription outputParameters: - type: object mapping: $. - name: get-subscriptions-subscriptionid-resourcegroups-resourcegroupname description: Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Azureactivedirectory Ciamdirectories hints: readOnly: true destructive: false idempotent: true call: externalidentities-ciamtenants.microsoftazureciamtenantslistbyresourcegroup outputParameters: - type: object mapping: $. - name: get-subscriptions-subscriptionid-resourcegroups-resourcegroupname-2 description: Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Azureactivedirectory Ciamdirectories Resourcename hints: readOnly: true destructive: false idempotent: true call: externalidentities-ciamtenants.microsoftazureciamtenantsget outputParameters: - type: object mapping: $. - name: put-subscriptions-subscriptionid-resourcegroups-resourcegroupname description: Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Azureactivedirectory Ciamdirectories Resourcename hints: readOnly: false destructive: false idempotent: true call: externalidentities-ciamtenants.microsoftazureciamtenantscreate with: createCIAMTenantRequestBody: tools.createCIAMTenantRequestBody outputParameters: - type: object mapping: $. - name: patch-subscriptions-subscriptionid-resourcegroups-resourcegroupname description: Patch Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Azureactivedirectory Ciamdirectories Resourcename hints: readOnly: false destructive: false idempotent: true call: externalidentities-ciamtenants.microsoftazureciamtenantsupdate with: updateCIAMTenantRequestBody: tools.updateCIAMTenantRequestBody outputParameters: - type: object mapping: $. - name: delete-subscriptions-subscriptionid-resourcegroups-resourcegroupname description: Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Azureactivedirectory Ciamdirectories Resourcename hints: readOnly: false destructive: true idempotent: true call: externalidentities-ciamtenants.microsoftazureciamtenantsdelete outputParameters: - type: object mapping: $.