🔒 Guided

Pre-launch preview. Authorised access only.

Incorrect code

Guided by A Guide to Cloud
Explore AB-900 AI-901
Guided AZ-140 Domain 3
Domain 3 — Module 1 of 7 14%
18 of 28 overall

AZ-140 Study Guide

Domain 1: Plan and Implement an AVD Infrastructure

  • AVD Architecture: The Big Picture Free
  • Network Capacity and Design Free
  • RDP Shortpath, Multipath and QoS Free
  • Private Link and Network Troubleshooting Free
  • Storage Planning for User Data Free
  • File Shares and Azure NetApp Files Free
  • Host Pool Architecture: Personal vs Pooled Free
  • Sizing for Performance and Capacity Free
  • Creating Host Pools and Session Hosts Free
  • Session Host Licensing Free
  • Building Session Host Images Free
  • Image Lifecycle and Compute Gallery Free

Domain 2: Plan and Implement Identity and Security

  • Identity Scenarios for AVD
  • RBAC, Conditional Access and SSO
  • Defending AVD with Microsoft Defender
  • Network Security: NSGs, Firewall, Bastion
  • Threat Protection and Confidential VMs

Domain 3: Plan and Implement User Environments and Apps

  • FSLogix Profile Containers and ODFC
  • FSLogix Cloud Cache and Application Masking
  • AVD Clients: Choose and Deploy
  • User Experience and Session Settings
  • Application Groups and RemoteApp
  • Microsoft 365, Teams and OneDrive on AVD
  • App Attach: Dynamic Application Delivery

Domain 4: Monitor and Maintain an AVD Infrastructure

  • Monitoring AVD with Azure Monitor
  • Autoscaling and Session Management
  • Update Strategy and Backups
  • Disaster Recovery and Multi-Region

AZ-140 Study Guide

Domain 1: Plan and Implement an AVD Infrastructure

  • AVD Architecture: The Big Picture Free
  • Network Capacity and Design Free
  • RDP Shortpath, Multipath and QoS Free
  • Private Link and Network Troubleshooting Free
  • Storage Planning for User Data Free
  • File Shares and Azure NetApp Files Free
  • Host Pool Architecture: Personal vs Pooled Free
  • Sizing for Performance and Capacity Free
  • Creating Host Pools and Session Hosts Free
  • Session Host Licensing Free
  • Building Session Host Images Free
  • Image Lifecycle and Compute Gallery Free

Domain 2: Plan and Implement Identity and Security

  • Identity Scenarios for AVD
  • RBAC, Conditional Access and SSO
  • Defending AVD with Microsoft Defender
  • Network Security: NSGs, Firewall, Bastion
  • Threat Protection and Confidential VMs

Domain 3: Plan and Implement User Environments and Apps

  • FSLogix Profile Containers and ODFC
  • FSLogix Cloud Cache and Application Masking
  • AVD Clients: Choose and Deploy
  • User Experience and Session Settings
  • Application Groups and RemoteApp
  • Microsoft 365, Teams and OneDrive on AVD
  • App Attach: Dynamic Application Delivery

Domain 4: Monitor and Maintain an AVD Infrastructure

  • Monitoring AVD with Azure Monitor
  • Autoscaling and Session Management
  • Update Strategy and Backups
  • Disaster Recovery and Multi-Region
Domain 3: Plan and Implement User Environments and Apps Premium ⏱ ~16 min read

FSLogix Profile Containers and ODFC

In pooled AVD environments, users lose their profile every time they log off. FSLogix fixes this by storing profiles in VHD(X) files that follow users between session hosts. Learn how Profile Containers and Office Data File Containers work, when to use each, and how to configure them.

Why FSLogix exists

☕ Simple explanation

Think of it as a portable locker for your stuff.

Imagine you work in an office where you never sit at the same desk twice. Every morning, you get a random desk — completely empty. Your photos, files, browser bookmarks, everything is gone. That would be awful, right?

FSLogix gives each user a personal locker (a virtual hard disk). When you sit down at any desk, the locker opens and all your stuff appears — your desktop, your Outlook emails, your browser favourites. When you leave, the locker locks and waits for you to sit at any other desk tomorrow.

FSLogix Profile Containers solve the fundamental problem of profile roaming in non-persistent (pooled) AVD environments. Without FSLogix, users connecting to pooled host pools get a temporary local profile that is deleted at logoff — they lose settings, Outlook cache, browser data, and desktop customisations every session.

FSLogix stores the entire user profile inside a VHD or VHDX virtual disk file on a network share (Azure Files, Azure NetApp Files, or SMB share). At sign-in, FSLogix mounts this disk and redirects the profile path to it. The user experience is seamless — Windows behaves as if the profile is local, but data persists between sessions and across different session hosts.

