Getting Auth error in AZ-104 course bicep lab

~ ➜ az deployment group create --resource-group kk_lab_ --template-file bicep-template/loop-vnet.bicep
{“code”: “AuthorizationFailed”, “message”: “The client ‘kk_lab_user_main-be45089ca9554f39@azurekmlprodkodekloud.onmicrosoft.com’ with object id ‘f8266cd6-bec9-4225-87fe-2f650e2d14eb’ does not have authorization to perform action ‘Microsoft.Resources/deployments/validate/action’ over scope ‘/subscriptions/a2b28c85-1948-4263-90ca-bade2bac4df4/resourcegroups/kk_lab_/providers/Microsoft.Resources/deployments/loop-vnet’ or the scope is invalid. If access was recently granted, please refresh your credentials.”}

can someone please advise?

thanks

Hi,

Please share the lab link, I’ll check it.

thanks, unfortunately I closed the lab. This was in the Azure bicep lab

@raymond.baoly - hi now I am getting “You do not have permission to create resource group” in lab -

https://portal.azure.com/azurekmlprodkodekloud.onmicrosoft.com
kk_lab_user_main-c1c980518a6d48b4@azurekmlprodkodekloud.onmicrosoft.com

for Azure Network Traffic lab with the following instructions

Create an Azure Load Balancer with the following configuration:

  • Resource Group: kml_rg_dev-xxxxx
  • Load Balancer Name: kk-azure-lb
  • Region: East US
  • SKU: Standard
  • Type: Public
  • Tier: Regional

Frontend IP Configuration

  • Name: kk-pub-lb-ip
  • IP Version: IPv4
  • IP Type: IP Address
  • Public IP Address: Create a new one with the following configuration:
    • Name: kk-pub-lb-ip
    • Availability Zone: No Zone
    • Leave all other settings as default.

Backend Pools

  • Name: kk-webserver-pool
  • VNet: kk-persistant-vnet
  • Backend Pool Configuration: NIC
  • IP Configurations: Include webserver-01 and webserver-02

Inbound Rule

Add a load balancing rule with the following configuration:

  • Name: kk-pub-lb-rule
  • IP Version: IPv4
  • Frontend IP Address: kk-pub-lb-ip
  • Backend Pool: kk-webserver-pool
  • Protocol: TCP
  • Port: 80
  • Backend Port: 80
  • Health Probe: Create a new one with the following configuration:
    • Name: kk-lb-webserver-hp
    • Leave all other settings as default.
  • Session Persistence: Client IP

Tags

  • env: production
  • lab-type: kk-azure-cloud

Again in the storage account containers lab

I have the following instructions

Step 2: Create the Azure Storage Account

Use the following details to create the storage account:

  • Subscription: KMLDevSubscription

but I cannot see that subscription.

This has happened multiple times, it cannot be a one-off?

My lab details are

https://portal.azure.com/azurekmlprodkodekloud.onmicrosoft.com
kk_lab_user_main-78f1c2e1728e4810@azurekmlprodkodekloud.onmicrosoft.com

Hi,

I just checked the Lab: Azure Bicep, and it’s working properly. I think you might have used the wrong resource group name.

Please share the lab link and question number, not information to login portal.
For example:
Lab: Azure Bicep, question 8: [Updated] AZ-104: Microsoft Azure Administrator Course | KodeKloud