Azure / Azure/azure-quickstart-templates

Azure Hands-on-Lab's user has not enough permissions to perform necessary actions described in the lab

Open
#4,208 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Bicep
Stars
14.9k
Forks
16.2k
Avg merge
6d 21h
Merged PRs (30d)
6

Description

I'm using [this Azure hand-on-lab
](https://www.microsoft.com/handsonlabs/SelfPacedLabs#keywords=Protect%20your%20cloud%20resource%20with%20Azure%20Backup%20and%20Site%20Recovery&page=1&sort=Newest)
I can successfully login to the `Azure Portal` with the username/password provided by the lab. But when I perform `step 7 of task 1` to create `Recovery Services vault` I get the following permission error. Please help so I can continue to complete the lab that is a part of a Microsoft Azure's course that I'm working on:

**ERROR**:
> The client 'user874952@cloudplatimmersionlabs.onmicrosoft.com' with object id '7fbfce2c-0bea-4489-9dfd-d36cc17b95fe' does not have authorization to perform action 'microsoft.resources/deployments/validate/action' over scope '/subscriptions/fe3a908e-3301-433f-b0b7-514e6dbc0c7d/resourcegroups/hol_shared__prd_rg1/providers/microsoft.resources/deployments/Microsoft.RecoveryServices'. (Code: AuthorizationFailed)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the linked Azure hands-on lab, especially step 7 of task 1, and reproduce the AuthorizationFailed error for the Recovery Services vault deployment. Check the reported identity, subscription, resource-group scope, and microsoft.resources/deployments/validate/action permission to determine whether the failure belongs to the lab configuration or the template. Done means the lab user can complete that step successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
authorization, cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.