MicrosoftLearning / AZ400-DesigningandImplementingMicrosoftDevOpsSolutions

AZ-400 Course Repository for Labs and Demos.
https://microsoftlearning.github.io/AZ400-DesigningandImplementingMicrosoftDevOpsSolutions/
MIT License
540 stars 1k forks source link

M03-LAB06: Deploying docker containers to Azure App Service #530

Closed asian-delirium closed 9 months ago

asian-delirium commented 10 months ago

Contact Details

ziyu1.wang@zeiss.com

What should we change?

In the lab instruction for Exercise 3 / Task 1 / Step 5, the following az command is wrong / outdated:

az role assignment create --assignee $spId --role $roleName --resource-group "rg-az400-container-NAME"

Specifically, --resource-group is not a recognized param and the required param --scope is missing, see here.

The correct command would look something like:

az role assignment create --assignee $spId --role $roleName --scope "/subscriptions/<SUBSCRIPTION ID>/resourceGroups/rg-az400-container-<NAME>"

Lab

Lab 06 Deploying Docker Containers to Azure App Service web apps

Relevant screenshots

paste here 😉

petender commented 9 months ago

fixed with PR #532 thanks !

petender commented 9 months ago

OK to close