{"id":240895,"date":"2022-10-10T15:35:58","date_gmt":"2022-10-10T22:35:58","guid":{"rendered":"https:\/\/virtual-dba.com\/?p=240895"},"modified":"2025-11-12T09:36:00","modified_gmt":"2025-11-12T16:36:00","slug":"setting-up-fslogix-with-azure-virtual-desktop","status":"publish","type":"post","link":"https:\/\/virtual-dba.com\/blog\/setting-up-fslogix-with-azure-virtual-desktop\/","title":{"rendered":"Setting up FSLogix with Azure Virtual Desktop"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" id=\"h-summary\">SUMMARY:<\/h2>\n\n\n\n<p>Cloud engineers can optimize end-user performance and decrease sign-in times in an Azure Virtual Desktop (AVD) environment by implementing FSLogix Profile Containers, which store user profiles in mounted VHD(X) files backed by Azure Files storage.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Successful implementation requires creating a globally unique Azure Storage Account, enabling Active Directory authentication, and connecting the account to a domain using the <code>join-AzStorageaccountForAuth<\/code> PowerShell command.<\/li>\n\n\n\n<li>The deployment mandates assigning two specific role-based access control (RBAC) rights: Storage File Data SMB Share Elevated Contributor for administrators to set NTFS permissions, and Storage File Data SMB Share Contributor for all end-users.<\/li>\n\n\n\n<li>After installing the FSLogix software on the AVD session hosts, the configuration is finalized by manually editing the registry to set the <code>Enabled<\/code> value to &#8216;1&#8217; and defining the file share&#8217;s UNC path using the VHDLocations key.<\/li>\n<\/ul>\n\n\n\n<p>This comprehensive, multi-step process establishes the necessary cloud infrastructure and software configuration to ensure user profiles are correctly containerized and tested within the AVD host pool.<\/p>\n\n\n\n<div class=\"wp-block-yoast-seo-table-of-contents yoast-table-of-contents\"><h2>Table of contents<\/h2><ul><li><a href=\"#h-summary\" data-level=\"2\">SUMMARY:<\/a><\/li><li><a href=\"#h-step-1-create-a-new-resource-group-to-store-resources\" data-level=\"2\">Step 1: Create a new resource group to store resources.<\/a><\/li><li><a href=\"#h-step-2-create-a-storage-account\" data-level=\"2\">Step 2: Create a Storage account<\/a><\/li><li><a href=\"#h-step-3-create-a-file-share\" data-level=\"2\">Step 3: Create a File Share<\/a><\/li><li><a href=\"#h-step-4-enable-active-directory-authentication-on-the-storage-account\" data-level=\"2\">Step 4: Enable Active Directory authentication on the Storage account.<\/a><\/li><li><a href=\"#h-step-5-configure-storage-account-access-control-iam\" data-level=\"2\">Step 5: Configure Storage account Access control (IAM)<\/a><\/li><li><a href=\"#h-step-6-configure-ntfs-rights-on-the-azure-file-share\" data-level=\"2\">Step 6: Configure NTFS rights on the Azure File Share<\/a><\/li><li><a href=\"#h-step-7-create-your-azure-virtual-desktop-session-hosts\" data-level=\"2\">Step 7: Create your Azure Virtual Desktop Session Hosts<\/a><\/li><li><a href=\"#h-step-8-install-fslogix-profile-container-in-your-avd-host-pool\" data-level=\"2\">Step 8: Install FSLogix Profile Container in your AVD host pool.<\/a><\/li><li><a href=\"#h-step-9-test-the-results\" data-level=\"2\">Step 9: Test the results<\/a><\/li><\/ul><\/div>\n\n\n\n<p>Implementing FSLogix within your Azure Virtual Desktop environment provides an optimized experience for your end users. For example, a non-persistent Pooled Windows AVD host pool will allow the user to have a decreased sign-in time because user profiles are stored in the VHD(X) file that gets mounted every time the user signs into the session host.<\/p>\n\n\n\n<p>You can implement this in various ways, but I will show you how to do this with Azure Files in this blog. Azure Files is an Azure service that allows you to scale it on-demand, and it doesn&#8217;t depend on a VM running at all times like having a typical Windows File Server.<\/p>\n\n\n\n<p>Below is a quick summary of deploying an FSLogix Profile container using Azure Files.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Create a <strong>Storage Account<\/strong> with a <strong>Private Endpoint<\/strong><\/li>\n\n\n\n<li>Create a <strong>File Share<\/strong> in the storage account<\/li>\n\n\n\n<li>Enable <strong>Active Directory Authentication<\/strong> on the storage account<\/li>\n\n\n\n<li>Configure <strong>access control<\/strong> in the storage account and <strong>NTFS<\/strong> permissions of the Azure File Share<\/li>\n\n\n\n<li>Install <strong>FSLogix<\/strong> in your <strong>AVD host pool<\/strong><\/li>\n\n\n\n<li>Test the results.<\/li>\n<\/ol>\n\n\n\n<p><strong>Note:<\/strong><strong> <\/strong>Depending on your setup in Azure, you can configure FSLogix to work via a GPO. In this blog, I will be deploying a basic AVD setup, and I plan to go into further detail about FSLogix and GPO configurations.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-step-1-create-a-new-resource-group-to-store-resources\">Step 1: Create a new resource group to store resources.<\/h2>\n\n\n\n<p>Login into your Azure Portal Account to perform the steps provided below.<\/p>\n\n\n\n<p><a href=\"https:\/\/portal.azure.com\/#home\" target=\"_blank\" rel=\"noreferrer noopener\">Azure Portal<\/a><\/p>\n\n\n\n<p>Once you have logged into your Azure Portal, search for <strong>Resource Groups, click<\/strong> <strong>+ Create, <\/strong>and then fill in the required information. Once you are finished entering the details, click <strong>Review + create<\/strong>.<\/p>\n\n\n\n<p><strong>Note: <\/strong>With any resource group I create, I like to follow Microsoft&#8217;s naming convention recommendations in the Microsoft doc below.<\/p>\n\n\n\n<p><a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/cloud-adoption-framework\/ready\/azure-best-practices\/resource-abbreviations\" target=\"_blank\" rel=\"noreferrer noopener\">Recommended abbreviations for Azure resource types &#8211; Cloud Adoption Framework | Microsoft Docs<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"682\" height=\"216\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-project-details-image1.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Details\" class=\"wp-image-240903\" srcset=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-project-details-image1.png 682w, https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-project-details-image1-480x152.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 682px, 100vw\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-step-2-create-a-storage-account\">Step 2: Create a Storage account<\/h2>\n\n\n\n<p>Once your resource group is created, create a new storage account. You can search for <strong>Storage Account <\/strong>or click it on the left-hand resource blade.<\/p>\n\n\n\n<p>Select your <strong>Subscription <\/strong>and <strong>resource group <\/strong>that you just created, and if you haven&#8217;t made one, choose the option to create a new one. Next, give the storage account a name; it must be globally unique and select your Azure location.<\/p>\n\n\n\n<p>Click on the <strong>Advanced tab <\/strong>and go through any additional settings you want to configure for this storage account, but we will use the default options for this example. Once finished reviewing the Advanced settings, click on the <strong>Networking <\/strong>tab.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"830\" height=\"696\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-create-new-storage-account-image2.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Create A New Storage Account\" class=\"wp-image-240897\" srcset=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-create-new-storage-account-image2.png 830w, https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-create-new-storage-account-image2-480x403.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 830px, 100vw\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"891\" height=\"1017\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-security-image3.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Security\" class=\"wp-image-240905\" srcset=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-security-image3.png 891w, https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-security-image3-480x548.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 891px, 100vw\" \/><\/figure>\n\n\n\n<p>Select the preferred <strong>Network connectivity <\/strong>you want to use; in this example, I will leave the default settings since this is a lab environment. In a real-world scenario, you will want to use a Private Endpoint connection or set specific access from selected virtual networks or IP addresses. I will later cover Private Endpoint configurations with storage accounts in a later blog.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"463\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-network-connectivity-image4.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Network Connectivity\" class=\"wp-image-240902\" srcset=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-network-connectivity-image4.png 969w, https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-network-connectivity-image4-480x229.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 969px, 100vw\" \/><\/figure>\n\n\n\n<p>Continue through the next tab, <strong>Recovery,<\/strong> and in my example, I am using the default settings.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"802\" height=\"888\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-recovery-image5.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Recovery\" class=\"wp-image-240904\" srcset=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-recovery-image5.png 802w, https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-recovery-image5-480x531.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 802px, 100vw\" \/><\/figure>\n\n\n\n<p>Once finished, click on <strong>Encryption, <\/strong>and in this example, I am using the default settings.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"709\" height=\"337\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-encryption-image6.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Encryption\" class=\"wp-image-240900\" srcset=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-encryption-image6.png 709w, https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-encryption-image6-480x228.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 709px, 100vw\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-step-3-create-a-file-share\">Step 3: Create a File Share<\/h2>\n\n\n\n<p>Go to your newly created Storage account, click <strong>+ File Share,<\/strong> and fill in the required fields. For this file share, I will use the <strong>Hot <\/strong>tier for Storage.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"290\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-create-a-file-share-image7-1024x290.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Create A File Share\" class=\"wp-image-240896\" srcset=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-create-a-file-share-image7-1024x290.png 1024w, https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-create-a-file-share-image7-980x278.png 980w, https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-create-a-file-share-image7-480x136.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"504\" height=\"278\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-name-file-share-tier-hot-image8.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Name File Share Tier Hot\" class=\"wp-image-240901\" srcset=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-name-file-share-tier-hot-image8.png 504w, https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-name-file-share-tier-hot-image8-480x265.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 504px, 100vw\" \/><\/figure>\n\n\n\n<p>Once the new file share is created, you can use the default quota that is set to 5 TiB or edit the quota to a specific amount. For my example, I will use 100 GB.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"263\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-edit-quota-image9-1024x263.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Edit Quota\" class=\"wp-image-240898\" srcset=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-edit-quota-image9-1024x263.png 1024w, https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-edit-quota-image9-980x251.png 980w, https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-edit-quota-image9-480x123.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-step-4-enable-active-directory-authentication-on-the-storage-account\">Step 4: Enable Active Directory authentication on the Storage account.<\/h2>\n\n\n\n<p>You will need to log in to a VM where you can connect to the Storage account to be able to set permissions. In my example, I have set up a domain controller in Azure with my domain, so I can access Active Directory Users and Computers to complete the steps below. Download the AzFilesHybrid PowerShell module from <a href=\"https:\/\/github.com\/Azure-Samples\/azure-files-samples\/releases\" target=\"_blank\" rel=\"noreferrer noopener\">here<\/a>. After downloading, unzip the file to a folder like c:\\AzFilesHybrid.<\/p>\n\n\n\n<p>Start an elevated PowerShell prompt and run the following commands:<\/p>\n\n\n\n<p><code>Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope CurrentUser<\/code><\/p>\n\n\n\n<p>Install NuGet by running the following command:<\/p>\n\n\n\n<p><code>Install-PackageProvider -Name NuGet -Force.<\/code><\/p>\n\n\n\n<p>Within the PowerShell prompt, navigate to c:\\AzFilesHybrid, and run the following command:<\/p>\n\n\n\n<p><code>Import-Module -Name .\\AzFilesHybrid.psd1<\/code><\/p>\n\n\n\n<p>Type <strong>A <\/strong>for <strong>Yes to All<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"859\" height=\"481\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-elevated-powershell-image10.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Elevated PowerShell\" class=\"wp-image-240899\" srcset=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-elevated-powershell-image10.png 859w, https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-elevated-powershell-image10-480x269.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 859px, 100vw\" \/><\/figure>\n\n\n\n<p>Connect to Azure via PowerShell by running the following command:<\/p>\n\n\n\n<p><code>Connect-AzAccount<\/code><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"543\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-connect-to-azure-via-powershell-image11-1024x543.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Connect to Azure via PowerShell\" class=\"wp-image-240911\" srcset=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-connect-to-azure-via-powershell-image11-1024x543.png 1024w, https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-connect-to-azure-via-powershell-image11-980x519.png 980w, https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-connect-to-azure-via-powershell-image11-480x254.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><\/figure>\n\n\n\n<p>Select an Azure Subscription by running the following command:<\/p>\n\n\n\n<code>Select-AzSubscription -SubscriptionName \"&lt;your subscription name&gt;\"<\/code>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"954\" height=\"164\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-subscription-name-image12.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Subscription Name\" class=\"wp-image-240934\" srcset=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-subscription-name-image12.png 954w, https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-subscription-name-image12-480x83.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 954px, 100vw\" \/><\/figure>\n\n\n\n<p>To connect the Storage account with Active Directory, run the following command:<\/p>\n\n\n\n<p><code>join-AzStorageaccountForAuth -ResourceGroupName \"&lt;Resource Group Name&gt;\" -Name \"&lt;Storage Account Name&gt;\" -DomainAccountType \"ComputerAccount\" -OrganizationalUnitDistinguishedName \"&lt;OU Distinguished Name&gt;\"<\/code><\/p>\n\n\n\n<p><strong>My example will be<\/strong><\/p>\n\n\n\n<p><code>join-AzStorageaccountForAuth -ResourceGroupName \"rg-avd-test\" -Name \"fslogixavdtest1\" -DomainAccountType \"ComputerAccount\" -OrganizationalUnitDistinguishedName \"CN=Computers,DC=virtual-dba,DC=com\"<\/code><\/p>\n\n\n\n<p>If you are having issues finding the Organizational Unit Distinguished Name go into <strong>View &#8211; Advanced Features &#8211; Active Directory Users and Computers &#8211; Attribute Editor &#8211; distingushedName<\/strong><\/p>\n\n\n\n<p>I am going to connect this storage account into the Computers OU. You can pick any OU that works for you.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"754\" height=\"528\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-organizational-unit-distinguished-name-image13.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Organizational Unit Distinguished Name\" class=\"wp-image-240924\" srcset=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-organizational-unit-distinguished-name-image13.png 754w, https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-organizational-unit-distinguished-name-image13-480x336.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 754px, 100vw\" \/><\/figure>\n\n\n\n<p>After you have your script ready, run the above command, and your results should show below.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"961\" height=\"132\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-storage-account-image14.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Storage Account\" class=\"wp-image-240929\" srcset=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-storage-account-image14.png 961w, https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-storage-account-image14-480x66.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 961px, 100vw\" \/><\/figure>\n\n\n\n<p>Close the PowerShell prompt and check in <strong>Active Directory Users and Computers<\/strong> if it now shows a computer account object.<\/p>\n\n\n\n<p>In Azure, if you go back to the <strong>Storage account &#8211; File shares,<\/strong> you will see that it shows <strong>Active Directory<\/strong> configured.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"365\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-active-directory-configured-image15-1024x365.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Active Directory Configured\" class=\"wp-image-240913\" srcset=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-active-directory-configured-image15-1024x365.png 1024w, https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-active-directory-configured-image15-980x350.png 980w, https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-active-directory-configured-image15-480x171.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-step-5-configure-storage-account-access-control-iam\">Step 5: Configure Storage account Access control (IAM)<\/h2>\n\n\n\n<p>Permission will now be granted to the Storage account; there must be an Administrator or a group of administrators with the <strong>Storage File Data SMB Elevated Contributor <\/strong>rights to set NTFS permissions on the file share. Next to the Administrator, all users that will utilize the FSLogix profile container need to have <strong>Storage File SMB Share Contributor <\/strong>rights.<\/p>\n\n\n\n<p>To make things cleaner, I created two <strong>AD Security groups <\/strong>and have added my Administrator accounts to the <strong>FSLogix Share Elevated Contributor <\/strong>security group<strong> <\/strong>and my regular user test accounts to the <strong>FSLogix Share Contributor <\/strong>security group.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"415\" height=\"49\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-security-groups-image16.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Security Groups\" class=\"wp-image-240925\" srcset=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-security-groups-image16.png 415w, https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-security-groups-image16-300x35.png 300w\" sizes=\"(max-width: 415px) 100vw, 415px\" \/><\/figure>\n\n\n\n<p>Navigate to the <strong>Storage Account <\/strong>within the Azure portal and open the <strong>Access control (IAM) <\/strong>blade and click <strong>Add role assignment.<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"445\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-access-control-image17-1024x445.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Access Control\" class=\"wp-image-240912\" srcset=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-access-control-image17-980x426.png 980w, https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-access-control-image17-480x208.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><\/figure>\n\n\n\n<p>In the search, find the role <strong>Storage File Data SMB Share Elevated Contributor <\/strong>and then add the security group or users you have created and then do the same for <strong>Storage File Data SMB Share Contributor<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"386\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-storage-file-data-smb-elevated-contributor-image18-1024x386.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Storage File Data SMB Elevated Contributor\" class=\"wp-image-240932\" srcset=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-storage-file-data-smb-elevated-contributor-image18-1024x386.png 1024w, https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-storage-file-data-smb-elevated-contributor-image18-980x369.png 980w, https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-storage-file-data-smb-elevated-contributor-image18-480x181.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1021\" height=\"287\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-storage-file-data-smb-share-contributor-image19.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Storage File Data SMB Share Contributor\" class=\"wp-image-240933\" srcset=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-storage-file-data-smb-share-contributor-image19.png 1021w, https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-storage-file-data-smb-share-contributor-image19-980x275.png 980w, https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-storage-file-data-smb-share-contributor-image19-480x135.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1021px, 100vw\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-step-6-configure-ntfs-rights-on-the-azure-file-share\">Step 6: Configure NTFS rights on the Azure File Share<\/h2>\n\n\n\n<p>We will now need to set rights on the NTFS level, but we need to obtain the full UNC path of the file share. You can get that by going to the <strong>Storage account &#8211; File share &#8211; &#8220;Name of File share&#8221; &#8211; properties.<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"911\" height=\"510\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-storage-account-properties-image20.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Storage Account Properties\" class=\"wp-image-240930\" srcset=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-storage-account-properties-image20.png 911w, https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-storage-account-properties-image20-480x269.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 911px, 100vw\" \/><\/figure>\n\n\n\n<p>Open up a text editor of your choice and remove the <strong>\u201chttps:\/\/\u201d<\/strong> and replace it like the below, and then open up File Explorer and map the file share.<\/p>\n\n\n\n<p><code>\\\\fslogixavdtest1.file.core.windows.net\\fslogixprofiles<\/code><\/p>\n\n\n\n<p>In <strong>File Explorer, <\/strong>click on <strong>Properties, <\/strong>the <strong>Security <\/strong>tab, and <strong>Advanced. <\/strong>I have added the two security groups I created earlier<strong> FSLogix Share Contributors<\/strong> (this will be my FSLogix Users for AVD) with <strong>modified <\/strong>access and <strong>FSLogix Share Elevated Contributors <\/strong>with <strong>Full control <\/strong>access.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"704\" height=\"53\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-contributor-access-image21.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Contributor Access\" class=\"wp-image-240916\" srcset=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-contributor-access-image21.png 704w, https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-contributor-access-image21-480x36.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 704px, 100vw\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-step-7-create-your-azure-virtual-desktop-session-hosts\">Step 7: Create your Azure Virtual Desktop Session Hosts<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"891\" height=\"619\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-session-hosts-image22.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Session Hosts\" class=\"wp-image-240926\" srcset=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-session-hosts-image22.png 891w, https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-session-hosts-image22-480x333.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 891px, 100vw\" \/><\/figure>\n\n\n\n<p>Fill out the required fields under the <strong>Basic <\/strong>tab. I have provided a screenshot of my configuration. For my example, I am using <strong>Pooled <\/strong>and <strong>Breadth-first.<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"588\" height=\"529\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-create-host-pool-image23.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Create Host Pool\" class=\"wp-image-240917\" srcset=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-create-host-pool-image23.png 588w, https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-create-host-pool-image23-480x432.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 588px, 100vw\" \/><\/figure>\n\n\n\n<p>On the <strong>Virtual Machines <\/strong>tab, you can decide if you want to have the VMs deployed now or if you can do it later. In my example, I will configure the VMs to be deployed. In a normal Azure Virtual Desktop deployment, I would set up a master image and use that to deploy everything. I will do a future blog on deploying AVD with a master image. The image you will want to use is <strong>Windows 10 or Windows 11 Multi-session. <\/strong>For my example, I chose <strong>Windows 11 Multi-session.<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"638\" height=\"573\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-virtual-machines-image24.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Virtual Machines\" class=\"wp-image-240936\" srcset=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-virtual-machines-image24.png 638w, https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-virtual-machines-image24-480x431.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 638px, 100vw\" \/><\/figure>\n\n\n\n<p>Under the <strong>Network and security <\/strong>tab, fill out the required information. In my example, I will have the deployment domain join the session hosts to my test domain. I also have set an <strong>Organizational Unit path<\/strong> where the computer objects will be stored in Active Directory. This AVD deployment will have public access VMs since this is a lab environment, but in a production deployment, you should have this locked down without public access.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"603\" height=\"770\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-network-and-security-image25.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Network and Security\" class=\"wp-image-240923\" srcset=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-network-and-security-image25.png 603w, https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-network-and-security-image25-480x613.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 603px, 100vw\" \/><\/figure>\n\n\n\n<p>On the next tab, <strong>Workspace <\/strong>decides if you want to have a desktop app group. For my example, I am going to create this new Workspace. So go ahead, tab the rest of the settings, and click <strong>Review and create<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"612\" height=\"185\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-workspace-image26.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Workspace\" class=\"wp-image-240937\" srcset=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-workspace-image26.png 612w, https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-workspace-image26-480x145.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 612px, 100vw\" \/><\/figure>\n\n\n\n<p>Confirm deployment finished.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"837\" height=\"53\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-active-directory-image27.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Active Directory\" class=\"wp-image-240914\" srcset=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-active-directory-image27.png 837w, https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-active-directory-image27-480x30.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 837px, 100vw\" \/><\/figure>\n\n\n\n<p>Active Directory<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-step-8-install-fslogix-profile-container-in-your-avd-host-pool\">Step 8: Install FSLogix Profile Container in your AVD host pool.<\/h2>\n\n\n\n<p>In my example, I deployed two session hosts; however, it is better practice to deploy this using a master\/gold image. As I mentioned, I plan to do a future blog using a master\/gold image with AVD. If you don&#8217;t have a master\/gold image, you will have to log in to your session host VMs and manually download the latest FSLogix software. You can get that by going <a href=\"https:\/\/www.microsoft.com\/en-us\/download\/details.aspx?id=104396\" target=\"_blank\" rel=\"noreferrer noopener\">here.<\/a><\/p>\n\n\n\n<p>Next, navigate to the resource group where your session hosts live and RDP into the AVD session VM. My example session hosts are domain joined with my lab domain configuration. This configuration will work the same if you are a hybrid setup with native Domain Controllers in Azure. I downloaded the FSLogix software and copied and pasted it to my two example session hosts.<\/p>\n\n\n\n<p>Once you have moved the zipped folder over to the session hosts, extract the package, navigate to X64 &#8211; Release, and run FSLogixAppsSetup.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"381\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-install-image28-1024x381.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Install\" class=\"wp-image-240921\" srcset=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-install-image28-1024x381.png 1024w, https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-install-image28-980x365.png 980w, https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-install-image28-480x179.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><\/figure>\n\n\n\n<p>Click <strong>Install.<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"495\" height=\"317\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-install-accept-terms-image29.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Install Accept Terms\" class=\"wp-image-240920\" srcset=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-install-accept-terms-image29.png 495w, https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-install-accept-terms-image29-480x307.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 495px, 100vw\" \/><\/figure>\n\n\n\n<p>Once the installation is finished, click <strong>restart.<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"493\" height=\"317\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-setup-successful-image30.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Setup Successful\" class=\"wp-image-240927\" srcset=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-setup-successful-image30.png 493w, https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-setup-successful-image30-480x309.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 493px, 100vw\" \/><\/figure>\n\n\n\n<p>Once the session host, VM has restarted, RDP back into and open up <strong>Registry Editor<\/strong> and navigate to <strong>HKEY_LOCAL_MACHINE\\Software\\FSLogix\\Profiles. <\/strong>Right-click on<strong> Profiles<\/strong> and create a <strong>&#8220;DWORD (32-bit) Value&#8221; named &#8220;Enabled&#8221; with its value set to 1. <\/strong>You then need to set the location for the VHD encased profile data. Right-click on<strong> Profiles <\/strong>again, create a <strong>&#8220;Multi-String Value&#8221;<\/strong> named <strong>&#8220;VHDLocations,&#8221;<\/strong> and change it to your file server UNC path.<\/p>\n\n\n\n<p>If you see an error message when you hit enter from entering the &#8220;Mult-String Value,&#8221; just click <strong>OK<\/strong>. This is where the permissions that we set up for the FSLogix users will come into place. Once you have finished, restart the session host VM to ensure all Registry settings changed get configured.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"381\" height=\"130\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-multi-string-value-error-image31.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Multi String Value Error\" class=\"wp-image-240922\" srcset=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-multi-string-value-error-image31.png 381w, https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-multi-string-value-error-image31-300x102.png 300w\" sizes=\"(max-width: 381px) 100vw, 381px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"469\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-flipflopprofiledirectoryname-image32-1024x469.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop FlipFlopProfileDirectoryName\" class=\"wp-image-240919\" srcset=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-flipflopprofiledirectoryname-image32-1024x469.png 1024w, https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-flipflopprofiledirectoryname-image32-980x449.png 980w, https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-flipflopprofiledirectoryname-image32-480x220.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><\/figure>\n\n\n\n<p>One additional registry configuration I like to make is to add <strong>FlipFlopProfileDirectoryName. <\/strong>This is one of my personal preferences, but it will present things cleaner with the FSLogix profiles.<strong> <\/strong>I have provided a link below with additional registry configuration settings you can add for your FSLogix setup.<\/p>\n\n\n\n<p><a href=\"https:\/\/learn.microsoft.com\/en-us\/fslogix\/profile-container-configuration-reference\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>FSLogix Profile Container registry configuration settings &#8211; FSLogix | Microsoft Learn<\/strong><\/a><\/p>\n\n\n\n<p><strong>FlipFlopProfileDirectoryName<br>Type DWORD<br>Default Value 0<br>Data values and use<br>When set to &#8216;1&#8217;, the SID folder is created as &#8220;%username%%sid%&#8221; instead of the default<br>&#8220;%sid%%username%.&#8221; This setting has the same effect as setting SIDDirNamePattern = &#8220;%username%%sid%&#8221; and SIDDirNameMatch = &#8220;%username%%sid%&#8221;.<\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-step-9-test-the-results\">Step 9: Test the results<\/h2>\n\n\n\n<p>In my test, I have created three users in my Azure portal, and I will go ahead and sign onto one of the session hosts via the link Microsoft provides in this doc below. <\/p>\n\n\n\n<p><a href=\"https:\/\/learn.microsoft.com\/en-us\/azure\/virtual-desktop\/user-documentation\/connect-web\" target=\"_blank\" rel=\"noreferrer noopener\">Connect Azure Virtual Desktop with the web client &#8211; Azure | Microsoft Learn<\/a>.<\/p>\n\n\n\n<p>For the example, I used<\/p>\n\n\n\n<p><a href=\"https:\/\/rdweb.wvd.microsoft.com\/arm\/webclient\/index.html\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/rdweb.wvd.microsoft.com\/arm\/webclient\/index.html<\/a> <\/p>\n\n\n\n<p>If you are having issues where your AVD users aren&#8217;t able to connect to any session hosts, there are two roles that the users need to be assigned to, which are <strong>Desktop Virtualization User &amp; Virtual Machine User Login.<\/strong><\/p>\n\n\n\n<p>I signed as my test users <strong>avdtest1<\/strong>, <strong>avdtest2<\/strong>, and <strong>avdtest3<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"730\" height=\"302\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-test.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Test\" class=\"wp-image-240941\" srcset=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-test.png 730w, https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-test-480x199.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 730px, 100vw\" \/><\/figure>\n\n\n\n<p>FSLogix App Services will display.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"545\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-display-image34-1024x545.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Display\" class=\"wp-image-240918\" srcset=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-display-image34-1024x545.png 1024w, https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-display-image34-980x521.png 980w, https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-display-image34-480x255.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><\/figure>\n\n\n\n<p>I went back to my storage account, and the three test users I used, profile directories, are showing up in my storage account.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"196\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-storage-account-test-users-showing-image35-1024x196.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Storage Account Test Users Showing\" class=\"wp-image-240931\" srcset=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-storage-account-test-users-showing-image35-980x188.png 980w, https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-storage-account-test-users-showing-image35-480x92.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><\/figure>\n\n\n\n<p>In the session host VMs, I went into <strong>Computer Management <\/strong>the user profiles are showing up.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"199\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-computer-management-image36-1024x199.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Computer Management\" class=\"wp-image-240915\" srcset=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-computer-management-image36-1024x199.png 1024w, https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-computer-management-image36-980x191.png 980w, https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-computer-management-image36-480x93.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><\/figure>\n\n\n\n<p>Once I signed off the session host VMs the disk profiles disappeared as expected.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"341\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-sign-off-image37-1024x341.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Sign Off\" class=\"wp-image-240928\" srcset=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-sign-off-image37-1024x341.png 1024w, https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-sign-off-image37-980x326.png 980w, https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-sign-off-image37-480x160.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><\/figure>\n\n\n\n<p>This was a simple guide on how you can create a quick test environment if you want to implement FSLogix with Azure Virtual Desktop. I will have a separate blog for FSLogix troubleshooting that will be helpful when issues arise.<\/p>\n\n\n\n<p>As mentioned in a <a href=\"https:\/\/virtual-dba.com\/blog\/azure-virtual-desktop-benefits\/\">previous blog, there are many benefits of using FSLogix<\/a>, but if you want to implement this for your business, <a href=\"https:\/\/virtual-dba.com\/contact-us\/\">please reach out to us<\/a>, and we will be more than glad to help. I plan to make more blogs on different implementations with Azure Virtual Desktop, like hosting custom apps through MSIX or Microsoft Endpoint Manager. Different configurations with Azure Active Directory Domain Services and other things you can use AVD for.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>SUMMARY: Cloud engineers can optimize end-user performance and decrease sign-in times in an Azure Virtual Desktop (AVD) environment by implementing FSLogix Profile Containers, which store user profiles in mounted VHD(X) files backed by Azure Files storage. This comprehensive, multi-step process establishes the necessary cloud infrastructure and software configuration to ensure user profiles are correctly containerized [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":240938,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"off","_et_pb_old_content":"<!-- wp:paragraph -->\n<p>Implementing FSLogix within your Azure Virtual Desktop environment provides an optimized experience for your end users. For example, a non-persistent Pooled Windows AVD host pool will allow the user to have a decreased sign-in time because user profiles are stored in the VHD(X) file that gets mounted every time the user signs into the session host.<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>You can implement this in various ways, but I will show you how to do this with Azure Files in this blog. Azure Files is an Azure service that allows you to scale it on-demand, and it doesn't depend on a VM running at all times like having a typical Windows File Server.<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>Below is a quick summary of deploying an FSLogix Profile container using Azure Files.<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:list {\"ordered\":true} -->\n<ol><li>Create a <strong>Storage Account<\/strong> with a <strong>Private Endpoint<\/strong><\/li><li>Create a <strong>File Share<\/strong> in the storage account<\/li><li>Enable <strong>Active Directory Authentication<\/strong> on the storage account<\/li><li>Configure <strong>access control<\/strong> in the storage account and <strong>NTFS<\/strong> permissions of the Azure File Share<\/li><li>Install <strong>FSLogix<\/strong> in your <strong>AVD host pool<\/strong><\/li><li>Test the results.<\/li><\/ol>\n<!-- \/wp:list -->\n\n<!-- wp:paragraph -->\n<p><strong>Note:<\/strong><strong> <\/strong>Depending on your setup in Azure, you can configure FSLogix to work via a GPO. In this blog, I will be deploying a basic AVD setup, and I plan to go into further detail about FSLogix and GPO configurations.<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p><strong>Step 1: Create a new resource group to store resources.<\/strong><\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>Login into your Azure Portal Account to perform the steps provided below.<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p><a href=\"https:\/\/portal.azure.com\/#home\" target=\"_blank\" rel=\"noreferrer noopener\">Azure Portal<\/a><\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>Once you have logged into your Azure Portal, search for <strong>Resource Groups, click<\/strong> <strong>+ Create, <\/strong>and then fill in the required information. Once you are finished entering the details, click <strong>Review + create<\/strong>.<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p><strong>Note: <\/strong>With any resource group I create, I like to follow Microsoft's naming convention recommendations in the Microsoft doc below.<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p><a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/cloud-adoption-framework\/ready\/azure-best-practices\/resource-abbreviations\" target=\"_blank\" rel=\"noreferrer noopener\">Recommended abbreviations for Azure resource types - Cloud Adoption Framework | Microsoft Docs<\/a><\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:image {\"id\":240903,\"sizeSlug\":\"full\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-full\"><img src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-project-details-image1.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Details\" class=\"wp-image-240903\"\/><\/figure>\n<!-- \/wp:image -->\n\n<!-- wp:paragraph -->\n<p><strong>Step 2: Create a Storage account<\/strong><\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>Once your resource group is created, create a new storage account. You can search for <strong>Storage Account <\/strong>or click it on the left-hand resource blade.<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>Select your <strong>Subscription <\/strong>and <strong>Resource Group <\/strong>that you just created, and if you haven't made one, choose the option to create a new one. Next, give the storage account a name; it must be globally unique and select your Azure location.<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>Click on the <strong>Advanced tab <\/strong>and go through any additional settings you want to configure for this storage account, but we will use the default options for this example. Once finished reviewing the Advanced settings, click on the <strong>Networking <\/strong>tab.<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:image {\"id\":240897,\"sizeSlug\":\"full\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-full\"><img src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-create-new-storage-account-image2.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Create A New Storage Account\" class=\"wp-image-240897\"\/><\/figure>\n<!-- \/wp:image -->\n\n<!-- wp:image {\"id\":240905,\"sizeSlug\":\"full\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-full\"><img src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-security-image3.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Security\" class=\"wp-image-240905\"\/><\/figure>\n<!-- \/wp:image -->\n\n<!-- wp:paragraph -->\n<p>Select the preferred <strong>Network connectivity <\/strong>you want to use; in this example, I will leave the default settings since this is a lab environment. In a real-world scenario, you will want to use a Private Endpoint connection or set specific access from selected virtual networks or IP addresses. I will later cover Private Endpoint configurations with storage accounts in a later blog.<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:image {\"id\":240902,\"sizeSlug\":\"full\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-full\"><img src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-network-connectivity-image4.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Network Connectivity\" class=\"wp-image-240902\"\/><\/figure>\n<!-- \/wp:image -->\n\n<!-- wp:paragraph -->\n<p>Continue through the next tab, <strong>Recovery,<\/strong> and in my example, I am using the default settings.<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:image {\"id\":240904,\"sizeSlug\":\"full\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-full\"><img src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-recovery-image5.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Recovery\" class=\"wp-image-240904\"\/><\/figure>\n<!-- \/wp:image -->\n\n<!-- wp:paragraph -->\n<p>Once finished, click on <strong>Encryption, <\/strong>and in this example, I am using the default settings.<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:image {\"id\":240900,\"sizeSlug\":\"full\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-full\"><img src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-encryption-image6.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Encryption\" class=\"wp-image-240900\"\/><\/figure>\n<!-- \/wp:image -->\n\n<!-- wp:paragraph -->\n<p><strong>Step 3: Create a File Share<\/strong><\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>Go to your newly created Storage account, click <strong>+ File Share,<\/strong> and fill in the required fields. For this file share, I will use the <strong>Hot <\/strong>tier for Storage.<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:image {\"id\":240896,\"sizeSlug\":\"large\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-large\"><img src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-create-a-file-share-image7-1024x290.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Create A File Share\" class=\"wp-image-240896\"\/><\/figure>\n<!-- \/wp:image -->\n\n<!-- wp:image {\"id\":240901,\"sizeSlug\":\"full\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-full\"><img src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-name-file-share-tier-hot-image8.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Name File Share Tier Hot\" class=\"wp-image-240901\"\/><\/figure>\n<!-- \/wp:image -->\n\n<!-- wp:paragraph -->\n<p>Once the new file share is created, you can use the default quota that is set to 5 TiB or edit the quota to a specific amount. For my example, I will use 100 GB.<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:image {\"id\":240898,\"sizeSlug\":\"large\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-large\"><img src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-edit-quota-image9-1024x263.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Edit Quota\" class=\"wp-image-240898\"\/><\/figure>\n<!-- \/wp:image -->\n\n<!-- wp:paragraph -->\n<p><strong>Step 4: Enable Active Directory authentication on the Storage account.<\/strong><\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>You will need to log in to a VM where you can connect to the Storage account to be able to set permissions. In my example, I have set up a domain controller in Azure with my domain, so I can access Active Directory Users and Computers to complete the steps below. Download the AzFilesHybrid PowerShell module from <a href=\"https:\/\/github.com\/Azure-Samples\/azure-files-samples\/releases\" target=\"_blank\" rel=\"noreferrer noopener\">here<\/a>. After downloading, unzip the file to a folder like c:\\AzFilesHybrid.<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>Start an elevated PowerShell prompt and run the following commands:<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p><code>Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope CurrentUser<\/code><\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>Install NuGet by running the following command:<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p><code>Install-PackageProvider -Name NuGet -Force.<\/code><\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>Within the PowerShell prompt, navigate to c:\\AzFilesHybrid, and run the following command:<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p><code>Import-Module -Name .\\AzFilesHybrid.psd1<\/code><\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>Type <strong>A <\/strong>for <strong>Yes to All<\/strong><\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:image {\"id\":240899,\"sizeSlug\":\"full\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-full\"><img src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-elevated-powershell-image10.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Elevated PowerShell\" class=\"wp-image-240899\"\/><\/figure>\n<!-- \/wp:image -->\n\n<!-- wp:paragraph -->\n<p>Connect to Azure via PowerShell by running the following command:<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p><code>Connect-AzAccount<\/code><\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:image {\"id\":240911,\"sizeSlug\":\"large\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-large\"><img src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-connect-to-azure-via-powershell-image11-1024x543.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Connect to Azure via PowerShell\" class=\"wp-image-240911\"\/><\/figure>\n<!-- \/wp:image -->\n\n<!-- wp:paragraph -->\n<p>Select an Azure Subscription by running the following command:<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:html -->\n<code>Select-AzSubscription -SubscriptionName \"<your subscription name>\"<\/code>\n<!-- \/wp:html -->\n\n<!-- wp:code -->\n<pre class=\"wp-block-code\"><code>Select-AzSubscription -SubscriptionName \"&lt;your subscription name&gt;\"<\/code><\/pre>\n<!-- \/wp:code -->\n\n<!-- wp:image {\"id\":240934,\"sizeSlug\":\"full\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-full\"><img src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-subscription-name-image12.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Subscription Name\" class=\"wp-image-240934\"\/><\/figure>\n<!-- \/wp:image -->\n\n<!-- wp:paragraph -->\n<p>To connect the Storage account with Active Directory, run the following command:<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:code -->\n<pre class=\"wp-block-code\"><code>join-AzStorageaccountForAuth -ResourceGroupName \"&lt;Resource Group Name&gt;\" -Name \"&lt;Storage Account Name&gt;\" -DomainAccountType \"ComputerAccount\" -OrganizationalUnitDistinguishedName \"&lt;OU Distinguished Name&gt;\"<\/code><\/pre>\n<!-- \/wp:code -->\n\n<!-- wp:paragraph -->\n<p><strong>My example will be<\/strong><\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:code -->\n<pre class=\"wp-block-code\"><code>join-AzStorageaccountForAuth -ResourceGroupName \"rg-avd-test\" -Name \"fslogixavdtest1\" -DomainAccountType \"ComputerAccount\" -OrganizationalUnitDistinguishedName \"CN=Computers,DC=virtual-dba,DC=com\"<\/code><\/pre>\n<!-- \/wp:code -->\n\n<!-- wp:paragraph -->\n<p>If you are having issues finding the Organizational Unit Distinguished Name go into <strong>View - Advanced Features - Active Directory Users and Computers - Attribute Editor - distingushedName<\/strong><\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>I am going to connect this storage account into the Computers OU. You can pick any OU that works for you.<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:image {\"id\":240924,\"sizeSlug\":\"full\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-full\"><img src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-organizational-unit-distinguished-name-image13.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Organizational Unit Distinguished Name\" class=\"wp-image-240924\"\/><\/figure>\n<!-- \/wp:image -->\n\n<!-- wp:paragraph -->\n<p>After you have your script ready, run the above command, and your results should show below.<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:image {\"id\":240929,\"sizeSlug\":\"full\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-full\"><img src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-storage-account-image14.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Storage Account\" class=\"wp-image-240929\"\/><\/figure>\n<!-- \/wp:image -->\n\n<!-- wp:paragraph -->\n<p>Close the PowerShell prompt and check in <strong>Active Directory Users and Computers<\/strong> if it now shows a computer account object.<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>In Azure, if you go back to the <strong>Storage account - File shares,<\/strong> you will see that it shows <strong>Active Directory<\/strong> configured.<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:image {\"id\":240913,\"sizeSlug\":\"large\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-large\"><img src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-active-directory-configured-image15-1024x365.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Active Directory Configured\" class=\"wp-image-240913\"\/><\/figure>\n<!-- \/wp:image -->\n\n<!-- wp:paragraph -->\n<p><strong>Step 5: Configure Storage account Access control (IAM)<\/strong><\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>Permission will now be granted to the Storage account; there must be an Administrator or a group of administrators with the <strong>Storage File Data SMB Elevated Contributor <\/strong>rights to set NTFS permissions on the file share. Next to the Administrator, all users that will utilize the FSLogix profile container need to have <strong>Storage File SMB Share Contributor <\/strong>rights.To make things cleaner, I created two <strong>AD Security groups <\/strong>and have added my Administrator accounts to the <strong>FSLogix Share Elevated Contributor <\/strong>security group<strong> <\/strong>and my regular user test accounts to the <strong>FSLogix Share Contributor <\/strong>security group.<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:image {\"id\":240925,\"sizeSlug\":\"full\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-full\"><img src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-security-groups-image16.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Security Groups\" class=\"wp-image-240925\"\/><\/figure>\n<!-- \/wp:image -->\n\n<!-- wp:paragraph -->\n<p>Navigate to the <strong>Storage Account <\/strong>within the Azure portal and open the <strong>Access control (IAM) <\/strong>blade and click <strong>Add role assignment.<\/strong><\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:image {\"id\":240912,\"sizeSlug\":\"large\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-large\"><img src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-access-control-image17-1024x445.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Access Control\" class=\"wp-image-240912\"\/><\/figure>\n<!-- \/wp:image -->\n\n<!-- wp:paragraph -->\n<p>In the search, find the role <strong>Storage File Data SMB Share Elevated Contributor <\/strong>and then add the security group or users you have created and then do the same for <strong>Storage File Data SMB Share Contributor<\/strong>.<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:image {\"id\":240932,\"sizeSlug\":\"large\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-large\"><img src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-storage-file-data-smb-elevated-contributor-image18-1024x386.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Storage File Data SMB Elevated Contributor\" class=\"wp-image-240932\"\/><\/figure>\n<!-- \/wp:image -->\n\n<!-- wp:image {\"id\":240933,\"sizeSlug\":\"full\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-full\"><img src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-storage-file-data-smb-share-contributor-image19.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Storage File Data SMB Share Contributor\" class=\"wp-image-240933\"\/><\/figure>\n<!-- \/wp:image -->\n\n<!-- wp:paragraph -->\n<p><strong>Step 5: Configure NTFS rights on the Azure File Share<\/strong>We will now need to set rights on the NTFS level, but we need to obtain the full UNC path of the file share. You can get that by going to the <strong>Storage account - File share - \"Name of File share\" - properties.<\/strong><\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:image {\"id\":240930,\"sizeSlug\":\"full\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-full\"><img src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-storage-account-properties-image20.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Storage Account Properties\" class=\"wp-image-240930\"\/><\/figure>\n<!-- \/wp:image -->\n\n<!-- wp:paragraph -->\n<p>Open up a text editor of your choice and remove the <strong>\u201chttps:\/\/\u201d<\/strong> and replace it like the below, and then open up File Explorer and map the file share.<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p><code>\\\\fslogixavdtest1.file.core.windows.net\\fslogixprofiles<\/code><\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>In <strong>File Explorer, <\/strong>click on <strong>Properties, <\/strong>the <strong>Security <\/strong>tab, and <strong>Advanced. <\/strong>I have added the two security groups I created earlier<strong> FSLogix Share Contributors<\/strong> (this will be my FSLogix Users for AVD) with <strong>modified <\/strong>access and <strong>FSLogix Share Elevated Contributors <\/strong>with <strong>Full control <\/strong>access.<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:image {\"id\":240916,\"sizeSlug\":\"full\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-full\"><img src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-contributor-access-image21.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Contributor Access\" class=\"wp-image-240916\"\/><\/figure>\n<!-- \/wp:image -->\n\n<!-- wp:paragraph -->\n<p><strong>Step 6: Create your Azure Virtual Desktop Session Hosts<\/strong><\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:image {\"id\":240926,\"sizeSlug\":\"full\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-full\"><img src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-session-hosts-image22.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Session Hosts\" class=\"wp-image-240926\"\/><\/figure>\n<!-- \/wp:image -->\n\n<!-- wp:paragraph -->\n<p>Fill out the required fields under the <strong>Basic <\/strong>tab. I have provided a screenshot of my configuration. For my example, I am using <strong>Pooled <\/strong>and <strong>Breadth-first.<\/strong><\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:image {\"id\":240917,\"sizeSlug\":\"full\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-full\"><img src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-create-host-pool-image23.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Create Host Pool\" class=\"wp-image-240917\"\/><\/figure>\n<!-- \/wp:image -->\n\n<!-- wp:paragraph -->\n<p>On the <strong>Virtual Machines <\/strong>tab, you can decide if you want to have the VMs deployed now or if you can do it later. In my example, I will configure the VMs to be deployed. In a normal Azure Virtual Desktop deployment, I would set up a master image and use that to deploy everything. I will do a future blog on deploying AVD with a master image. The image you will want to use is <strong>Windows 10 or Windows 11 Multi-session. <\/strong>For my example, I chose <strong>Windows 11 Multi-session.<\/strong><\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:image {\"id\":240936,\"sizeSlug\":\"full\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-full\"><img src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-virtual-machines-image24.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Virtual Machines\" class=\"wp-image-240936\"\/><\/figure>\n<!-- \/wp:image -->\n\n<!-- wp:paragraph -->\n<p>Under the <strong>Network and security <\/strong>tab, fill out the required information. In my example, I will have the deployment domain join the session hosts to my test domain. I also have set an <strong>Organizational Unit path<\/strong> where the computer objects will be stored in Active Directory. This AVD deployment will have public access VMs since this is a lab environment, but in a production deployment, you should have this locked down without public access.<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:image {\"id\":240923,\"sizeSlug\":\"full\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-full\"><img src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-network-and-security-image25.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Network and Security\" class=\"wp-image-240923\"\/><\/figure>\n<!-- \/wp:image -->\n\n<!-- wp:paragraph -->\n<p>On the next tab, <strong>Workspace <\/strong>decides if you want to have a desktop app group. For my example, I am going to create this new Workspace. So go ahead, tab the rest of the settings, and click <strong>Review and create<\/strong>.<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:image {\"id\":240937,\"sizeSlug\":\"full\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-full\"><img src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-workspace-image26.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Workspace\" class=\"wp-image-240937\"\/><\/figure>\n<!-- \/wp:image -->\n\n<!-- wp:paragraph -->\n<p>Confirm deployment finished.<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:image {\"id\":240914,\"sizeSlug\":\"full\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-full\"><img src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-active-directory-image27.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Active Directory\" class=\"wp-image-240914\"\/><\/figure>\n<!-- \/wp:image -->\n\n<!-- wp:paragraph -->\n<p>Active Directory<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p><strong>Step 7: Install FSLogix Profile Container in your AVD host pool.<\/strong><\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>In my example, I deployed two session hosts; however, it is better practice to deploy this using a master\/gold image. As I mentioned, I plan to do a future blog using a master\/gold image with AVD. If you don't have a master\/gold image, you will have to log in to your session host VMs and manually download the latest FSLogix software. You can get that by going <a href=\"https:\/\/www.microsoft.com\/en-us\/download\/details.aspx?id=104396\">here.<\/a><\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>Next, navigate to the Resource group where your session hosts live and RDP into the AVD session VM. My example session hosts are domain joined with my lab domain configuration. This configuration will work the same if you are a hybrid setup with native Domain Controllers in Azure. I downloaded the FSLogix software and copied and pasted it to my two example session hosts.<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>Once you have moved the zipped folder over to the session hosts, extract the package, navigate to X64 - Release, and run FSLogixAppsSetup.<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:image {\"id\":240921,\"sizeSlug\":\"large\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-large\"><img src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-install-image28-1024x381.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Install\" class=\"wp-image-240921\"\/><\/figure>\n<!-- \/wp:image -->\n\n<!-- wp:paragraph -->\n<p>Click <strong>Install.<\/strong><\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:image {\"id\":240920,\"sizeSlug\":\"full\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-full\"><img src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-install-accept-terms-image29.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Install Accept Terms\" class=\"wp-image-240920\"\/><\/figure>\n<!-- \/wp:image -->\n\n<!-- wp:paragraph -->\n<p>Once the installation is finished, click <strong>restart.<\/strong><\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:image {\"id\":240927,\"sizeSlug\":\"full\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-full\"><img src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-setup-successful-image30.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Setup Successful\" class=\"wp-image-240927\"\/><\/figure>\n<!-- \/wp:image -->\n\n<!-- wp:paragraph -->\n<p>Once the session host, VM has restarted, RDP back into and open up <strong>Registry Editor<\/strong> and navigate to <strong>HKEY_LOCAL_MACHINE\\Software\\FSLogix\\Profiles. <\/strong>Right-click on<strong> Profiles<\/strong> and create a <strong>\"DWORD (32-bit) Value\" named \"Enable\" with its value set to 1. <\/strong>You then need to set the location for the VHD encased profile data. Right-click on<strong> Profiles <\/strong>again, create a <strong>\"Multi-String Value\"<\/strong> named <strong>\"VHDLocations,\"<\/strong> and change it to your file server UNC path.If you see an error message when you hit enter from entering the \"Mult-String Value,\" just click <strong>OK<\/strong>. This is where the permissions that we set up for the FSLogix users will come into place. Once you have finished, restart the session host VM to ensure all Registry settings changed get configured.<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:image {\"id\":240922,\"sizeSlug\":\"full\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-full\"><img src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-multi-string-value-error-image31.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Multi String Value Error\" class=\"wp-image-240922\"\/><\/figure>\n<!-- \/wp:image -->\n\n<!-- wp:image {\"id\":240919,\"sizeSlug\":\"large\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-large\"><img src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-flipflopprofiledirectoryname-image32-1024x469.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop FlipFlopProfileDirectoryName\" class=\"wp-image-240919\"\/><\/figure>\n<!-- \/wp:image -->\n\n<!-- wp:paragraph -->\n<p>One additional registry configuration I like to make is to add <strong>FlipFlopProfileDirectoryName. <\/strong>This is one of my personal preferences, but it will present things cleaner with the FSLogix profiles.<strong> <\/strong>I have provided a link below with additional registry configuration settings you can add for your FSLogix setup.<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p><a href=\"https:\/\/learn.microsoft.com\/en-us\/fslogix\/profile-container-configuration-reference\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>FSLogix Profile Container registry configuration settings - FSLogix | Microsoft Learn<\/strong><\/a><\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p><strong>FlipFlopProfileDirectoryName<br>Type DWORD<br>Default Value 0<br>Data values and use<br>When set to '1', the SID folder is created as \"%username%%sid%\" instead of the default<br>\"%sid%%username%.\" This setting has the same effect as setting SIDDirNamePattern = \"%username%%sid%\" and SIDDirNameMatch = \"%username%%sid%\".<\/strong><\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p><strong>Step 8: Test the results<\/strong><\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>In my test, I have created three users in my Azure portal, and I will go ahead and sign onto one of the session hosts via the link Microsoft provides in this doc below.<a href=\"https:\/\/learn.microsoft.com\/en-us\/azure\/virtual-desktop\/user-documentation\/connect-web\" target=\"_blank\" rel=\"noreferrer noopener\">Connect Azure Virtual Desktop with the web client - Azure | Microsoft Learn<\/a>.<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>For the example, I used<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p><a href=\"https:\/\/rdweb.wvd.microsoft.com\/arm\/webclient\/index.html.\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/rdweb.wvd.microsoft.com\/arm\/webclient\/index.html.<\/a><\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>If you are having issues where your AVD users aren't able to connect to any session hosts, there are two roles that the users need to be assigned to, which are <strong>Desktop Virtualization User &amp; Virtual Machine User Login.<\/strong>I signed as my test users <strong>avdtest1<\/strong>, <strong>avdtest2<\/strong>, and <strong>avdtest3<\/strong>.<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:image {\"id\":240935,\"sizeSlug\":\"full\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-full\"><img src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-test-image33.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Test\" class=\"wp-image-240935\"\/><\/figure>\n<!-- \/wp:image -->\n\n<!-- wp:paragraph -->\n<p>FSLogix App Services will display.<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:image {\"id\":240918,\"sizeSlug\":\"large\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-large\"><img src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-display-image34-1024x545.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Display\" class=\"wp-image-240918\"\/><\/figure>\n<!-- \/wp:image -->\n\n<!-- wp:paragraph -->\n<p>I went back to my storage account, and the three test users I used, profile directories, are showing up in my storage account.<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:image {\"id\":240931,\"sizeSlug\":\"large\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-large\"><img src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-storage-account-test-users-showing-image35-1024x196.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Storage Account Test Users Showing\" class=\"wp-image-240931\"\/><\/figure>\n<!-- \/wp:image -->\n\n<!-- wp:paragraph -->\n<p>In the session host VMs, I went into <strong>Computer Management <\/strong>the user profiles are showing up.<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:image {\"id\":240915,\"sizeSlug\":\"large\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-large\"><img src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-computer-management-image36-1024x199.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Computer Management\" class=\"wp-image-240915\"\/><\/figure>\n<!-- \/wp:image -->\n\n<!-- wp:paragraph -->\n<p>Once I signed off the session host VMs the disk profiles disappeared as expected.<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:image {\"id\":240928,\"sizeSlug\":\"large\",\"linkDestination\":\"none\"} -->\n<figure class=\"wp-block-image size-large\"><img src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/setting-up-fslogix-with-azure-virtual-desktop-sign-off-image37-1024x341.png\" alt=\"Setting up FSlogix with Azure Virtual Desktop Sign Off\" class=\"wp-image-240928\"\/><\/figure>\n<!-- \/wp:image -->\n\n<!-- wp:paragraph -->\n<p>This was a simple guide on how you can create a quick test environment if you want to implement FSLogix with Azure Virtual Desktop. I will have a separate blog for FSLogix troubleshooting that will be helpful when issues arise.<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>As mentioned in a previous blog, there are many benefits of using FSLogix, but if you want to implement this for your business, please reach out to us, and we will be more than glad to help. I plan to make more blogs on different implementations with Azure Virtual Desktop, like hosting custom apps through MSIX or Microsoft Endpoint Manager. Different configurations with Azure Active Directory Domain Services and other things you can use AVD for.<\/p>\n<!-- \/wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p><\/p>\n<!-- \/wp:paragraph -->","_et_gb_content_width":"","content-type":"","footnotes":""},"categories":[4018,4166],"tags":[4190,4193],"class_list":["post-240895","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-azure","category-blog","tag-avd","tag-fslogix"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.1 (Yoast SEO v27.1.1) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Setting up FSLogix with Azure Virtual Desktop<\/title>\n<meta name=\"description\" content=\"Here&#039;s how to implement FSLogix within your Azure Virtual Desktop environment to provide an optimized experience for your end users.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/virtual-dba.com\/blog\/setting-up-fslogix-with-azure-virtual-desktop\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Setting up FSLogix with Azure Virtual Desktop\" \/>\n<meta property=\"og:description\" content=\"Here&#039;s how to implement FSLogix within your Azure Virtual Desktop environment to provide an optimized experience for your end users.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/virtual-dba.com\/blog\/setting-up-fslogix-with-azure-virtual-desktop\/\" \/>\n<meta property=\"og:site_name\" content=\"Virtual-DBA Remote DBA Services &amp; Support - Certified Database Experts\" \/>\n<meta property=\"article:published_time\" content=\"2022-10-10T22:35:58+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-11-12T16:36:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/Setting-up-FSlogix-with-Azure-Virtual-Desktop.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"557\" \/>\n\t<meta property=\"og:image:height\" content=\"291\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"XTIVIA\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@virtual_dba\" \/>\n<meta name=\"twitter:site\" content=\"@virtual_dba\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"XTIVIA\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"18 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"TechArticle\",\"@id\":\"https:\/\/virtual-dba.com\/blog\/setting-up-fslogix-with-azure-virtual-desktop\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/virtual-dba.com\/blog\/setting-up-fslogix-with-azure-virtual-desktop\/\"},\"author\":{\"name\":\"XTIVIA\",\"@id\":\"https:\/\/virtual-dba.com\/#\/schema\/person\/2d86f74bed0c3f1b49100f7fdf7d78d1\"},\"headline\":\"Setting up FSLogix with Azure Virtual Desktop\",\"datePublished\":\"2022-10-10T22:35:58+00:00\",\"dateModified\":\"2025-11-12T16:36:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/virtual-dba.com\/blog\/setting-up-fslogix-with-azure-virtual-desktop\/\"},\"wordCount\":2274,\"commentCount\":7,\"publisher\":{\"@id\":\"https:\/\/virtual-dba.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/virtual-dba.com\/blog\/setting-up-fslogix-with-azure-virtual-desktop\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/virtual-dba.com\/wp-content\/uploads\/Setting-up-FSlogix-with-Azure-Virtual-Desktop.jpg\",\"keywords\":[\"avd\",\"FSLogix\"],\"articleSection\":[\"Azure\",\"Blog\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/virtual-dba.com\/blog\/setting-up-fslogix-with-azure-virtual-desktop\/#respond\"]}],\"accessibilityFeature\":[\"tableOfContents\"]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/virtual-dba.com\/blog\/setting-up-fslogix-with-azure-virtual-desktop\/\",\"url\":\"https:\/\/virtual-dba.com\/blog\/setting-up-fslogix-with-azure-virtual-desktop\/\",\"name\":\"Setting up FSLogix with Azure Virtual Desktop\",\"isPartOf\":{\"@id\":\"https:\/\/virtual-dba.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/virtual-dba.com\/blog\/setting-up-fslogix-with-azure-virtual-desktop\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/virtual-dba.com\/blog\/setting-up-fslogix-with-azure-virtual-desktop\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/virtual-dba.com\/wp-content\/uploads\/Setting-up-FSlogix-with-Azure-Virtual-Desktop.jpg\",\"datePublished\":\"2022-10-10T22:35:58+00:00\",\"dateModified\":\"2025-11-12T16:36:00+00:00\",\"description\":\"Here's how to implement FSLogix within your Azure Virtual Desktop environment to provide an optimized experience for your end users.\",\"breadcrumb\":{\"@id\":\"https:\/\/virtual-dba.com\/blog\/setting-up-fslogix-with-azure-virtual-desktop\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/virtual-dba.com\/blog\/setting-up-fslogix-with-azure-virtual-desktop\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/virtual-dba.com\/blog\/setting-up-fslogix-with-azure-virtual-desktop\/#primaryimage\",\"url\":\"https:\/\/virtual-dba.com\/wp-content\/uploads\/Setting-up-FSlogix-with-Azure-Virtual-Desktop.jpg\",\"contentUrl\":\"https:\/\/virtual-dba.com\/wp-content\/uploads\/Setting-up-FSlogix-with-Azure-Virtual-Desktop.jpg\",\"width\":557,\"height\":291,\"caption\":\"Setting up FSlogix with Azure Virtual Desktop\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/virtual-dba.com\/blog\/setting-up-fslogix-with-azure-virtual-desktop\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/virtual-dba.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Setting up FSLogix with Azure Virtual Desktop\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/virtual-dba.com\/#website\",\"url\":\"https:\/\/virtual-dba.com\/\",\"name\":\"Virtual-DBA Remote DBA Services &amp; Support - Certified Database Experts\",\"description\":\"Remote Database Administration\",\"publisher\":{\"@id\":\"https:\/\/virtual-dba.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/virtual-dba.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/virtual-dba.com\/#organization\",\"name\":\"Virtual-DBA: Remote DBA | Remote Database Administration\",\"alternateName\":\"Virtual-DBA powered by XTIVIA\",\"url\":\"https:\/\/virtual-dba.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/virtual-dba.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/virtual-dba.com\/wp-content\/uploads\/V-DBA-Database-Services-and-Support-Featured-Logo.jpg\",\"contentUrl\":\"https:\/\/virtual-dba.com\/wp-content\/uploads\/V-DBA-Database-Services-and-Support-Featured-Logo.jpg\",\"width\":557,\"height\":291,\"caption\":\"Virtual-DBA: Remote DBA | Remote Database Administration\"},\"image\":{\"@id\":\"https:\/\/virtual-dba.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/virtual_dba\",\"https:\/\/www.linkedin.com\/showcase\/36220649\/\",\"https:\/\/www.youtube.com\/channel\/UCx3AIeUQ2ziTLKZSJDZ-SEg\"],\"description\":\"Eliminate database downtime and spiraling costs with XTIVIA\u2019s Virtual-DBA. In today\u2019s always-on business world, gaps in 24x7 on-call DBA support, neglected maintenance and security, or a stretched team struggling with overwhelming workloads can lead to costly disruptions and threaten business continuity. XTIVIA\u2019s Virtual-DBA provides the immediate, expert database administration you need, exactly when you need it, ensuring optimal performance, ironclad security, and significant cost savings without the burden of expanding your in-house team. The goal of Virtual-DBA is to provide a cost-effective solution for organizations seeking to optimize the security, management, maintenance, availability, and performance of their critical business systems, whether self-managed or cloud-managed (e.g., AWS RDS, Azure SQL Database). We accomplish this through a comprehensive remote DBA service offering designed specifically to meet the Oracle\u00ae, DB2\u00ae, Informix\u00ae, MySQL\u2122, PostgreSQL\u00ae, MongoDB\u00ae, MariaDB, and Microsoft SQL Server\u00ae, CockroachDB, Databricks, AWS, and Azure needs of our clients.\",\"email\":\"info@xtivia.com\",\"telephone\":\"8886853101\",\"legalName\":\"XTIVIA, Inc\",\"foundingDate\":\"1992-05-01\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"201\",\"maxValue\":\"500\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/virtual-dba.com\/#\/schema\/person\/2d86f74bed0c3f1b49100f7fdf7d78d1\",\"name\":\"XTIVIA\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/virtual-dba.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0d3648a00e319a37cf8d6d19f762acfbbb4fd0320fd8a6d6b1e64f44a2a6f259?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/0d3648a00e319a37cf8d6d19f762acfbbb4fd0320fd8a6d6b1e64f44a2a6f259?s=96&d=mm&r=g\",\"caption\":\"XTIVIA\"},\"url\":\"https:\/\/virtual-dba.com\/author\/xtivia\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Setting up FSLogix with Azure Virtual Desktop","description":"Here's how to implement FSLogix within your Azure Virtual Desktop environment to provide an optimized experience for your end users.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/virtual-dba.com\/blog\/setting-up-fslogix-with-azure-virtual-desktop\/","og_locale":"en_US","og_type":"article","og_title":"Setting up FSLogix with Azure Virtual Desktop","og_description":"Here's how to implement FSLogix within your Azure Virtual Desktop environment to provide an optimized experience for your end users.","og_url":"https:\/\/virtual-dba.com\/blog\/setting-up-fslogix-with-azure-virtual-desktop\/","og_site_name":"Virtual-DBA Remote DBA Services &amp; Support - Certified Database Experts","article_published_time":"2022-10-10T22:35:58+00:00","article_modified_time":"2025-11-12T16:36:00+00:00","og_image":[{"width":557,"height":291,"url":"https:\/\/virtual-dba.com\/wp-content\/uploads\/Setting-up-FSlogix-with-Azure-Virtual-Desktop.jpg","type":"image\/jpeg"}],"author":"XTIVIA","twitter_card":"summary_large_image","twitter_creator":"@virtual_dba","twitter_site":"@virtual_dba","twitter_misc":{"Written by":"XTIVIA","Est. reading time":"18 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"TechArticle","@id":"https:\/\/virtual-dba.com\/blog\/setting-up-fslogix-with-azure-virtual-desktop\/#article","isPartOf":{"@id":"https:\/\/virtual-dba.com\/blog\/setting-up-fslogix-with-azure-virtual-desktop\/"},"author":{"name":"XTIVIA","@id":"https:\/\/virtual-dba.com\/#\/schema\/person\/2d86f74bed0c3f1b49100f7fdf7d78d1"},"headline":"Setting up FSLogix with Azure Virtual Desktop","datePublished":"2022-10-10T22:35:58+00:00","dateModified":"2025-11-12T16:36:00+00:00","mainEntityOfPage":{"@id":"https:\/\/virtual-dba.com\/blog\/setting-up-fslogix-with-azure-virtual-desktop\/"},"wordCount":2274,"commentCount":7,"publisher":{"@id":"https:\/\/virtual-dba.com\/#organization"},"image":{"@id":"https:\/\/virtual-dba.com\/blog\/setting-up-fslogix-with-azure-virtual-desktop\/#primaryimage"},"thumbnailUrl":"https:\/\/virtual-dba.com\/wp-content\/uploads\/Setting-up-FSlogix-with-Azure-Virtual-Desktop.jpg","keywords":["avd","FSLogix"],"articleSection":["Azure","Blog"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/virtual-dba.com\/blog\/setting-up-fslogix-with-azure-virtual-desktop\/#respond"]}],"accessibilityFeature":["tableOfContents"]},{"@type":"WebPage","@id":"https:\/\/virtual-dba.com\/blog\/setting-up-fslogix-with-azure-virtual-desktop\/","url":"https:\/\/virtual-dba.com\/blog\/setting-up-fslogix-with-azure-virtual-desktop\/","name":"Setting up FSLogix with Azure Virtual Desktop","isPartOf":{"@id":"https:\/\/virtual-dba.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/virtual-dba.com\/blog\/setting-up-fslogix-with-azure-virtual-desktop\/#primaryimage"},"image":{"@id":"https:\/\/virtual-dba.com\/blog\/setting-up-fslogix-with-azure-virtual-desktop\/#primaryimage"},"thumbnailUrl":"https:\/\/virtual-dba.com\/wp-content\/uploads\/Setting-up-FSlogix-with-Azure-Virtual-Desktop.jpg","datePublished":"2022-10-10T22:35:58+00:00","dateModified":"2025-11-12T16:36:00+00:00","description":"Here's how to implement FSLogix within your Azure Virtual Desktop environment to provide an optimized experience for your end users.","breadcrumb":{"@id":"https:\/\/virtual-dba.com\/blog\/setting-up-fslogix-with-azure-virtual-desktop\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/virtual-dba.com\/blog\/setting-up-fslogix-with-azure-virtual-desktop\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/virtual-dba.com\/blog\/setting-up-fslogix-with-azure-virtual-desktop\/#primaryimage","url":"https:\/\/virtual-dba.com\/wp-content\/uploads\/Setting-up-FSlogix-with-Azure-Virtual-Desktop.jpg","contentUrl":"https:\/\/virtual-dba.com\/wp-content\/uploads\/Setting-up-FSlogix-with-Azure-Virtual-Desktop.jpg","width":557,"height":291,"caption":"Setting up FSlogix with Azure Virtual Desktop"},{"@type":"BreadcrumbList","@id":"https:\/\/virtual-dba.com\/blog\/setting-up-fslogix-with-azure-virtual-desktop\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/virtual-dba.com\/"},{"@type":"ListItem","position":2,"name":"Setting up FSLogix with Azure Virtual Desktop"}]},{"@type":"WebSite","@id":"https:\/\/virtual-dba.com\/#website","url":"https:\/\/virtual-dba.com\/","name":"Virtual-DBA Remote DBA Services &amp; Support - Certified Database Experts","description":"Remote Database Administration","publisher":{"@id":"https:\/\/virtual-dba.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/virtual-dba.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/virtual-dba.com\/#organization","name":"Virtual-DBA: Remote DBA | Remote Database Administration","alternateName":"Virtual-DBA powered by XTIVIA","url":"https:\/\/virtual-dba.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/virtual-dba.com\/#\/schema\/logo\/image\/","url":"https:\/\/virtual-dba.com\/wp-content\/uploads\/V-DBA-Database-Services-and-Support-Featured-Logo.jpg","contentUrl":"https:\/\/virtual-dba.com\/wp-content\/uploads\/V-DBA-Database-Services-and-Support-Featured-Logo.jpg","width":557,"height":291,"caption":"Virtual-DBA: Remote DBA | Remote Database Administration"},"image":{"@id":"https:\/\/virtual-dba.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/virtual_dba","https:\/\/www.linkedin.com\/showcase\/36220649\/","https:\/\/www.youtube.com\/channel\/UCx3AIeUQ2ziTLKZSJDZ-SEg"],"description":"Eliminate database downtime and spiraling costs with XTIVIA\u2019s Virtual-DBA. In today\u2019s always-on business world, gaps in 24x7 on-call DBA support, neglected maintenance and security, or a stretched team struggling with overwhelming workloads can lead to costly disruptions and threaten business continuity. XTIVIA\u2019s Virtual-DBA provides the immediate, expert database administration you need, exactly when you need it, ensuring optimal performance, ironclad security, and significant cost savings without the burden of expanding your in-house team. The goal of Virtual-DBA is to provide a cost-effective solution for organizations seeking to optimize the security, management, maintenance, availability, and performance of their critical business systems, whether self-managed or cloud-managed (e.g., AWS RDS, Azure SQL Database). We accomplish this through a comprehensive remote DBA service offering designed specifically to meet the Oracle\u00ae, DB2\u00ae, Informix\u00ae, MySQL\u2122, PostgreSQL\u00ae, MongoDB\u00ae, MariaDB, and Microsoft SQL Server\u00ae, CockroachDB, Databricks, AWS, and Azure needs of our clients.","email":"info@xtivia.com","telephone":"8886853101","legalName":"XTIVIA, Inc","foundingDate":"1992-05-01","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"201","maxValue":"500"}},{"@type":"Person","@id":"https:\/\/virtual-dba.com\/#\/schema\/person\/2d86f74bed0c3f1b49100f7fdf7d78d1","name":"XTIVIA","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/virtual-dba.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/0d3648a00e319a37cf8d6d19f762acfbbb4fd0320fd8a6d6b1e64f44a2a6f259?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0d3648a00e319a37cf8d6d19f762acfbbb4fd0320fd8a6d6b1e64f44a2a6f259?s=96&d=mm&r=g","caption":"XTIVIA"},"url":"https:\/\/virtual-dba.com\/author\/xtivia\/"}]}},"_links":{"self":[{"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/posts\/240895","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/comments?post=240895"}],"version-history":[{"count":0,"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/posts\/240895\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/media\/240938"}],"wp:attachment":[{"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/media?parent=240895"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/categories?post=240895"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/tags?post=240895"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}