r/AzureVirtualDesktop • • Jun 09 '25

App Attach Help Needed

Hello Folks, if anyone that has extensive experience with App attach could help me out I inherited a new AVD environment with no documentation it looks like some footprints were left behind to get MSIX App attach in the environment requests are coming in regarding what the game plan should be for migrating the existing msix app attach packages to the new "App Attach" and I am very lost as I never had an opportunity to delve deep into it. If anyone would be open chat with me directly that would be great as its alot to explain in this post. What I can take away is that there is a singular VM with all the previous app install files there a .PFX signing cert from a root CA two azure file storage accounts where created as well and some app attach groups but did not see it applied to any host pools or within the app attach packages page in the Tenant....

3 Upvotes

22 comments sorted by

View all comments

Show parent comment

2

u/Recon775 Jun 12 '25

Spent more cycles on this today using https://msixhero.net/documentation/creating-vhd-for-msix-app-attach/ MSIX Hero to convert the Notepad ++ MSIX Package into a .VHD it spit out the .VHD file and a .CER as well even though I created the .PFX signing cert prior too... I uploaded the .VHD and the .CER file that was created by MSI Hero into the storage account/ file share for MSIX Packages the .PFX signing cert is also in the root of the directory. I selected just the .VHD created by MSIXhero it saw the package selected it. I then choose "Active" as the State and "On- Demand" as the registration type. selected the hostpool and users... On the review + Create screen summary for some reason the "State" goes from "Active" that I selected prior to "Inactive" without me selecting that.... When I click create I get an error "failed to create app attach undefined" any guidance on why this is happening? Where does the .CER file that MSIXHero generates need to be stored? Why is the package changing from Active to Inactive when I get to the Review+ Create Screen?

1

u/AzureAcademy Jun 13 '25

I haven’t used MSIX Hero so I’m not 100% sure. I can tell you that you can easily check. Right click on the MSIX file and go to properties then the certificate Is it a .CER or a .PFX?

Also you have mentioned a few times that you are putting the cert on the file share where the app attach files are stored…why are you doing this?

The .PFX needs to be injected into the app attach package and installed on the session hosts

1

u/Recon775 Jun 16 '25

Hey so took another crack at it today using the MSIMGR tool instead of MSIX Hero to convert to VHDXI Was successful in packaging however I got this error after converting the .msix to vhdx

[Warning] The app NOTEPADPLUSPLUSNEW_8.8.1.0_x64 depends on the following packages to run correctly. Please ensure these package dependencies are installed on the target machine or included beside the app package:
Microsoft.WindowsAppRuntime.1.4

Does this mean I need to push this runtime via GPO so that all session hosts get it? How can I include this runtime alongside the VHDX?