Interactive Lab simulation 02 and hands on Lab 02 are different

marouf 140 Reputation points
2025-05-01T21:26:15.9666667+00:00

Hello,

I have a problem with the links here:

https://microsoftlearning.github.io/AZ-104-MicrosoftAzureAdministrator/

In Lab 02a- Manage subscriptions and RBAC - is OK but when I use it with the Demonstration 01: Administer Identity, I feel it's way off.

For instance, as per the demo 01, I cut-paste the subscription ID in the RBAC text file. Then I opened a PS session, where I named my storage and fileshare accounts. I then uploaded the file az104-02a-customRoleDefinition-2.txt (It's a JSON file, but I changed it to txt file to upload it here).

After that, when I type the command to create a custom role,

New-AzRoleDefinition -InputFile $HOME/az104-02a-customrRoleDefinition.json

It's saying "Operation returned an invalid status code 'NotFound"

And hence, I am not able to continue further with the automated demo.

Kindly, please guide me what's the problem because this simply looks too off track compared to the steps and 4 tasks in hands-on (Lab 02a). And as I am preparing for AZ 104, I need to understand how this works practically.

Thank you

best regards

marouf

Community Center Not monitored
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.