Microsoft acquired FSLogix in 2018 and included it free with most Microsoft 365 and Windows Enterprise licenses — no additional cost for AVD deployments.

The profile problem in pooled environments

Without FSLogix in a pooled host pool, here is what happens:

  1. User logs into session host VM-01 and gets a new local profile
  2. They configure Outlook, set a wallpaper, save files to the desktop
  3. User logs off — the profile is deleted (non-persistent)
  4. Next day, user logs into session host VM-03 (load balancer assigned a different VM)
  5. They get another blank profile — all yesterday’s work and settings are gone

🎧 Mia’s nightmare: “Before FSLogix, Dr. Patel called the help desk every Monday morning. Her Outlook had to rebuild the OST cache from scratch — a 4-minute process before she could read a single email. Multiply that by 12 clinics and 200 clinicians. We were drowning in tickets.”

FSLogix eliminates this entirely. The profile VHD(X) follows the user regardless of which session host they land on.

Profile Container — the full package

A Profile Container captures the entire user profile in a single VHD(X) file:

  • Desktop, Documents, Downloads, Pictures
  • AppData (application settings, browser data, cached credentials)
  • Outlook OST file and search index
  • Teams cache
  • OneDrive hydration state
  • Start menu layout and taskbar customisations
  • Registry hives (NTUSER.DAT)

How it works

  1. User signs in to a session host
  2. FSLogix checks the configured VHDLocations network path
  3. FSLogix finds (or creates) the user’s VHD(X) file
  4. The VHD(X) is mounted to the session host
  5. Windows profile path is redirected to the mounted disk
  6. User sees their full profile — as if it were local
  7. At sign-out, the VHD(X) is cleanly unmounted

🏢 Raj’s migration: “TerraStack was running Citrix with roaming profiles. Sign-in took 90 seconds. We switched to FSLogix Profile Containers and dropped to 15 seconds. Andrea, the CIO, thought I was exaggerating until she timed it herself.”

Office Data File Container (ODFC)

The Office Data File Container (ODFC) stores only Microsoft Office data in a separate VHD(X):

  • Outlook OST file and search index
  • Teams cache and meeting data
  • OneDrive cache and hydration state
  • OneNote notebooks cache
  • Office activation data

Everything else (desktop files, browser data, app settings) stays in the regular profile.

When to use ODFC instead of Profile Container

ScenarioRecommendation
Standard AVD pooled deploymentProfile Container (default, simplest)
Already have a profile solution (UPM, UE-V) and only need Office roamingODFC only
Need Office data to roam but want profiles managed separatelyODFC only
Want both complete profile AND separate Office data managementProfile Container + ODFC together
Profile Container vs Office Data File Container (ODFC)
FeatureProfile ContainerODFC
What it storesEntire user profile (everything)Only Microsoft Office data
VHD(X) contentsDesktop, Documents, AppData, Outlook, Teams, registryOutlook OST, Teams cache, OneDrive cache, OneNote
Default size30 GB30 GB
Registry keyEnabled = 1 under Profiles keyEnabled = 1 under ODFC key
Storage path keyVHDLocationsVHDLocations (under ODFC key)
Use with other profile solutionsNo — it IS the profile solutionYes — pair with UPM, UE-V, or other roaming
Typical use caseMost AVD deployments (recommended default)Hybrid scenarios with existing profile management
Can run togetherYes — ODFC stores Office data in a separate VHDYes — supplements Profile Container or other solutions
💡 Exam tip: Profile Container is the default recommendation

Unless the question specifically mentions an existing profile management solution (Citrix UPM, Microsoft UE-V) that needs to be retained, the answer is almost always Profile Container. ODFC is the niche choice — used when you already have a working profile solution and just need to add Office data roaming on top.

If the exam says “new AVD deployment” — think Profile Container. If it says “existing profile solution, need to add Outlook and Teams roaming” — think ODFC.

Configuring FSLogix — the key registry settings

FSLogix is configured through registry keys under HKLM\SOFTWARE\FSLogix\Profiles (for Profile Container) or HKLM\SOFTWARE\FSLogix\ODFC (for ODFC).

Registry ValueTypeWhat It DoesExample
EnabledDWORDTurns FSLogix on (1) or off (0)1
VHDLocationsMULTI_SZNetwork path(s) where VHD(X) files are stored\\storageaccount.file.core.windows.net\profiles
SizeInMBsDWORDMaximum size of the VHD(X) file30000 (30 GB)
VolumeTypeREG_SZVHD or VHDX formatVHDX
FlipFlopProfileDirectoryNameDWORDPuts username first in folder name (1 = SID_username becomes username_SID)1
ProfileTypeDWORDControls concurrent access behaviour0
DeleteLocalProfileWhenVHDShouldApplyDWORDRemoves cached local profiles when FSLogix should take over1

VHD vs VHDX format

