Skip to content

AI-3019 - Explore the Azure AI Extension - Bicep Deployment Issue #43

Open

Description

@SkillableKA

AI-3019 - Lab 01 (CSS-r): Explore the Azure AI Extension
Task: Deploy resources into your Azure subscription
Step 7: Finally, use the Azure CLI to execute a Bicep deployment script to provision Azure resources in your resource group:

az deployment group create --resource-group $RG_NAME --template-file "mslearn-postgresql/Allfiles/Labs/Shared/deploy.bicep" --parameters restore=false adminLogin=pgAdmin adminLoginPassword=$ADMIN_PASSWORD

When running this code, it fails with "CustomDomainInUse". I have tried this with multiple sets of credentials from the same cloud sub pool, and found no existing artifacts in any of the subscriptions that should cause this.

Image

Activity

  1. self-assigned this
    on Sep 2, 2026
  2. ampanlaque commented on Sep 7, 2026

    @ampanlaque

    I'm also having problem in the step 7: after running the command, I got the following error.

    Image
  3. Skillable-MelieKrichko commented on Sep 11, 2026

    @Skillable-MelieKrichko

    I'm receiving the same error after running the deployment command in Labs 1-7.

    Affected Labs:
    Lab 1 (12-explore-azure-ai-extension.md)
    Lab 2 (13-generate-vector-embeddings-azure-openai.md)
    Lab 3 (14-create-search-function-recommendation-system.md)
    Lab 4 (15-use-azure-ai-services-azure-database-postgresql.md)
    Lab 5 (16-perform-inference-azure-machine-learning.md)
    Lab 6 (17-build-rag-application-postgresql-python.md)
    Lab 7 (18-implement-graph-rag.md)

    After running the deployment command, the following error is returned:

    Image

    I also attempted to create the AI Language Resource before running the deployment; however, the same deployment error still occurred.

    Additional Observation:

    While investigating the deployment failure, I observed that manually creating an AI Language Resource fails with the following validation error:

    CanNotCreateMultipleFreeAccounts

    At this time, it is unclear whether this validation error is related to the deployment failure because the deployment error occurs even when the AI Language Resource creation step is skipped.

    Validation Error:
    Ex: Create an AI Language Resource, Step 11

    Image Image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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