Skip to content

Commit 872df09

Browse files
Merge pull request #279944 from sandeepraichura/patch-86
Update share-gallery.md
2 parents 136b47f + 012cd79 commit 872df09

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/virtual-machines/share-gallery.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ If you share gallery resources to someone outside of your Azure tenant, they wil
5656

5757
1. On the page for your gallery, in the menu on the left, select **Access control (IAM)**.
5858
1. Under **Add**, select **Add role assignment**. The **Add role assignment** page will open.
59-
1. Under **Role**, select **Reader**.
59+
1. Under **Role**, select **Contributor**.
6060
1. Ensure that the user is selected in the Members tab.For **Assign access to**, keep the default of **User, group, or service principal**.
6161
1. Click **Select** members and choose a user account from the page that opens on the right.
6262
1. If the user is outside of your organization, you'll see the message **This user will be sent an email that enables them to collaborate with Microsoft.** Select the user with the email address and then click **Save**.
@@ -77,7 +77,7 @@ Use the object ID as a scope, along with an email address and [az role assignmen
7777

7878
```azurecli-interactive
7979
az role assignment create \
80-
--role "Reader" \
80+
--role "Contributor" \
8181
--assignee <email address> \
8282
--scope <gallery ID>
8383
```
@@ -94,7 +94,7 @@ $user = Get-AzADUser -StartsWith [email protected]
9494
# Grant access to the user for our gallery
9595
New-AzRoleAssignment `
9696
-ObjectId $user.Id `
97-
-RoleDefinitionName Reader `
97+
-RoleDefinitionName Contributor `
9898
-ResourceName $gallery.Name `
9999
-ResourceType Microsoft.Compute/galleries `
100100
-ResourceGroupName $resourceGroup.ResourceGroupName

0 commit comments

Comments
 (0)