FeatureVHDVHDX
Max size2 TB64 TB
Corruption resilienceLower — no journalHigher — metadata journaling
PerformanceStandardBetter I/O performance
RecommendationLegacy onlyAlways use VHDX

Set VolumeType to VHDX — there is no reason to use VHD in new deployments.

ProfileType — concurrent access

ValueBehaviourWhen to Use
0Normal — single concurrent connection onlyDefault for most pooled environments
1Read-write access with multiple connectionsRare — multi-session with write access
3Read-only — prevents profile writesSpecific lockdown scenarios
ℹ️ Deep dive: FlipFlopProfileDirectoryName

By default, FSLogix names profile directories as SID_Username (e.g., S-1-5-21-xxx_rpatel). Setting FlipFlopProfileDirectoryName = 1 changes this to Username_SID (e.g., rpatel_S-1-5-21-xxx).

Why does this matter? When browsing the file share to troubleshoot, finding a user’s profile by username is much faster than searching by SID. Microsoft recommends enabling this setting — it is purely a naming convention change with no functional impact.

NTFS permissions for profile shares

Getting permissions right is critical for security and functionality:

On the Azure Files share or SMB share:

IdentityShare PermissionNTFS Permission
Creator Owner—Modify (this folder, subfolders, files)
Domain Users / AVD users groupStorage File Data SMB Share ContributorModify (this folder only)
AdministratorsStorage File Data SMB Share Elevated ContributorFull Control

The key principle: each user has Modify access to their own profile folder only. Other users cannot read or access anyone else’s profile VHD(X). FSLogix creates the user’s folder on first sign-in with the correct permissions inherited from Creator Owner.

Profile container sizing

The default 30 GB is a starting point. Adjust based on workload:

Workload TypeRecommended SizeWhy
Task workers (data entry, call centre)10-15 GBSmall profiles, minimal Office data
Knowledge workers (M365 heavy)30 GB (default)Outlook OST, OneDrive cache, Teams
Power users (developers, analysts)50-100 GBLarge datasets, multiple app caches
Healthcare (Mia’s clinicians)20-30 GBModerate Outlook use, clinical app settings

🎧 Mia’s sizing lesson: “We started at 30 GB for everyone. Then we found night-shift nurses only used 3 GB, but radiologists hit 25 GB from PACS viewer caches. We created two groups with different SizeInMBs policies. Support tickets dropped by half.”

Question

What does FSLogix Profile Container store?

Click or press Enter to reveal answer

Answer

The entire user profile — Desktop, Documents, AppData, Outlook OST, Teams cache, OneDrive state, registry hives, Start menu layout. Everything that makes up a Windows user profile is captured in a single VHD(X) file.

Click to flip back

Question

When would you use ODFC instead of a full Profile Container?

Click or press Enter to reveal answer

Answer

When you already have an existing profile management solution (like Citrix UPM or Microsoft UE-V) handling the general profile, and you only need to add Office data roaming (Outlook OST, Teams cache, OneDrive) on top.

Click to flip back

Question

What is the recommended VHD format for FSLogix, and why?

Click or press Enter to reveal answer

Answer

VHDX. It supports larger maximum sizes (64 TB vs 2 TB), has metadata journaling for better corruption resilience, and provides improved I/O performance over the legacy VHD format.

Click to flip back

Question

What does FlipFlopProfileDirectoryName do?

Click or press Enter to reveal answer

Answer

Changes the profile folder naming from SID_Username to Username_SID (e.g., from S-1-5-21-xxx_rpatel to rpatel_S-1-5-21-xxx). This makes it easier for admins to find a user's profile folder when troubleshooting.

Click to flip back

Knowledge Check

Mia is deploying FSLogix for Horizons Health Group's pooled AVD environment. This is a new deployment with no existing profile management. She wants complete profile roaming for all clinicians. What should she configure?

Knowledge Check

Raj is configuring FSLogix for TerraStack's pooled host pool. He wants profiles stored on an Azure Files share at \\\\terrastack.file.core.windows.net\\profiles using VHDX format with a 50 GB limit. Which registry values must he set under HKLM\\SOFTWARE\\FSLogix\\Profiles?

Knowledge Check

Which NTFS permission model is correct for an FSLogix profile share?

🎬 Video coming soon

FSLogix Profile Containers and ODFC


Next up: FSLogix Cloud Cache and Application Masking — add high availability to profiles with Cloud Cache and control which apps users see with application masking.

← Previous

Threat Protection and Confidential VMs

Next →

FSLogix Cloud Cache and Application Masking

Guided

I learn, I simplify, I share.

A Guide to Cloud YouTube Feedback

© 2026 Sutheesh. All rights reserved.

Guided is an independent study resource and is not affiliated with, endorsed by, or officially connected to Microsoft. Microsoft, Azure, and related trademarks are property of Microsoft Corporation. Always verify information against Microsoft Learn.