Skip to content

07-deployments-azure-bicep-templates: Pre‑existing Resource Group in Skillable Causes Pipeline Failure #36

@massimobonanni

Description

@massimobonanni

Summary

During the AZ‑400 lab “07‑deployments‑azure‑bicep‑templates.md” (in Skillable environment), the lab subscription has an resource group called AZ400-RG1 in the North Central US region.
This conflicts with the lab instructions and causes the deployment pipeline to fail.


🔍 Problem Details

1. Resource Group Already Exists

The Skillable environment automatically creates:

  • Subscription
  • Resource group: AZ400-RG1
  • Region: North Central US

However, the lab pipeline (eshoponweb-cd-windows-cm.yml) includes:

az group create ...

This results in:

  • Error: Resource group already exists

If the student removes the az group create step, the pipeline proceeds but fails later because…


2. VM Size Not Available in North Central US

The VM size required by the lab is not available in the North Central US region.

This leads to:

  • Error: The requested VM size is not available in this region

When the resource group is deleted manually and recreated in a supported region, the lab works correctly.


✔️ Confirmed Behavior

  • If the pre‑created resource group is removed, the pipeline runs successfully.
  • The service connection currently scopes to the resource group, but if the RG is not pre‑created, the scope must be the entire subscription (as expected in the lab instructions).

📌 Expected Behavior

Skillable should not pre‑create the resource group for this lab.
The lab instructions assume the pipeline will create the resource group in a region that supports the required VM size.

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