Skip to content

Commit 3e1dd49

Browse files
authored
Correct permissions needed to access the image
Windows 365 is not used anymore to access the customer's images. Devbox service delegates the DevCenter MSI to Windows 365, so it can use it to access the image (instead of using the Windows 365 application). Updated the document accordingly.
1 parent edd846c commit 3e1dd49

File tree

1 file changed

+6
-24
lines changed

1 file changed

+6
-24
lines changed

articles/dev-box/how-to-configure-azure-compute-gallery.md

Lines changed: 6 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -91,11 +91,11 @@ When you create a generalized VM to capture to an image, the following issues ca
9191

9292
1. Run `defrag` and `chkdsk` during image creation, then disable the `chkdisk` and `defrag` scheduled tasks.
9393

94-
## Provide permissions for services to access a gallery
94+
## Configure permissions to access a gallery
9595

96-
When you use an Azure Compute Gallery image to create a dev box definition, the Windows 365 service validates the image to ensure that it meets the requirements to be provisioned for a dev box. Microsoft Dev Box replicates the image to the regions specified in the attached network connections, so the images are present in the region required for dev box creation.
96+
When you use an Azure Compute Gallery image to create a dev box definition, Microsoft Dev Box validates the image to ensure that it meets the requirements to be provisioned for a dev box. It also replicates the image to the regions specified in the attached network connections, so the images are present in the region required for dev box creation.
9797

98-
To allow the services to perform these actions, you must provide permissions to your gallery as follows.
98+
To allow the service to perform these actions, you must provide permissions to your gallery as follows.
9999

100100
### Add a user-assigned identity to the dev center
101101

@@ -118,27 +118,9 @@ To allow the services to perform these actions, you must provide permissions to
118118
Microsoft Dev Box behaves differently depending how you attach your gallery:
119119

120120
- When you use the Azure portal to attach the gallery to your dev center, the Dev Box service creates the necessary role assignments automatically after you attach the gallery.
121-
- When you use the Azure CLI to attach the gallery to your dev center, you must manually create the Windows 365 service principal and the dev center's managed identity role assignments before you attach the gallery.
121+
- When you use the Azure CLI to attach the gallery to your dev center, you must manually create the dev center's managed identity role assignments before you attach the gallery.
122122

123-
Use the following steps to manually assign each role.
124-
125-
#### Windows 365 service principal
126-
127-
1. Sign in to the [Azure portal](https://portal.azure.com).
128-
129-
1. In the search box, enter **Azure Compute Gallery**. In the list of results, select the gallery that you want to attach to the dev center.
130-
131-
1. On the left menu, select **Access Control (IAM)**.
132-
133-
1. Select **Add** > **Add role assignment**.
134-
135-
1. Assign the following role. For detailed steps, see [Assign Azure roles using the Azure portal](../role-based-access-control/role-assignments-portal.yml).
136-
137-
| Setting | Value |
138-
| --- | --- |
139-
| **Role** | Select **Reader**. |
140-
| **Assign access to** | Select **User, group, or service principal**. |
141-
| **Members** | Search for and select **Windows 365**. |
123+
Use the following steps to manually assign the role.
142124

143125
#### Managed identity for the dev center
144126

@@ -156,7 +138,7 @@ Use the following steps to manually assign each role.
156138
| **Assign access to** | Select **Managed Identity**. |
157139
| **Members** | Search for and select the user-assigned managed identity that you created when you [added a user-assigned identity to the dev center](#add-a-user-assigned-identity-to-the-dev-center). |
158140

159-
You can use the same managed identity in multiple dev centers and compute galleries. Any dev center with the managed identity added has the necessary permissions to the images in the gallery that has the Owner role assignment added.
141+
You can use the same managed identity in multiple dev centers and compute galleries. Any dev center with the managed identity added has the necessary permissions to the images in the gallery that has the Contributor role assignment added.
160142

161143
## Attach a gallery to a dev center
162144

0 commit comments

Comments
 (0)