You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/virtual-desktop/start-virtual-machine-connect.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,14 +30,14 @@ The following Remote Desktop clients support the Start VM on Connect feature:
30
30
31
31
## Create a custom role for Start VM on Connect
32
32
33
-
Before you can configure the Start VM on Connect feature, you'll need to assign your VM a custom RBAC (role-based access control) role. This role will let Azure Virtual Desktop manage the VMs in your subscription. You can also use this role to turn on VMs, check their status, and report diagnostic info. If you want to know more about what each role does, take a look at [Azure custom roles](../role-based-access-control/custom-roles.md).
33
+
Before you can configure the Start VM on Connect feature, you'll need to assign a subscription-level custom RBAC (role-based access control) role to the Azure Virtual Desktop service principal . This role will let Azure Virtual Desktop manage the VMs in your subscription. This role grants Azure Virtual Desktop the permissions to turn on VMs, check their status, and report diagnostic info. If you want to know more about Azure custom RBAC roles, take a look at [Azure custom roles](../role-based-access-control/custom-roles.md).
34
34
35
35
>[!NOTE]
36
-
>If your VMs and host pool are in different subscriptions, the RBAC role needs to be assigned to the subscription that the VMs are in.
36
+
>If your VMs and host pool are in different subscriptions, the RBAC role needs to be created in the subscription that the VMs are in.
37
37
38
38
### Use the Azure portal
39
39
40
-
To use the Azure portal to assign a custom role for Start VM on Connect:
40
+
To use the Azure portal to create a custom role for Start VM on Connect:
41
41
42
42
1. Open the Azure portal and go to **Subscriptions**.
43
43
@@ -48,9 +48,9 @@ To use the Azure portal to assign a custom role for Start VM on Connect:
48
48
> [!div class="mx-imgBorder"]
49
49
> 
50
50
51
-
4. Next, name the custom role and add a description. We recommend you name it “start VM on connect.”
51
+
4. Next, name the custom role and add a description. We recommend you name it “Start VM on Connect.”
52
52
53
-
5. On the **Permissions** tab, add one of the two following sets of permissions to the subscription you're assigning the role to:
53
+
5. On the **Permissions** tab, add one of the two following sets of permissions to the role:
54
54
55
55
- Microsoft.Compute/virtualMachines/start/action
56
56
- Microsoft.Compute/virtualMachines/read
@@ -61,20 +61,20 @@ To use the Azure portal to assign a custom role for Start VM on Connect:
61
61
- Microsoft.Compute/virtualMachines/start/action
62
62
- Microsoft.Compute/virtualMachines/*/read
63
63
64
-
6. When you're finished, select **Ok**.
64
+
6. When you're finished, select **Review + create**. It may take a few minutes for the RBAC service to create the custom role.
65
65
66
-
After that, you'll need to assign the role to grant access to Azure Virtual Desktop.
66
+
After that, you'll need to assign the role to the Azure Virtual Desktop service principal.
67
67
68
68
To assign the custom role:
69
69
70
-
1. In the **Access control (IAM) tab**, select **Add role assignments**.
70
+
1. In the **Access control (IAM) tab**, select **Add role assignment**.
71
71
72
-
2.Select the role you just created.
72
+
2.Search for and select the role you just created.
73
73
74
-
3.In the search bar, enter and select **Windows Virtual Desktop**(this will soon be updated to "Azure Virtual Desktop").
74
+
3.On the **Members** tab, enter and select **Windows Virtual Desktop**in the search bar.
75
75
76
76
>[!NOTE]
77
-
>You might see two apps if you have deployed Azure Virtual Desktop (classic). Assign the role to both apps you see.
77
+
>You might see both the Windows Virtual Desktop and Windows Virtual Desktop Azure Resource Manager Provider first party applications appear if you've deployed Azure Virtual Desktop (classic). Assign the role to both apps.
78
78
>
79
79
> [!div class="mx-imgBorder"]
80
80
> 
0 commit comments