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/create-file-share.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: Create an Azure Files file share with a domain controller - Azure
3
3
description: Set up an FSLogix profile container on an Azure file share in an existing Azure Virtual Desktop host pool with your Active Directory domain.
4
4
author: Heidilohr
5
5
ms.topic: how-to
6
-
ms.date: 06/05/2020
6
+
ms.date: 12/08/2021
7
7
ms.author: helohr
8
8
manager: femila
9
9
---
@@ -192,7 +192,7 @@ To configure FSLogix on your session host VM:
192
192
193
193
2. [Download and install FSLogix](/fslogix/install-ht).
194
194
195
-
5. Follow the instructions in [Configure profile container registry settings](/fslogix/configure-profile-container-tutorial#configure-profile-container-registry-settings):
195
+
3. Follow the instructions in [Configure profile container registry settings](/fslogix/configure-profile-container-tutorial#configure-profile-container-registry-settings):
196
196
197
197
- Navigate to **Computer** > **HKEY_LOCAL_MACHINE** > **SOFTWARE** > **FSLogix**.
198
198
@@ -204,7 +204,7 @@ To configure FSLogix on your session host VM:
204
204
205
205
- Set the value of **VHDLocations** to the UNC path you generated in [Get the UNC path](#get-the-unc-path).
description: This article describes how to create an FSLogix profile container with Azure Files and Azure Active Directory Domain Services.
4
4
author: Heidilohr
5
5
ms.topic: how-to
6
-
ms.date: 04/09/2021
6
+
ms.date: 12/08/2021
7
7
ms.author: helohr
8
8
manager: femila
9
9
---
@@ -18,19 +18,19 @@ This article assumes you've already set up an Azure AD DS instance. If you don't
18
18
19
19
## Add Azure AD DS admins
20
20
21
-
To add additional admins, you create a new user and grant them permissions.
21
+
To add more admins, you must create a new user and grant them the necessary permissions.
22
22
23
23
To add an admin:
24
24
25
25
1. Select **Azure Active Directory** from the sidebar, then select **All users**, and then select **New user**.
26
26
27
-
2.Enter the user details into the fields.
27
+
2. Enter the user details into the fields.
28
28
29
29
3. In the Azure Active Directory pane on the left side of the screen, select **Groups**.
30
30
31
31
4. Select the **AAD DC Administrators** group.
32
32
33
-
5. In the left pane, select **Members**, then select **Add members** in the main pane. This will show a list of all users available in Azure AD. Select the name of the user profile you just created.
33
+
5. In the pane on the left side of the window, select **Members**, then select **Add members** in the main pane. You will see a list of all available users in Azure AD. Select the name of the user profile you just created.
34
34
35
35
## Set up an Azure Storage account
36
36
@@ -76,20 +76,18 @@ To get the Storage Account access key:
76
76
77
77
1. From the Azure portal sidebar, select **Storage accounts**.
78
78
79
-
2. From the list of storage accounts, select the account for which you enabled Azure AD DS and created the custom roles in steps above.
79
+
2. From the list of storage accounts, select the account that you enabled Azure AD DS and created the custom roles for in the previous sections.
80
80
81
81
3. Under **Settings**, select **Access keys** and copy the key from **key1**.
82
82
83
83
4. Go to the **Virtual Machines** tab and locate any VM that will become part of your host pool.
84
84
85
-
5. Select the name of the virtual machine (VM) under **Virtual Machines (adVM)** and select **Connect**
86
-
87
-
This will download an RDP file that will let you sign in to the VM with its own credentials.
85
+
5. Select the name of the virtual machine (VM) under **Virtual Machines (adVM)** and select **Connect**. Connecting will download an RDP file that will let you sign in to the VM with its own credentials.
88
86
89
87
> [!div class="mx-imgBorder"]
90
88
> 
91
89
92
-
6. When you've signed in to the VM, run a command prompt as an administrator.
90
+
6. When you've signed in to the VM, open a command prompt as an administrator.
93
91
94
92
7. Run the following command:
95
93
@@ -129,111 +127,49 @@ To get the Storage Account access key:
Now that your profiles are ready to go, let's create a FSLogix profile container.
135
-
136
-
To configure a FSLogix profile container:
137
-
138
-
1. Sign in to the session host VM you configured at the beginning of this article, then [download and install the FSLogix agent](/fslogix/install-ht/).
139
-
140
-
2. Unzip the FSLogix agent file you downloaded and go to **x64** > **Releases**, then open **FSLogixAppsSetup.exe**.
141
-
142
-
3. Once the installer launches, select **I agree to the license terms and conditions.** If applicable, provide a new key.
143
-
144
-
4. Select **Install**.
145
-
146
-
5. Open **Drive C**, then go to **Program Files** > **FSLogix** > **Apps** to make sure the FSLogix agent was properly installed.
147
-
148
-
>[!NOTE]
149
-
> If there are multiple VMs in the host pool, you'll need to repeat steps 1 through 5 for each VM.
150
-
151
-
6. Run **Registry Editor** (RegEdit) as an administrator.
152
-
153
-
7. Navigate to **Computer** > **HKEY_LOCAL_MACHINE** > **software** > **FSLogix**, right-click on **FSLogix**, select **New**, and then select **Key**.
154
-
155
-
8. Create a new key named **Profiles**.
156
-
157
-
9. Right-click on **Profiles**, select **New**, and then select **DWORD (32-bit) Value.** Name the value **Enabled** and set the **Data** value to **1**.
158
-
159
-
> [!div class="mx-imgBorder"]
160
-
> 
161
-
162
-
10. Right-click on **Profiles**, select **New**, and then select **Multi-String Value**. Name the value **VHDLocations** and set enter the URI for the Azure Files share `\\fsprofile.file.core.windows.net\share` as the Data value.
130
+
## Create a profile container with FSLogix
163
131
164
-
> [!div class="mx-imgBorder"]
165
-
> 
166
-
167
-
## Assign users to a session host
168
-
169
-
Now you'll need to assign users to your session host.
170
-
171
-
To assign users:
172
-
173
-
1. Run Windows PowerShell as an administrator, then run the following cmdlet to sign in to Azure Virtual Desktop with PowerShell:
174
-
175
-
```powershell
176
-
Import-Module Microsoft.RdInfra.RdPowershell
177
-
178
-
#Optional
179
-
Install-Module Microsoft.RdInfra.RdPowershell
180
-
181
-
$brokerurl = "https://rdbroker.wvd.microsoft.com"
132
+
In order to use profile containers, you'll need to configure FSLogix on your session host VMs. If you're using a custom image that doesn't have the FSLogix Agent already installed, follow the instructions in [Download and install FSLogix](/fslogix/install-ht). You can set options for setting registry keys on session hosts in images or on a group policy. You'll need to follow these instructions every time you configure a session host, as long as you don't use group policies to apply these settings at scale to multiple session hosts.
182
133
183
-
Add-RdsAccount -DeploymentUrl $brokerurl
184
-
```
134
+
To configure FSLogix on your session host VM:
185
135
186
-
When prompted for credentials, enter the same user that was granted the TenantCreator, RDS Owner, or RDS Contributor role on the Azure Virtual Desktop tenant.
136
+
1. RDP to the session host VM of the Azure Virtual Desktop host pool.
187
137
188
-
2.Run the following cmdlets to assign the user to the remote desktop group:
138
+
2. [Download and install FSLogix](/fslogix/install-ht).
189
139
190
-
```powershell
191
-
$tenant = "<your-wvd-tenant>"
140
+
3. Follow the instructions in [Configure profile container registry settings](/fslogix/configure-profile-container-tutorial#configure-profile-container-registry-settings):
192
141
193
-
$pool1 = "<wvd-pool>"
142
+
- Go to **Computer** > **HKEY_LOCAL_MACHINE** > **SOFTWARE** > **FSLogix**.
Now all you have to do is make sure the profile you created exists and works as intended.
156
+
Once you've installed and configured FSLogix, you can test your deployment by signing in with a user account that's been assigned an app group or desktop on the host pool. Make sure the user account you sign in with has permission on the file share.
221
157
222
-
To verify your profile:
158
+
If the user has signed in before, they'll have an existing local profile that they'll use during this session. To avoid creating a local profile, either create a new user account to use for tests or use the configuration methods described in [Tutorial: Configure Profile Container to redirect User Profiles](/fslogix/configure-profile-container-tutorial/).
223
159
224
-
1. Open a browser and go to [the Azure Virtual Desktop web client](https://rdweb.wvd.microsoft.com/arm/webclient).
160
+
To check your permissions on your session:
225
161
226
-
2. Sign in with the user account assigned to the Remote Desktop group.
162
+
1. Start a session on Azure Virtual Desktop.
227
163
228
-
3. Once the user session has been established, open the Azure portal and sign in with an administrative account.
164
+
2. Open the Azure portal.
229
165
230
-
4. From the sidebar, select **Storage accounts**.
166
+
3. Open the storage account you created in [Set up a storage account](#set-up-an-azure-storage-account).
231
167
232
-
5. Select the storage account you configured as the file share for your session host pool and enabled with Azure AD DS.
168
+
4. Go to **Data storage** in your storage account, then select **File shares**.
233
169
234
-
6. Select the **Files** icon, then expand your share.
170
+
5. Open your file share and make sure the user profile folder you've created is in there.
235
171
236
-
If everything's set up correctly, you should see a **Directory** with a name that's formatted like this: `<user SID>-<username>`.
172
+
For extra testing, follow the instructions in [Make sure your profile works](create-profile-container-adds.md#make-sure-your-profile-works).
0 commit comments