Apr 26 2022 05:32 AM - edited Apr 29 2022 07:59 AM
Sharing some of my MSIX App Attach Troubleshooting notes for the community. Ideally consider using disk management to create the VHD(x) file and format.
Packaging to MSIX fails...
%localappdata%\packages\Microsoft.MsixPackagingTool_8wekyb3d8bbwe\LocalState\DiagOutputDir\
Extracting MSIX to VHD(x)...
msixmgr -Unpack -packagePath "<path>\<filename>.msix" -destination "<VHD Drive>:\apps" -applyacls -rootDirectory apps
Can't add MSIX package in portal...
Ensure the first VM in the Host Pool is running
Ensure a client VM can access the file share with a standard user account.
Verify the code signing certificate is in the "Trusted People" store (self-signed) or "Trusted Publishers" (Public / Enterprise) on the client VMs and the correct certificate.
NOTE: Refer to PKI documentation when using Public or Enterprise certs which are recommended over Self-Signed!
Mount VHD(x) and ensure folder structure has root folder (can be any name) with package folder inside of that.
i.e. E:\apps\VSCode_1.54.3.0_x64__2fr50c84ssct6
Try installing the application by double-clicking the MSIX package file itself. Look for any certificate or other errors when installing.
Apr 26 2022 05:57 AM