Azure NetApp Files for AVD
Complete the full lesson to earn 25 points — 50 with Pro
Work through each section, then tap “Mark as Complete” on the last one.
✦ Skip the page breaks, the wait, and see fewer ads — read each lesson on a single page with Pro
Lesson: Implementing Azure NetApp Files for Azure Virtual Desktop (AVD)
Introduction: Why Storage Matters in AVD
When you deploy Azure Virtual Desktop (AVD), the user experience is almost entirely dependent on how quickly their profile and data can be accessed. In a modern AVD environment, we use FSLogix to store user profiles in VHDX containers. These containers effectively "attach" to the virtual machine when a user logs in. If the underlying storage cannot handle the input/output operations per second (IOPS) or the latency requirements of these profile attachments, the user will experience slow login times, application hangs, and general frustration.
This is where Azure NetApp Files (ANF) comes into play. While standard solutions like Azure Files or self-managed file servers on VMs can work for small deployments, they often hit performance bottlenecks as your user count grows. Azure NetApp Files is a high-performance, enterprise-grade storage service that provides the low latency and high throughput required for large-scale, enterprise-level AVD deployments. Understanding how to configure, optimize, and manage ANF is a critical skill for any engineer tasked with building scalable virtual desktop environments.
In this lesson, we will explore the architecture of ANF, how it integrates with AVD, the performance tiers available, and the best practices for ensuring your users have a responsive and stable desktop experience.
Understanding Azure NetApp Files Architecture
Azure NetApp Files is not just another storage account; it is a managed service built on NetApp technology, integrated directly into the Azure fabric. Unlike standard storage accounts that might share underlying infrastructure, ANF provides dedicated performance based on the capacity pool you provision.
Core Components
To work with ANF, you need to understand three primary layers of hierarchy:
- NetApp Account: This is the top-level container in the Azure subscription. It acts as the management point for your storage resources.
- Capacity Pool: This defines the performance level and the amount of storage you have available. You pay for the provisioned capacity, regardless of how much you actually use.
- Volumes: These are the actual storage endpoints where your FSLogix profiles will live. Volumes are where you set your export policies, snapshots, and protocol settings (NFS or SMB).
Callout: ANF vs. Standard Azure Files Many engineers ask why they shouldn't just use Azure Files with Premium storage. While Premium Azure Files is excellent, it operates on a different performance model. Azure NetApp Files offers sub-millisecond latency that remains consistent even under heavy load, which is crucial for the "boot storm" scenarios common in AVD environments, where hundreds of users log in simultaneously at 8:00 AM.
Performance Tiers and Sizing
Choosing the right capacity pool is perhaps the most important decision you will make. ANF offers three distinct performance tiers, each designed for different workload profiles.
- Standard: Best for backup, disaster recovery, or non-critical file shares where performance is not the primary driver. It is rarely used for primary AVD profiles unless the user base is very small and budget is the primary constraint.
- Premium: This is the "sweet spot" for most AVD deployments. It provides 64 MiB/s of throughput per 1 TiB of provisioned capacity. It is more than enough for standard office worker profiles.
- Ultra: This is for the most demanding environments, such as power users running heavy engineering applications, video editing software, or data science tools within AVD. It provides 128 MiB/s of throughput per 1 TiB.
Calculating Your Needs
To size your environment, you must calculate the total capacity and the required throughput. If you have 500 users and each profile is allocated 20 GB, you need 10 TB of capacity. If you use the Premium tier, 10 TB gives you 640 MiB/s of throughput. If your analysis shows that your users' login activity will exceed this, you must increase the capacity pool size—even if you aren't using the full 10 TB—to "buy" more throughput.
Note: You can dynamically increase the size of your capacity pool without downtime. If you find your users experiencing latency during peak hours, increasing the pool size is an immediate way to scale performance.
Step-by-Step Implementation Guide
Implementing ANF for AVD follows a structured path. Before you begin, ensure you have a virtual network (VNet) ready, as ANF creates a network interface within your VNet to provide access to the volumes.
1. Register the Resource Provider
Before you can create an ANF account, you must register the provider in your subscription.
az provider register --namespace Microsoft.NetApp
2. Create the NetApp Account
Navigate to the Azure Portal, select "Azure NetApp Files," and create a new account. This is the management container for your capacity pools.
3. Create the Capacity Pool
When creating the pool, choose your service level (Premium is recommended). Assign the size (e.g., 4 TiB). Remember, you are billed by the size of the pool, not the volume.
4. Join Active Directory (If using SMB)
AVD usually requires SMB access for FSLogix. You must configure an Active Directory connection in the ANF account settings. You will need:
- The DNS server IP addresses.
- The Active Directory domain name.
- The SMB server name (a prefix for the computer account created in AD).
- Credentials for an account with permissions to join computers to the domain.
5. Create the Volume
Create a volume inside the capacity pool. Select SMB as the protocol. You will need to provide a unique path name. Ensure you set the quota to match the expected usage of your user base.
6. Configure Permissions (Crucial Step)
Even after creating the volume, your AVD VMs will not be able to write to it unless the NTFS permissions are correct. You must mount the volume to a temporary VM or use a management workstation to set the "Modify" permissions for the group containing your AVD users.
Best Practices for AVD Profiles
Performance is not just about the storage tier; it is about how you configure FSLogix to interact with that storage.
1. Use FSLogix Profile Containers
Always use Profile Containers (VHDX) rather than Office Containers alone. This keeps the user profile data and the Office data in a single, manageable VHDX file, reducing the number of file handles and network requests.
2. Implement Cloud Cache (With Caution)
Cloud Cache is an FSLogix feature that mirrors profile data across two locations. While it adds resiliency, it also doubles the write IOPS on the storage. If you use Cloud Cache, ensure your ANF capacity pool is sized to handle the increased load.
3. Folder Redirection
Do not use Folder Redirection for items that are already inside the FSLogix container. Redirection was a solution for physical desktops and roaming profiles; in the modern AVD + ANF world, it often introduces unnecessary latency and complexity.
4. Proximity Placement Groups
If possible, deploy your AVD session hosts in a Proximity Placement Group that includes the subnet where your ANF volume resides. This reduces the physical distance (in terms of network hops) between the compute and the storage, further lowering latency.
Tip: Use the
fslogix_profilesregistry key on your session hosts to point to the UNC path of your ANF volume. Ensure your session hosts have the necessary DNS settings to resolve the SMB server name created by ANF.
Common Pitfalls and Troubleshooting
Even with a high-performance service like ANF, things can go wrong. Here are the most frequent issues engineers encounter.
The "Access Denied" Loop
If users cannot log in and see "Access Denied" errors, it is almost always an issue with the NTFS permissions on the root of the volume. Remember that the "Everyone" group usually has full control by default on new shares, but this is a security risk. You should restrict access to the specific security group containing your AVD users.
DNS Resolution Failures
ANF uses a specific computer account in Active Directory to authenticate SMB sessions. If your AVD VMs cannot resolve the FQDN of the ANF SMB endpoint, the mount will fail. Always verify that your VNet DNS settings point to your domain controllers.
Throughput Bottlenecks
If your users report slow performance, check the "Throughput" metrics in the Azure Monitor portal for your capacity pool. If you are hitting the ceiling (e.g., 64 MiB/s per TiB), you have no choice but to increase the capacity pool size to get more performance.
Volume Quota Management
Setting a volume quota is a best practice to prevent a single user or runaway process from consuming the entire capacity pool. However, if you set the quota too low, users will be unable to log in because their profile VHDX cannot expand. Monitor usage regularly.
Comparison Table: Storage Options for AVD
| Feature | Azure Files (Standard) | Azure Files (Premium) | Azure NetApp Files |
|---|---|---|---|
| Latency | Medium/High | Low | Ultra-Low (Sub-ms) |
| Throughput | Variable | Burstable | Provisioned/Guaranteed |
| Protocol | SMB/NFS | SMB/NFS | SMB/NFS |
| Scalability | High | High | Very High |
| Best For | Small/Dev environments | Medium/Large | Enterprise/Large-Scale |
Scripting and Automation
While the portal is great for learning, enterprise environments require automation. Using Azure PowerShell or the Azure CLI is the preferred way to deploy ANF volumes to ensure consistency.
Example: Creating a Volume via PowerShell
This script assumes you have already defined your variables for the resource group, account, and pool.
# Define variables
$resourceGroupName = "AVD-Storage-RG"
$accountName = "MyNetAppAccount"
$poolName = "PremiumPool"
$volumeName = "AVDProfiles"
$vnetId = "/subscriptions/.../subnets/ANF-Subnet"
# Create the volume
New-AzNetAppFilesVolume -ResourceGroupName $resourceGroupName `
-AccountName $accountName `
-PoolName $poolName `
-Name $volumeName `
-Location "EastUS" `
-UsageThreshold 1099511627776 `
-SubnetId $vnetId `
-CreationToken "avd-profiles-token" `
-ServiceLevel "Premium" `
-ProtocolType "SMB"
Explanation:
-UsageThreshold: This is set in bytes (1 TiB in this example).-CreationToken: This is the unique identifier for the volume path.-ProtocolType: Set to SMB to ensure compatibility with FSLogix.
Advanced Management: Snapshots and Replication
One of the hidden benefits of using Azure NetApp Files is the native snapshot capability. Unlike traditional backups that take hours, ANF snapshots are near-instantaneous and do not impact performance.
Snapshot Policies
You can create a snapshot policy that automatically takes snapshots of your user profiles. If a user accidentally deletes a file or a profile becomes corrupted, you can restore just that individual file or the entire VHDX from the snapshot in seconds.
Cross-Region Replication
For high-availability requirements, you can replicate your ANF volumes to a different Azure region. If an entire region goes down, you can fail over your AVD environment to the secondary region and mount the replicated volumes. This is a powerful feature for disaster recovery planning.
Warning: Replication is not a substitute for a backup. While it protects against regional failure, it does not protect against accidental data deletion unless you also maintain snapshot policies at the destination.
Securing Your Storage
Security is paramount when dealing with user profiles, as they contain sensitive documents and application data.
- Network Security Groups (NSGs): Apply NSGs to the subnet where ANF resides. Only allow traffic from your AVD session host subnets on port 445 (SMB).
- Encryption: ANF encrypts data at rest by default using AES-256. You do not need to configure this, but you should document it for your compliance audits.
- RBAC: Use Azure Role-Based Access Control to limit who can manage the NetApp account. Only senior storage admins should have the "Contributor" role for the storage resources.
Managing the "Boot Storm" Scenario
We mentioned the "boot storm" earlier—the moment at 8:00 AM when hundreds of employees log in simultaneously. During this time, every VM is trying to read its FSLogix profile, potentially creating thousands of IOPS.
ANF handles this gracefully because of its deterministic performance. In a standard file server, the CPU and memory of the server often become the bottleneck. With ANF, the performance is tied to the capacity pool throughput. As long as your pool is sized correctly, the latency will remain flat, allowing users to reach their desktop in a predictable timeframe.
If you are seeing slow logins, look at the FSLogix logs on the session host. They will tell you exactly how long the profile attachment took. If it's over 10-15 seconds, your storage latency is likely the culprit.
Industry Best Practices Summary
- Standardize your folder structure: Create a clear naming convention for your volumes (e.g.,
prod-avd-profiles-01). - Monitor your capacity: Use Azure Monitor alerts to notify you when a capacity pool reaches 80% usage.
- Use dedicated subnets: Always place your ANF volume endpoints in a dedicated subnet that is separate from your AVD session hosts.
- Perform regular health checks: Check the "Active Directory" status in the ANF account settings to ensure the computer account is still healthy and the trust relationship is intact.
- Document your NTFS permissions: Since these are managed outside of the Azure Portal, keep a record of which groups have access to which volumes.
Common Questions (FAQ)
Q: Can I change the service level of a capacity pool after I create it? A: Yes, you can dynamically change the service level (e.g., from Premium to Ultra) without downtime. This is useful if you have an unexpected increase in workload demand.
Q: Does ANF work with non-domain joined AVD hosts? A: ANF requires an Active Directory connection for SMB authentication. If your AVD environment is purely Entra ID joined (without a line-of-sight to AD), you will face significant challenges using SMB. Ensure your architecture supports hybrid identity if you intend to use ANF.
Q: How many volumes can I have in a single capacity pool? A: You can have up to 500 volumes per capacity pool. This is usually more than enough for even the largest AVD deployments.
Q: Is ANF expensive? A: It is a premium service, so it carries a higher cost than basic Azure Files. However, when you factor in the reduction in support tickets related to slow logins and the improved user productivity, it often provides better overall value for enterprise environments.
Conclusion: Key Takeaways
Azure NetApp Files is a transformative tool for AVD administrators. By shifting from standard file shares to a high-performance, enterprise-grade storage solution, you remove the biggest bottleneck in virtual desktop performance: storage latency.
Here are the critical points to remember:
- Performance is Provisioned: Your throughput is tied to the size of your capacity pool. If you need more speed, you must increase the pool size, even if you don't need the extra storage space.
- Latency is King: FSLogix requires the low, consistent latency that only services like ANF can provide during high-concurrency "boot storm" scenarios.
- Permissions Matter: ANF provides the plumbing, but you must manually configure the NTFS permissions on the volume to ensure your AVD users can access their profiles.
- Automation is Essential: Use PowerShell or CLI to deploy your infrastructure to ensure that your naming conventions, capacity pools, and volume settings remain consistent across environments.
- Leverage Snapshots: Use the built-in snapshot capabilities for near-instant data recovery rather than relying on traditional, slow backup methods.
- Monitor Proactively: Set alerts on your capacity pool usage and throughput metrics so you can scale before your users experience performance degradation.
- Right-Size for the Future: Don't just size for your current user count; plan for the growth of your AVD environment to ensure your storage performance keeps pace with your business needs.
By mastering Azure NetApp Files, you are ensuring that your AVD infrastructure is built on a foundation of reliability and speed, providing the best possible experience for your end users.
Reach the last section to complete this lesson and earn points — you're on section 1 of 11.
- Network Capacity and Speed Requirements
- Network Capacity and Speed Requirements Quiz5q
- Network Configuration for Session Hosts
- Network Configuration for Session Hosts Quiz5q
- RDP Shortpath and Multipath
- RDP Shortpath and Multipath Quiz5q
- Quality of Service Policies
- Quality of Service Policies Quiz5q
- Azure Private Link for AVD
- Azure Private Link for AVD Quiz5q
- Network Connectivity Troubleshooting
- Network Connectivity Troubleshooting Quiz5q
- Resource Groups and Subscriptions
- Resource Groups and Subscriptions Quiz5q
- Operating System Selection
- Operating System Selection Quiz5q
- Licensing Models for AVD
- Licensing Models for AVD Quiz5q
- Host Pool Architecture
- Host Pool Architecture Quiz5q
- Performance Configuration
- Performance Configuration Quiz5q
- VM Capacity Requirements
- VM Capacity Requirements Quiz5q
- Create Host Pools via Portal
- Create Host Pools via Portal Quiz5q
- Automate with PowerShell and CLI
- Automate with PowerShell and CLI Quiz5q
- ARM Templates and Bicep
- ARM Templates and Bicep Quiz5q
- Host Pool and Session Host Settings
- Host Pool and Session Host Settings Quiz5q
- Session Host Licensing
- Session Host Licensing Quiz5q
- Identity Scenarios Overview
- Identity Scenarios Overview Quiz5q
- AD DS and Microsoft Entra ID
- AD DS and Microsoft Entra ID Quiz5q
- Microsoft Entra Domain Services
- Microsoft Entra Domain Services Quiz5q
- Azure RBAC for AVD
- Azure RBAC for AVD Quiz5q
- Conditional Access Policies
- Conditional Access Policies Quiz5q
- Authentication Options
- Authentication Options Quiz5q
- Single Sign-On Configuration
- Single Sign-On Configuration Quiz5q
- Microsoft Defender for Cloud
- Microsoft Defender for Cloud Quiz5q
- Microsoft Defender Antivirus
- Microsoft Defender Antivirus Quiz5q
- Microsoft Defender for Endpoint
- Microsoft Defender for Endpoint Quiz5q
- Network Security for AVD
- Network Security for AVD Quiz5q
- Azure Bastion and JIT Access
- Azure Bastion and JIT Access Quiz5q
- Windows Threat Protection
- Windows Threat Protection Quiz5q
- Confidential VMs and Trusted Launch
- Confidential VMs and Trusted Launch Quiz5q
- AVD Client Selection
- AVD Client Selection Quiz5q
- Client Deployment Methods
- Client Deployment Methods Quiz5q
- Device Redirection
- Device Redirection Quiz5q
- Multimedia Redirection
- Multimedia Redirection Quiz5q
- Printing and Universal Print
- Printing and Universal Print Quiz5q
- RDP Properties Configuration
- RDP Properties Configuration Quiz5q
- Start VM on Connect
- Start VM on Connect Quiz5q
- Session Timeout Properties
- Session Timeout Properties Quiz5q
- Personal Desktop Assignment
- Personal Desktop Assignment Quiz5q
- Application Deployment Methods
- Application Deployment Methods Quiz5q
- Application Groups
- Application Groups Quiz5q
- RemoteApp Publishing
- RemoteApp Publishing Quiz5q
- Microsoft 365 Apps
- Microsoft 365 Apps Quiz5q
- OneDrive Configuration
- OneDrive Configuration Quiz5q
- Microsoft Teams on AVD
- Microsoft Teams on AVD Quiz5q
- App Attach Configuration
- App Attach Configuration Quiz5q
- Browser Configuration
- Browser Configuration Quiz5q
- Log Collection and Analysis
- Log Collection and Analysis Quiz5q
- Azure Monitor for AVD
- Azure Monitor for AVD Quiz5q
- AVD Insights Workbooks
- AVD Insights Workbooks Quiz5q
- Session Host Optimization
- Session Host Optimization Quiz5q
- Autoscaling Host Pools
- Autoscaling Host Pools Quiz5q
- Session and Application Management
- Session and Application Management Quiz5q
- Session Host Update Strategy
- Session Host Update Strategy Quiz5q
- Disaster Recovery Planning
- Disaster Recovery Planning Quiz5q
- Multi-Region Implementation
- Multi-Region Implementation Quiz5q
- Backup Strategy for AVD
- Backup Strategy for AVD Quiz5q
- FSLogix Profile Backup
- FSLogix Profile Backup Quiz5q
- Image Backup and Restore
- Image Backup and Restore Quiz5q
Enjoying the courses?
Everything stays free. Pro shows fewer ads, doubles the points you earn on every lesson and quiz so you progress twice as fast, unlocks half of every practice exam — plus full case studies — with the Learn & Exam study modes, and lets you read each lesson on one page.
- ✓ Fewer advertisements
- ✓ 2× points per lesson & quiz
- ✓ 50% of every exam unlocked
- ✓ Learn & Exam modes
- ✓ Distraction-free lessons