Error Attaching Application to App Attach

Jesus Vazquez 20 Reputation points
2025-02-14T03:55:10.96+00:00

Error encountered while attempting to attach an application to App Attach. The error details are included below.

User's image

Azure Virtual Desktop
Azure Virtual Desktop
A Microsoft desktop and app virtualization service that runs on Azure. Previously known as Windows Virtual Desktop.
1,677 questions
{count} votes

Accepted answer
  1. Mounika Reddy Anumandla 2,585 Reputation points Microsoft Vendor
    2025-02-14T05:25:07.7666667+00:00

    Hi Jesus Vazquez,

    Welcome to the Microsoft Q&A Platform. Thank you for posting your query here.

    I understand that you are facing issue with accessing the storage account keys necessary for the MSIX app attach process in Azure Virtual Desktop (AVD).

    This article shows you how to add and manage applications with app attach in Azure Virtual Desktop using the Azure portal and Azure PowerShell. I suggest you verify if you have followed the prerequisites mentioned in the document.
    https://learn.microsoft.com/en-us/azure/virtual-desktop/app-attach-setup?tabs=portal&pivots=app-attach#prerequisites

    In case, the storage account where the MSIX package is stored is not in the same region as the session host. Please try to move the storage account to the same region as the session host and check if that helps.

    https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-desktop/troubleshoot-app-attach

    The following article provide some guidance on the permissions, performance, and availability required for the file share. https://learn.microsoft.com/en-us/azure/virtual-desktop/app-attach-overview?utm_source=chatgpt.com&pivots=app-attach#permissions

    Note: When creating an MSIX image, you convert an MSIX package to a VHD, VHDX, or CIM disk image using the MSIXMGR tool. We recommend using CIM for best performance, particularly with Windows 11, as it consumes less CPU and memory, with improved mounting and unmounting times. We don't recommend using VHD; use VHDX instead.
    https://learn.microsoft.com/en-us/azure/virtual-desktop/app-attach-create-msix-image?tabs=vhdx#create-an-app-attach-disk-image

    Hope this helps!

    Let me know if you have any further queries!

    If the information is helpful, please accept answer and click "upvote".

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Jesus Vazquez 20 Reputation points
    2025-02-21T14:54:11.7066667+00:00

    Hi!,

    We were able to resolve the issues by applying the permissions by assigning the Reader and Data Access Azure role-based access control (RBAC) role to both the Azure Virtual Desktop and Azure Virtual Desktop ARM Provider service principals.

    Thank you!

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.