Azure Local | HomeLab – FSLogix

Reading Time: 4 minutes

In the previous steps, we successfully deployed two virtual machines on Azure Local, which now serve as session hosts for Azure Virtual Desktop (AVD). In this section, we will focus on configuring FSLogix to manage user profiles efficiently. For this configuration, we will utilize the storage resources already available on the Azure Local nodes. https://www.gettothe.cloud/azure-local-homelab-add-storage-and-sofs/

It is important to note that this approach is suitable for a lab or proof-of-concept environment. When transitioning to a production environment, you must carefully evaluate and plan your storage requirements. FSLogix profile containers can significantly impact performance and scalability, so considerations such as capacity, redundancy, and IOPS should be part of your design. Additionally, ensure that the storage solution you choose aligns with best practices for high availability and disaster recovery.

By implementing FSLogix correctly, you can provide a seamless user experience across session hosts, reduce logon times, and simplify profile management. In the following steps, we will walk through the configuration process, leveraging the existing infrastructure while keeping in mind the adjustments needed for a robust production deployment.

When following the microsoft documentation https://learn.microsoft.com/en-us/azure/virtual-desktop/fslogix-profile-containers you will need an SMB share within you network or an Azure Files share to host the profiles. In this blogpost we will be using the storage of the azure local cluster.

Setup

The next step is to configure storage for FSLogix profiles. We start by creating an SMB share on the existing storage of the cluster nodes. In this case, we’ve already added an additional 1TB disk, enabled the Scale-Out File Server role, and created the share. Now, it’s time to set the correct NTFS and share permissions to ensure secure access for user profiles.

Permissions

Browse to the share and open the permissions (advanced) for this share.

Disable inheritance by opening Advanced Security Settings, click Disable inheritance, then choose to convert or remove inherited permissions for explicit control.

To start fresh and clean, choose “Remove all inherited permissions from this object” when disabling inheritance in Advanced Security Settings. This clears all inherited permissions, allowing you to define explicit permissions tailored to your FSLogix share requirements.

Verify these permissions are explicitly set on the SMB share folder. This ensures FSLogix can create and manage user profiles securely while maintaining administrative control.

Group Policy

To ensure you are using the most up-to-date version of FSLogix, download the latest release directly from Microsoft’s official source. Microsoft provides a dedicated link for this purpose, which always points to the newest build available. You can access it here: https://aka.ms/fslogix-latest. This guarantees that you benefit from the latest features, performance improvements, and security updates included in FSLogix, helping maintain a stable and optimized environment.

After downloading the FSLogix ADMX and ADML files, place them in the C:\Windows\PolicyDefinitions directory on your domain controller or management workstation. This location is the central store for Group Policy templates. Once the files are in place, open the Group Policy Management Console (GPMC) and create a new Group Policy Object (GPO). Link this GPO to the appropriate Organizational Unit (OU) and configure the FSLogix settings according to your environment’s requirements. This ensures consistent policy enforcement across all targeted systems.

All settings are done in: Computer Configuration -> Policies -> Administrative Templates -> FSLogix

LocationSettingValue
VHD Compact DiskEnabled
LoggingEnabledEnabled
Profile ContainersEnabledEnabled
Is Dynamic (VHD)Enabled
Keep Local Directory (after Logoff)Disabled
Profile TypeNormal Profile
Size in MBs20000
VHD Locations<new share what was made>
Container and Directory NamingVHD Name Matchprofile_%username%
VHD Name Patternprofile_%username%

Of course you can set your own policy. The goal of this to set it to the Scale-Out file server that we have setup earlier.

Testing

After creating the policy, it’s essential to validate its functionality. Since the policy is linked to the correct Organizational Unit and applies to computers, the first step is to restart the session hosts to ensure the settings are applied. Once the machines are back online, log in to Azure Virtual Desktop. During the login process, you will notice that the FSLogix App Services are actively initializing, which indicates the profile container configuration is being processed. To confirm successful implementation, navigate to the file share created earlier for FSLogix profiles. You should now see a new folder corresponding to the user’s profile, demonstrating that FSLogix is functioning correctly and storing profiles as intended.

Reasoning

I’ll admit that my first reaction to hosting FSLogix profiles on an Azure Local cluster with Scale‑Out File Server (SOFS) was skepticism. Why dedicate premium, clustered storage to what are essentially user profile files? Wouldn’t a simpler, cheaper repository be enough? After digging deeper, the picture changed.

FSLogix mounts a user’s profile as a VHD(X) over SMB at sign‑in, so storage behavior directly affects logon performance, session stability, and application responsiveness. SOFS exposes continuously available SMB shares, which means node failovers are transparent, sessions don’t collapse when the cluster rebalances. Backed by Storage Spaces Direct, the cluster aggregates disks across nodes, delivering the throughput, latency, and resilience that FSLogix’s workload patterns demand, especially with Outlook caches, Teams data, and the Windows Search index in play. Placing profiles close to compute reduces east‑west traffic and avoids the jitter you can see with remote, less performant shares.

Operationally, this approach is elegant. The file service becomes a native cluster role, so there’s no need to deploy and manage separate file‑server VMs. You gain consistent management, predictable failover behavior, and a single operational plane for capacity, networking, and lifecycle updates. When you factor in the cost of alternative architectures, extra servers, licensing, and the risk of degraded user experience, the “expensive storage for simple files” argument loses steam.

In short, for AVD on Azure Local, SOFS + S2D provides the performance, availability, and simplicity that FSLogix thrives on. It’s not just viable, it’s strategically sound.

Share and Enjoy !

Shares
Designer (23)

Stay close to the action—follow GetToThe.Cloud across social!
Deep dives and hands‑on how‑tos on Azure Local, hybrid cloud, automation, PowerShell/Bicep, AVD + FSLogix, image pipelines, monitoring, networking, and resilient design when the internet/Azure is down.

🔗 Our channels
▶️ YouTube: https://www.youtube.com/channel/UCa33PgGdXt-Dr4w3Ub9hrdQ
💼 LinkedIn Group: https://www.linkedin.com/groups/9181126/
✖️ X (Twitter): https://x.com/Gettothecloud
🎵 TikTok: https://www.tiktok.com/@gettothecloud
🐙 GitHub: https://github.com/GetToThe-Cloud/Website
💬 Slack: DM us for an invite
📲 WhatsApp: DM for the community link

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners. View more
Cookies settings
Accept
Privacy & Cookie policy
Privacy & Cookies policy
Cookie name Active

Who we are

Our website address is: https://www.gettothe.cloud

Comments

When visitors leave comments on the site we collect the data shown in the comments form, and also the visitor’s IP address and browser user agent string to help spam detection.An anonymized string created from your email address (also called a hash) may be provided to the Gravatar service to see if you are using it. The Gravatar service privacy policy is available here: https://automattic.com/privacy/. After approval of your comment, your profile picture is visible to the public in the context of your comment.

Media

If you upload images to the website, you should avoid uploading images with embedded location data (EXIF GPS) included. Visitors to the website can download and extract any location data from images on the website.

Cookies

If you leave a comment on our site you may opt-in to saving your name, email address and website in cookies. These are for your convenience so that you do not have to fill in your details again when you leave another comment. These cookies will last for one year.If you visit our login page, we will set a temporary cookie to determine if your browser accepts cookies. This cookie contains no personal data and is discarded when you close your browser.When you log in, we will also set up several cookies to save your login information and your screen display choices. Login cookies last for two days, and screen options cookies last for a year. If you select "Remember Me", your login will persist for two weeks. If you log out of your account, the login cookies will be removed.If you edit or publish an article, an additional cookie will be saved in your browser. This cookie includes no personal data and simply indicates the post ID of the article you just edited. It expires after 1 day.

Embedded content from other websites

Articles on this site may include embedded content (e.g. videos, images, articles, etc.). Embedded content from other websites behaves in the exact same way as if the visitor has visited the other website.These websites may collect data about you, use cookies, embed additional third-party tracking, and monitor your interaction with that embedded content, including tracking your interaction with the embedded content if you have an account and are logged in to that website.

Who we share your data with

If you request a password reset, your IP address will be included in the reset email.

How long we retain your data

If you leave a comment, the comment and its metadata are retained indefinitely. This is so we can recognize and approve any follow-up comments automatically instead of holding them in a moderation queue.For users that register on our website (if any), we also store the personal information they provide in their user profile. All users can see, edit, or delete their personal information at any time (except they cannot change their username). Website administrators can also see and edit that information.

What rights you have over your data

If you have an account on this site, or have left comments, you can request to receive an exported file of the personal data we hold about you, including any data you have provided to us. You can also request that we erase any personal data we hold about you. This does not include any data we are obliged to keep for administrative, legal, or security purposes.

Where we send your data

Visitor comments may be checked through an automated spam detection service.
Save settings
Cookies settings