Skip to content
This repository was archived by the owner on Nov 14, 2025. It is now read-only.
This repository was archived by the owner on Nov 14, 2025. It is now read-only.

M06-LAB15: Error Storage account, Resource group not found, error in main.bicep & typos #411

@sattract

Description

@sattract

Contact Details

skastwal701@gmail.com

What happened?

Exercise : 01
Task: 03
Step: 05

Description of issue:
After Step 5, there is an additional step required to change the code of securityProfile of main.bicep else cloud shell gives an error.

Repro steps:

  1. After step 5 is done we need to change the bicep code under securityProfile as securityProfile: ((securityType == 'TrustedLaunch') ? securityProfileJson : null)

  2. By default under securityProfileJson the value is set as (Json('null'))

  3. So the solution is found under https://learn.microsoft.com/en-gb/azure/azure-resource-manager/bicep/linter-rule-simplify-json-null

  4. Also visual studio code was showing an error for the json('null')
    image

json null file

Exercise : 01
Task: 03
Step: 06

Description of issue:
Step 6 is indicated as step 1 so typo error.

Repro steps:
Its a typo error that step 6 of saving the file is visible as step 1
image

Exercise: 01
Task: 04
Step: 00

Description of issue:
Task 04 is written as Task 05 so its a typo

Repro steps:
Task 04 is shown as Task 05, the task is next after task04.


Exercise : 01
Task: 04
Step: 10

Description of issue:
Last command is showing error as ResourceGroupNotFound
image

Repro steps:

  1. When we run all set of commands then then its showing error and this error is due to the resource group is created with name az400m06l15deployment in the second command.
    i.e. az group create --name az400m06l15deployment --location $LOCATION

  2. When we run last command i.e az deployment group create --name az400m06l15deployment --resource-group az400m06l15-RG --template-file main.bicep the command will try to find resource with name az400m06l15-RG and we have created different resource group with name az400m06l15deployment in above command.

  3. So this gives error of resourcegroupnotfound
    image

Lab

Lab 14 Azure deployments using Azure Resource Manager templates

Relevant screenshots

No response

Do you want to help us? 👏

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions