MSIX App Attach in Azure Virtual Desktop Baking every application into an AVD session host image works until it doesn't. One Office add-in update means a new image, a test cycle, a change ticket, and a host pool rollout. Meanwhile, one team needs a tool that another team shouldn't see.

MSIX App Attach separates application delivery from the Windows image. This guide covers the terminology, architecture, prerequisites, deployment steps, assignment, security, and troubleshooting. Always confirm portal and PowerShell steps against current Microsoft documentation, since this feature has changed quickly.

Key Takeaways

  • MSIX is the package format; App Attach is how AVD delivers it.
  • Success depends on signing trust, storage access, identity, and correct assignments.
  • App Attach simplifies updates but doesn't replace compatibility testing.
  • Microsoft's legacy model was deprecated June 1, 2025, so build on the current one.

What Is MSIX App Attach in Azure Virtual Desktop?

What is an MSIX package?

Microsoft calls MSIX "the modern Windows app packaging format." A package holds the application files, a manifest, identity and publisher data, version information, and declared dependencies.

Two file types matter. A .msix is a single application package. A .msixbundle is a container of multiple packages, such as architecture or resource variants. App Attach accepts both.

An MSIX package is not a disk image. For App Attach, the package is expanded into an image (CIM, VHDX, or VHD), and that image is what session hosts mount.

What is MSIX App Attach?

App Attach dynamically attaches packaged applications to AVD sessions without installing them into the host image. Microsoft's overview lists fewer custom-image requirements and lower operational overhead as the main benefits. Packages can also be reused across host pools.

Users launch and use the app like a locally installed one. Administrators maintain packages separately from the host image.

Why organizations use it

  • Fewer image rebuilds for application changes
  • Different app combinations on the same shared session hosts
  • Simpler versioning, with a new version available at next sign-in
  • Per-user and per-group assignment

These fit regulated environments with controlled change processes, contractor or seasonal access, and IT teams supporting several application sets. A pharmacy-system tool for one group no longer forces a new golden image for everyone.

When it may not be a good fit

Microsoft documents specific limits for MSIX packaging:

  • Windows drivers are unsupported.
  • Per-user services are unsupported; per-machine services running as LocalSystem, LocalService, or NetworkService are supported.
  • Writes to the install directory are unsupported. Local application data is the alternative.

Apps with complex installers, unusual licensing, or heavy local-write needs may belong in the base image. Check Microsoft's current packaging guidance before ruling an application in or out.

How Does MSIX App Attach Work?

The end-to-end delivery flow

  1. Package the application (MSIX Packaging Tool converts MSI, EXE, and script-based installers) and sign it.
  2. Expand it into an image with MSIXMGR.
  3. Store the image on an SMB share.
  4. Add the image as an App Attach package in AVD and set it active.
  5. Assign it to a host pool and to users or groups.
  6. Validate in a real session.

Six-step MSIX App Attach delivery flow from packaging to validation

Packaging happens in your build environment. Registration and assignment happen in the Azure control plane. The share holds the data. The session host mounts it.

Core components

  • Signed package and manifest: identity, publisher, version, dependencies
  • Signing certificate: must chain to a trusted root on hosts
  • Storage: an SMB share holding the image
  • Host pool and session hosts: where images mount
  • Application group: Desktop or RemoteApp access
  • User identity: individual users or groups

Control plane and data plane are separate. Registering an image in Azure doesn't guarantee hosts can read it. Each host computer needs read access at both the share and NTFS levels.

Registration is on-demand by default: partial at sign-in, full at first launch. Log-on blocking registers fully during sign-in but may lengthen it.

Prerequisites to verify

Area Requirement
Client OS 64-bit Windows 11 or 10 Enterprise, including multi-session
Server OS Windows Server 2022/2025, supported from April 14, 2026
Host join Microsoft Entra-joined or AD DS-joined; Entra Domain Services unsupported
Individual users Hybrid accounts synced from AD DS; groups do not need to be hybrid
Region SMB share and hosts in the same region
Admin role Desktop Virtualization Contributor on the resource group, at minimum
Tooling Portal or PowerShell (Az.DesktopVirtualization 4.2.1+); Azure CLI unsupported

Confirm licensing (for example Microsoft 365 E3/E5, Windows Enterprise E3/E5, or Windows VDA per user) per Microsoft's prerequisites. Also confirm network connectivity to the share, at least one powered-on host, and a test user or group.

Signing, trust, and dependencies

Hosts need a valid code-signing certificate with full-chain trust. Self-signed certificates work with appropriate trust. For a bundle, only the bundle needs signing.

Plan for expiration. Timestamping lets a package stay valid past certificate expiry. Without it, you must re-sign with a valid certificate and re-establish trust. Document who holds the private key.

Framework dependencies are declared in the manifest through PackageDependency, and current App Attach setup doesn't promise automatic resolution.

Test them on the same host type you run in production. When discovery returns multiple packages, setup uses PackageFullName to choose the x64 or x86 variant.

Storage, identity, and security considerations

Azure Files is the recommended storage. Apply least privilege:

  • Read-only access for host computer accounts
  • Tightly limited write access for package admins
  • SMB 3.x encryption in transit (Azure Files also encrypts at rest with Microsoft-managed keys by default)
  • Monitoring on the share

