naftiko: 1.0.0-alpha2 info: label: Microsoft Azure ExternalIdentities — B2CTenants description: 'Microsoft Azure ExternalIdentities — B2CTenants. 7 operations. Lead operation: Get Subscriptions Subscriptionid Providers Microsoft Azureactivedirectory B2cdirectories. Self-contained Naftiko capability covering one Microsoft Azure business surface.' tags: - Microsoft Azure - B2CTenants 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-b2ctenants baseUri: https://management.azure.com description: Microsoft Azure ExternalIdentities — B2CTenants business capability. Self-contained, no shared references. resources: - name: subscriptions-subscriptionId-providers-Microsoft.AzureActiveDirectory-b2cDirecto path: /subscriptions/{subscriptionId}/providers/Microsoft.AzureActiveDirectory/b2cDirectories operations: - name: microsoftazureb2ctenantslistbysubscription method: GET description: Get Subscriptions Subscriptionid Providers Microsoft Azureactivedirectory B2cdirectories outputRawFormat: json outputParameters: - name: result type: object value: $. - 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-resourceGroups-resourceGroupName-providers-Microsof path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureActiveDirectory/b2cDirectories operations: - name: microsoftazureb2ctenantslistbyresourcegroup method: GET description: Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Azureactivedirectory B2cdirectories outputRawFormat: json outputParameters: - name: result type: object value: $. - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureActiveDirectory/b2cDirectories/{resourceName} operations: - name: microsoftazureb2ctenantsget method: GET description: Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Azureactivedirectory B2cdirectories Resourcename outputRawFormat: json outputParameters: - name: result type: object value: $. - name: microsoftazureb2ctenantscreate method: PUT description: Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Azureactivedirectory B2cdirectories Resourcename outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: createTenantRequestBody in: body type: string - name: microsoftazureb2ctenantsupdate method: PATCH description: Patch Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Azureactivedirectory B2cdirectories Resourcename outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: updateTenantRequestBody in: body type: string - name: microsoftazureb2ctenantsdelete method: DELETE description: Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Azureactivedirectory B2cdirectories Resourcename outputRawFormat: json outputParameters: - name: result type: object value: $. exposes: - type: rest namespace: externalidentities-b2ctenants-rest port: 8080 description: REST adapter for Microsoft Azure ExternalIdentities — B2CTenants. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/subscriptions/{subscriptionid}/providers/microsoft-azureactivedirectory/b2cdirectories name: subscriptions-subscriptionid-providers-microsoft-azureactivedirectory-b2cdirecto description: REST surface for subscriptions-subscriptionId-providers-Microsoft.AzureActiveDirectory-b2cDirecto. operations: - method: GET name: microsoftazureb2ctenantslistbysubscription description: Get Subscriptions Subscriptionid Providers Microsoft Azureactivedirectory B2cdirectories call: externalidentities-b2ctenants.microsoftazureb2ctenantslistbysubscription outputParameters: - type: object mapping: $. - 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-b2ctenants.microsoftazurechecknameavailability with: checkNameAvailabilityRequestBody: rest.checkNameAvailabilityRequestBody outputParameters: - type: object mapping: $. - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-azureactivedirectory/b2cdirectories name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof. operations: - method: GET name: microsoftazureb2ctenantslistbyresourcegroup description: Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Azureactivedirectory B2cdirectories call: externalidentities-b2ctenants.microsoftazureb2ctenantslistbyresourcegroup outputParameters: - type: object mapping: $. - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-azureactivedirectory/b2cdirectories/{resourcename} name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof. operations: - method: GET name: microsoftazureb2ctenantsget description: Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Azureactivedirectory B2cdirectories Resourcename call: externalidentities-b2ctenants.microsoftazureb2ctenantsget outputParameters: - type: object mapping: $. - method: PUT name: microsoftazureb2ctenantscreate description: Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Azureactivedirectory B2cdirectories Resourcename call: externalidentities-b2ctenants.microsoftazureb2ctenantscreate with: createTenantRequestBody: rest.createTenantRequestBody outputParameters: - type: object mapping: $. - method: PATCH name: microsoftazureb2ctenantsupdate description: Patch Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Azureactivedirectory B2cdirectories Resourcename call: externalidentities-b2ctenants.microsoftazureb2ctenantsupdate with: updateTenantRequestBody: rest.updateTenantRequestBody outputParameters: - type: object mapping: $. - method: DELETE name: microsoftazureb2ctenantsdelete description: Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Azureactivedirectory B2cdirectories Resourcename call: externalidentities-b2ctenants.microsoftazureb2ctenantsdelete outputParameters: - type: object mapping: $. - type: mcp namespace: externalidentities-b2ctenants-mcp port: 9090 transport: http description: MCP adapter for Microsoft Azure ExternalIdentities — B2CTenants. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-subscriptions-subscriptionid-providers-microsoft description: Get Subscriptions Subscriptionid Providers Microsoft Azureactivedirectory B2cdirectories hints: readOnly: true destructive: false idempotent: true call: externalidentities-b2ctenants.microsoftazureb2ctenantslistbysubscription outputParameters: - type: object mapping: $. - name: post-subscriptions-subscriptionid-providers-microsoft description: Post Subscriptions Subscriptionid Providers Microsoft Azureactivedirectory Checknameavailability hints: readOnly: false destructive: false idempotent: false call: externalidentities-b2ctenants.microsoftazurechecknameavailability with: checkNameAvailabilityRequestBody: tools.checkNameAvailabilityRequestBody outputParameters: - type: object mapping: $. - name: get-subscriptions-subscriptionid-resourcegroups-resourcegroupname description: Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Azureactivedirectory B2cdirectories hints: readOnly: true destructive: false idempotent: true call: externalidentities-b2ctenants.microsoftazureb2ctenantslistbyresourcegroup outputParameters: - type: object mapping: $. - name: get-subscriptions-subscriptionid-resourcegroups-resourcegroupname-2 description: Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Azureactivedirectory B2cdirectories Resourcename hints: readOnly: true destructive: false idempotent: true call: externalidentities-b2ctenants.microsoftazureb2ctenantsget outputParameters: - type: object mapping: $. - name: put-subscriptions-subscriptionid-resourcegroups-resourcegroupname description: Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Azureactivedirectory B2cdirectories Resourcename hints: readOnly: false destructive: false idempotent: true call: externalidentities-b2ctenants.microsoftazureb2ctenantscreate with: createTenantRequestBody: tools.createTenantRequestBody outputParameters: - type: object mapping: $. - name: patch-subscriptions-subscriptionid-resourcegroups-resourcegroupname description: Patch Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Azureactivedirectory B2cdirectories Resourcename hints: readOnly: false destructive: false idempotent: true call: externalidentities-b2ctenants.microsoftazureb2ctenantsupdate with: updateTenantRequestBody: tools.updateTenantRequestBody outputParameters: - type: object mapping: $. - name: delete-subscriptions-subscriptionid-resourcegroups-resourcegroupname description: Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Azureactivedirectory B2cdirectories Resourcename hints: readOnly: false destructive: true idempotent: true call: externalidentities-b2ctenants.microsoftazureb2ctenantsdelete outputParameters: - type: object mapping: $.