Adding MSIX applications to the host pool

%3CLINGO-SUB%20id%3D%22lingo-sub-2117959%22%20slang%3D%22en-US%22%3EAdding%20MSIX%20applications%20to%20the%20host%20pool%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2117959%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3CBR%20%2F%3E%3CBR%20%2F%3EI've%20been%20trying%20to%20create%20some%20test%20MSIX%20packages%20for%20WVD%20project%20and%20currently%20facing%20a%20strange%20issue%20regarding%20uploading%20the%20apps.%20They've%20been%20signed%2C%20packed%2C%20converted%20to%20vhd%20on%20a%20test%20VM.%3CBR%20%2F%3ETried%20to%20map%20the%20.vhd%20files%20and%20point%20the%20path%20out%20to%20add%20the%20apps%20but%20the%20same%20error%20pops%20up%20-%20%22No%20MSIX%20packages%20could%20be%20retrieved%20from%20the%20image%20path%22%20%2F%20%22Error%3A%20Virtual%20disk%20not%20found%22.%3CBR%20%2F%3EI%20even%20included%20the%20.msix%20package%20into%20the%20.vhd%20alongside%20the%20unpacked%20files%20but%20it%20still%20didn't%20do%20the%20trick.%20Well.%3CBR%20%2F%3E%3CBR%20%2F%3EOn%20the%20other%20hand%20when%20I%20moved%20the%20prepared%20.vhd%20to%20a%20test%20storage%20account%20it%20just%20didn't%20accept%20the%20URL.%3CBR%20%2F%3EIt%20starts%20with%20http%3A%2F%2F%20though%2C%20should%20the%20path%20be%20somewhat%20converted%20and%20supplied%20in%20a%20different%20format%20while%20referencing%20the%20storage%20account%3F%3CBR%20%2F%3EIs%20anyone%20else%20experiencing%20issues%20when%20adding%20new%20msix%20packages%20to%20the%20host%20pool%3F%3CBR%20%2F%3EThanks!%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22ArkadiuszOpoczko_0-1612800374010.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F253347i87AE896131C35342%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22ArkadiuszOpoczko_0-1612800374010.png%22%20alt%3D%22ArkadiuszOpoczko_0-1612800374010.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2120526%22%20slang%3D%22en-US%22%3ERe%3A%20Adding%20MSIX%20applications%20to%20the%20host%20pool%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2120526%22%20slang%3D%22en-US%22%3EI%20am%20not%20expecting%20that%20VM%20outside%20of%20the%20host%20pool%20to%20work.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2120495%22%20slang%3D%22en-US%22%3ERe%3A%20Adding%20MSIX%20applications%20to%20the%20host%20pool%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2120495%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F717813%22%20target%3D%22_blank%22%3E%40ArkadiuszOpoczko%3C%2FA%3E%26nbsp%3BDid%20you%20put%20the%20new%20certificate%20(with%20which%20the%20applications%20are%20packaged)%20on%20each%20machine%20in%20Trusted%20People%3F%20As%20for%20cannot%20find%20VHD%2C%20all%20session%20host%20machines%20must%20have%20access%20to%20the%20location%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2120465%22%20slang%3D%22en-US%22%3ERe%3A%20Adding%20MSIX%20applications%20to%20the%20host%20pool%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2120465%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F195573%22%20target%3D%22_blank%22%3E%40Stefan%20Georgiev%3C%2FA%3E%26nbsp%3Bso%20I%20tried%20it%20as%20well%20and%20it%20didn't%20like%20my%20cert.%20Had%20to%20repack%20using%20Device%20Guard%20but%20then%20it%20said%20there%20is%20no%20msix%20on%20.vhd%20I%20linked.%3CBR%20%2F%3E%3CBR%20%2F%3EI'm%20really%20confused%20because%20when%20trying%20to%20upload%20the%20.vhd%20either%20from%20VM%20or%20storage%20account%20I%20get%20below%20errors%3A%3CBR%20%2F%3E-%20can't%20find%20vhd%3CBR%20%2F%3E-%20cert%20issue%3CBR%20%2F%3E%3CBR%20%2F%3EI%20repacked%20the%20thing%20today%20like%2015%20times%20using%20Device%20Guard%20as%20well%20as%20self-generated%20cert%20using%20PowerShell%2C%20signing%20during%20packing%20or%20adding%20cert%20later.%20Still%20nothing.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2120078%22%20slang%3D%22en-US%22%3ERe%3A%20Adding%20MSIX%20applications%20to%20the%20host%20pool%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2120078%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F195573%22%20target%3D%22_blank%22%3E%40Stefan%20Georgiev%3C%2FA%3E%26nbsp%3Btried%20to%20do%20it%20from%20a%20VM%20outside%20the%20host%20pool.%20I%20will%20test%20it%20on%20a%20VM%20inside%20the%20host%20pool%20and%20we'll%20see%20what%20happens.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2118567%22%20slang%3D%22en-US%22%3ERe%3A%20Adding%20MSIX%20applications%20to%20the%20host%20pool%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2118567%22%20slang%3D%22en-US%22%3EHave%20you%20tried%20putting%20the%20VHD%20on%20the%20c%20drive%3F%20and%20do%20the%20operation%20with%20one%20VM%20on%20a%20host%20pool%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2136369%22%20slang%3D%22en-US%22%3ERe%3A%20Adding%20MSIX%20applications%20to%20the%20host%20pool%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2136369%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F195573%22%20target%3D%22_blank%22%3E%40Stefan%20Georgiev%3C%2FA%3E%26nbsp%3BI%20tried%20adding%20a%20.vhd%20from%20a%20VM%20inside%20a%20host%20pool%20as%20well%2C%20still%20got%20the%20same%20errors%20though.%20Most%20of%20the%20time%20it%20just%20doesn't%20recognize%20the%20msix%20inside%20.vhd%20for%20some%20reason%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Hello,

I've been trying to create some test MSIX packages for WVD project and currently facing a strange issue regarding uploading the apps. They've been signed, packed, converted to vhd on a test VM.
Tried to map the .vhd files and point the path out to add the apps but the same error pops up - "No MSIX packages could be retrieved from the image path" / "Error: Virtual disk not found".
I even included the .msix package into the .vhd alongside the unpacked files but it still didn't do the trick. Well.

On the other hand when I moved the prepared .vhd to a test storage account it just didn't accept the URL.
It starts with http:// though, should the path be somewhat converted and supplied in a different format while referencing the storage account?
Is anyone else experiencing issues when adding new msix packages to the host pool?
Thanks!

ArkadiuszOpoczko_0-1612800374010.png

 

6 Replies
Have you tried putting the VHD on the c drive? and do the operation with one VM on a host pool

@Stefan Georgiev tried to do it from a VM outside the host pool. I will test it on a VM inside the host pool and we'll see what happens.

@Stefan Georgiev so I tried it as well and it didn't like my cert. Had to repack using Device Guard but then it said there is no msix on .vhd I linked.

I'm really confused because when trying to upload the .vhd either from VM or storage account I get below errors:
- can't find vhd
- cert issue

I repacked the thing today like 15 times using Device Guard as well as self-generated cert using PowerShell, signing during packing or adding cert later. Still nothing.

@ArkadiuszOpoczko Did you put the new certificate (with which the applications are packaged) on each machine in Trusted People? As for cannot find VHD, all session host machines must have access to the location

I am not expecting that VM outside of the host pool to work.

@Stefan Georgiev I tried adding a .vhd from a VM inside a host pool as well, still got the same errors though. Most of the time it just doesn't recognize the msix inside .vhd for some reason