Skip to content

Commit 00eb701

Browse files
committed
Fix role assignment command
1 parent 83ab293 commit 00eb701

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/lab-services/how-to-attach-detach-shared-image-gallery.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ Follow these steps to grant permissions to the Azure Lab Service service princip
111111
1. Assign the Owner role to service principal on the compute gallery:
112112
113113
```azurecli-interactive
114-
az role assignment create --assignee-object-id <service-principal-object-id> --role Reader --scope <gallery-id>
114+
az role assignment create --assignee-object-id <service-principal-object-id> --role Owner --scope <gallery-id>
115115
```
116116
117117
Replace the text placeholders *`<service-principal-object-id>`* and *`<gallery-id>`* with the outcomes of the previous commands.

0 commit comments

Comments
 (0)