Set up a file share for MSIX app attach
All MSIX images must be stored on a network share that can be accessed by users in a host pool with read-only permissions.
MSIX app attach doesn't have any dependencies on the type of storage fabric the file share uses. The considerations for the MSIX app attach share are same as those for an FSLogix share. To learn more about storage requirements, see Storage options for FSLogix profile containers in Azure Virtual Desktop.
MSIX app attach image size limits for your system depend on the storage type you're using to store the VHD or VHDx files, as well as the size limitations of the VHD, VHDX or CIM files and the file system.
The following table gives an example of how many resources a single 1 GB MSIX image with one MSIX app inside of it requires for each VM:
|Steady state IOPs||1 IOPs|
|Machine boot sign in||10 IOPs|
Requirements can vary widely depending how many MSIX-packaged applications are stored in the MSIX image. For larger MSIX images, you'll need to allocate more bandwidth.
Azure offers multiple storage options that can be used for MISX app attach. We recommend using Azure Files or Azure NetApp Files as those options offer the best value between cost and management overhead. The article Storage options for FSLogix profile containers in Azure Virtual Desktop compares the different managed storage solutions Azure offers in the context of Azure Virtual Desktop.
Optimize MSIX app attach performance
Here are some other things we recommend you do to optimize MSIX app attach performance:
The storage solution you use for MSIX app attach should be in the same datacenter location as the session hosts.
To avoid performance bottlenecks, exclude the following VHD, VHDX, and CIM files from antivirus scans:
Separate the storage fabric for MSIX app attach from FSLogix profile containers.
All VM system accounts and user accounts must have read-only permissions to access the file share.
Any disaster recovery plans for Azure Virtual Desktop must include replicating the MSIX app attach file share in your secondary failover location. To learn more about disaster recovery, see Set up a business continuity and disaster recovery plan.
How to set up the file share
The setup process for MSIX app attach file share is largely the same as the setup process for FSLogix profile file shares. However, you'll need to assign users different permissions. MSIX app attach requires read-only permissions to access the file share.
If you're storing your MSIX applications in Azure Files, then for your session hosts, you'll need to assign all session host VMs both storage account role-based access control (RBAC) and file share New Technology File System (NTFS) permissions on the share.
|Azure object||Required role||Role function|
|Session host (VM computer objects)||Storage File Data SMB Share Contributor||Read and Execute, Read, List folder contents|
|Admins on File Share||Storage File Data SMB Share Elevated Contributor||Full control|
|Users on File Share||Storage File Data SMB Share Contributor||Read and Execute, Read, List folder contents|
To assign session host VMs permissions for the storage account and file share:
Create an Active Directory Domain Services (AD DS) security group.
Add the computer accounts for all session host VMs as members of the group.
Sync the AD DS group to Azure Active Directory (Azure AD).
Create a storage account.
Create a file share under the storage account by following the instructions in Create an Azure file share.
Join the storage account to AD DS by following the instructions in Part one: enable AD DS authentication for your Azure file shares.
Assign the synced AD DS group to Azure AD, and assign the storage account the Storage File Data SMB Share Contributor role.
Mount the file share to any session host by following the instructions in Part two: assign share-level permissions to an identity.
Grant NTFS permissions on the file share to the AD DS group.
Set up NTFS permissions for the user accounts. You'll need an operating unit (OU) sourced from the AD DS that the accounts in the VM belong to.
Once you've assigned the identity to your storage, follow the instructions in the articles in Next steps to grant other required permissions to the identity you've assigned to the VMs.
You'll also need to make sure your session host VMs have New Technology File System (NTFS) permissions. You must have an operational unit container that's sourced from Active Directory Domain Services (AD DS), and your users must be members of that operational unit to use these permissions.
Here are the other things you'll need to do after you've set up the file share:
- Learn how to set up Azure Active Directory Domain Services (AD DS) at Create a profile container with Azure Files and AD DS.
- Learn how to set up Azure Files and Azure AD DS at Create a profile container with Azure Files and Azure AD DS.
- Learn how to set up Azure NetApp Files for MSIX app attach at Create a profile container with Azure NetApp Files and AD DS.
- Learn how to use a virtual machine-based file share at Create a profile container for a host pool using a file share.
Once you're finished, here are some other resources you might find helpful: