Skip to content

capabilityHost error with bicep script #312

@jvaranini

Description

@jvaranini

It looks like creating the resource account 'Microsoft.CognitiveServices/accounts@2025-06-01' created a default capability host, when the bicep script then attempts to create another capabilityHost and gets the following error.

"There is an existing Capability Host with name: ais-XXXX-eastus-05@aml_aiagentservice, provisioning state: Succeeded for workspace: 2f6d1613-555-xxxx-8672-205248a2fx5d/rg-xxx-ai-service-01/ais-XXXX-eastus-05@AML/XXcaphostaccteastus05, cannot create a new Capability Host with name: XXcaphostaccteastus05 for the same ClientId."

Has this worked in testing, so far this has not worked for us at all.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions