Skip to content

Commit c03cf34

Browse files
authored
Merge pull request #172875 from Heidilohr/work-files-link
Replacing outdated text in profile containers article
2 parents 1a80f4f + 26f6952 commit c03cf34

File tree

4 files changed

+31
-95
lines changed

4 files changed

+31
-95
lines changed

articles/virtual-desktop/create-file-share.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Create an Azure Files file share with a domain controller - Azure
33
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.
44
author: Heidilohr
55
ms.topic: how-to
6-
ms.date: 06/05/2020
6+
ms.date: 12/08/2021
77
ms.author: helohr
88
manager: femila
99
---
@@ -192,7 +192,7 @@ To configure FSLogix on your session host VM:
192192
193193
2. [Download and install FSLogix](/fslogix/install-ht).
194194
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):
196196
197197
- Navigate to **Computer** > **HKEY_LOCAL_MACHINE** > **SOFTWARE** > **FSLogix**.
198198
@@ -204,7 +204,7 @@ To configure FSLogix on your session host VM:
204204
205205
- Set the value of **VHDLocations** to the UNC path you generated in [Get the UNC path](#get-the-unc-path).
206206
207-
6. Restart the VM.
207+
4. Restart the VM.
208208
209209
## Testing
210210

articles/virtual-desktop/create-profile-container-adds.md

Lines changed: 28 additions & 92 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Create FSLogix profile container Azure Files Active Directory Domain Serv
33
description: This article describes how to create an FSLogix profile container with Azure Files and Azure Active Directory Domain Services.
44
author: Heidilohr
55
ms.topic: how-to
6-
ms.date: 04/09/2021
6+
ms.date: 12/08/2021
77
ms.author: helohr
88
manager: femila
99
---
@@ -18,19 +18,19 @@ This article assumes you've already set up an Azure AD DS instance. If you don't
1818

1919
## Add Azure AD DS admins
2020

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.
2222

2323
To add an admin:
2424

2525
1. Select **Azure Active Directory** from the sidebar, then select **All users**, and then select **New user**.
2626

27-
2. Enter the user details into the fields.
27+
2. Enter the user details into the fields.
2828

2929
3. In the Azure Active Directory pane on the left side of the screen, select **Groups**.
3030

3131
4. Select the **AAD DC Administrators** group.
3232

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.
3434

3535
## Set up an Azure Storage account
3636

@@ -76,20 +76,18 @@ To get the Storage Account access key:
7676

7777
1. From the Azure portal sidebar, select **Storage accounts**.
7878

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.
8080

8181
3. Under **Settings**, select **Access keys** and copy the key from **key1**.
8282

8383
4. Go to the **Virtual Machines** tab and locate any VM that will become part of your host pool.
8484

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.
8886

8987
> [!div class="mx-imgBorder"]
9088
> ![A screenshot of the RDP tab of the Connect to virtual machine window.](media/rdp-tab.png)
9189
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.
9391

9492
7. Run the following command:
9593

@@ -129,111 +127,49 @@ To get the Storage Account access key:
129127
icacls <mounted-drive-letter>: /remove "Builtin\Users"
130128
```
131129
132-
## Create a profile container
133-
134-
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-
> ![A screenshot of the Profiles key. The REG_DWORD file is highlighted and its Data value is set to 1.](media/dword-value.png)
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
163131
164-
> [!div class="mx-imgBorder"]
165-
> ![A screenshot of the Profiles key showing the VHDLocations file. Its Data value shows the URI for the Azure Files share.](media/multi-string-value.png)
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.
182133
183-
Add-RdsAccount -DeploymentUrl $brokerurl
184-
```
134+
To configure FSLogix on your session host VM:
185135
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.
187137
188-
2. Run the following cmdlets to assign the user to the remote desktop group:
138+
2. [Download and install FSLogix](/fslogix/install-ht).
189139
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):
192141
193-
$pool1 = "<wvd-pool>"
142+
- Go to **Computer** > **HKEY_LOCAL_MACHINE** > **SOFTWARE** > **FSLogix**.
194143
195-
$appgroup = "Desktop Application Group"
144+
- Create a **Profiles** key.
196145
197-
$user1 = "<user-principal>"
146+
- Create **Enabled, DWORD** with a value of 1.
198147
199-
Add-RdsAppGroupUser $tenant $pool1 $appgroup $user1
200-
```
201-
202-
Like the earlier cmdlets, make sure to replace `<your-wvd-tenant>`, `<wvd-pool>`, and `<user-principal>` with the relevant values.
203-
204-
For example:
148+
- Create **VHDLocations, MULTI_SZ**.
205149
206-
```powershell
207-
$pool1 = "contoso"
150+
- [Get the UNC path](create-file-share.md#get-the-unc-path), then set the value of **VHDLocations** to that UNC path.
208151
209-
$tenant = "contoso"
210-
211-
$appgroup = "Desktop Application Group"
212-
213-
$user1 = "[email protected]"
214-
215-
Add-RdsAppGroupUser $tenant $pool1 $appgroup $user1
216-
```
152+
4. Restart the VM.
217153
218154
## Make sure your profile works
219155
220-
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.
221157
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/).
223159
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:
225161
226-
2. Sign in with the user account assigned to the Remote Desktop group.
162+
1. Start a session on Azure Virtual Desktop.
227163
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.
229165
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).
231167
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**.
233169
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.
235171
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).
237173
238174
## Next steps
239175
-13.1 KB
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)