Creating a private endpoint does not disable public access, so Microsoft's share security guidance still applies. For Entra-joined hosts, grant Reader and Data Access to both the Azure Virtual Desktop and Azure Virtual Desktop ARM Provider service principals. The storage account and VMs must share a subscription.

Sizing scales by VM, not by user. With CIM, three file handles per mounting VM means 100 VMs use 300 handles. Beyond roughly 2,000 VMs per app, handles may run out.

MSIX App Attach storage handle scaling by virtual machine count

How to Deploy MSIX App Attach in AVD

Plan the application and assignment model

Start with an inventory covering:

  • Package owner and target users
  • Dependencies, licensing, and update cadence
  • Architecture and delivery type (full desktop or RemoteApp)

A simple persona map helps. For example, Git might go only to engineers while Office staff get collaboration tools.

Define test, pilot, production, and rollback paths before touching a production host pool.

Create, validate, and sign the package

  1. Capture only the required install activity with the MSIX Packaging Tool.
  2. Review the manifest: publisher, version, and dependencies.
  3. Test on a clean machine matching your session hosts.
  4. Sign with an organizationally trusted certificate.
  5. Confirm the chain is trusted on target hosts.

Five-step MSIX package creation validation and signing workflow

Prepare the image

Use MSIXMGR to create the image. Microsoft recommends CIM for Windows 11 hosts and VHDX over VHD.

Create CIM files on a Windows version no newer than your hosts, since Windows 11-generated CIMs may fail on Windows 10. Microsoft's example:

msixmgr.exe -Unpack -packagePath "C:\msix\myapp.msix" -destination "C:\msix\myapp\myapp.cim" -applyACLs -create -fileType cim -rootDirectory apps

Validate parameters against the current image guide before use. Record the package version, image name, checksum, storage path, and preparation date.

Place the image in storage

  • Copy the image to the SMB share in a versioned folder structure
  • Grant every host computer object read access at share and NTFS levels
  • Block write access for everyone but package admins
  • Verify hosts can reach the share at logon

Register and assign in AVD

"Linking an app" means these steps, in the portal or PowerShell:

  1. Add the App Attach package, pointing to the image path.
  2. Select the package from discovery, and set metadata and active state.
  3. Assign it to the host pool.
  4. Assign users or groups (needs Microsoft.Authorization/roleAssignments/write on the application group).
  5. Confirm the user also has a Desktop or RemoteApp application group.

For full desktop, don't add the MSIX app to the desktop application group. For RemoteApp, also add it to a RemoteApp application group.

Validate the deployment

  • Test both desktop and RemoteApp if both are in scope
  • Check launch, dependencies, and profile behavior
  • Verify file associations, printing, clipboard, and licensing
  • Test reconnects and confirm only intended users see the app
  • Test on a second session host
  • Review Windows and AVD logs

Six-area MSIX App Attach deployment validation checklist

Best Practices for Managing and Troubleshooting MSIX App Attach

Manage versions and updates safely

Use a clear versioning convention. An in-place update keeps assignments but requires a changed application version. A side-by-side update creates a separate app. New versions appear at next sign-in, and existing users do not need to stop using the old one.

Keep the previous image until nobody is using it. Microsoft's current documentation does not describe a dedicated rollback operation, so plan your own: remove the assignment or restore the prior package.

Troubleshoot systematically

Work through failure stages in order: package, certificate, storage, host permissions, registration, assignment, dependencies, launch, profile.

Collect:

  • Exact package version and affected session host
  • User and assignment details
  • Certificate details
  • Windows log: Applications and Services Logs > Microsoft > Windows > AppxDeployment-Server > Operational
  • Storage access results

Useful codes from Microsoft's MSIX troubleshooting:

  • 0x80073CF6: registration failure
  • 0x80073D02: packages in use
  • 0x8007000D: corrupt data or publisher/certificate mismatch

Three common MSIX App Attach error codes and meanings

Mounting the image as NT AUTHORITY\SYSTEM isolates host access problems. The App Attach health check also reports staging service failures.

Apply governance and get specialist help

Tie package approvals, certificate renewal, access reviews, and rollback decisions to your change-management process. NIST SP 800-53 controls such as CM-3 (change control) and CM-14 (signature verification) map well to package workflows.

If your team lacks AVD or packaging depth, TechSogna offers AVD assessment, deployment, security hardening, As-Built documentation, and business-hours co-management (Mon-Fri 9-6 CT). Fixed-fee health checks start at $3,500.

Frequently Asked Questions

How do I link an app?

Register the prepared image as an App Attach package, assign it to the host pool and to users or groups, and add it to a RemoteApp group if needed. Then confirm the user sees it.

What is the MSIX package?

It's a Windows application package with files and manifest metadata: identity, publisher, version, and dependencies. App Attach is the delivery method, not the package.

What are the prerequisites for MSIX App Attach in AVD?

You need a supported Entra- or AD DS-joined host, a signed package, trusted certificate, compatible dependencies, an SMB share with host read access, and a user or group assignment.

How is App Attach different from installing apps in the base image?

The app stays outside the OS image, so targeted delivery and updates are simpler. You still must test compatibility, security, and storage.

How do I troubleshoot an App Attach failure?

Check the package and certificate, dependencies, storage reachability, host permissions, assignment, then logs. Note whether the issue follows the package or one host.