SOLVED

Azure MSIX app attach

%3CLINGO-SUB%20id%3D%22lingo-sub-3190066%22%20slang%3D%22de-DE%22%3EAzure%20MSIX%20app%20attach%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3190066%22%20slang%3D%22de-DE%22%3EHello%2Cwe%3CBR%20%2F%3E%3CBR%20%2F%3E%20have%20the%20following%20problem.%20We%20have%20created%20a%20hostpool%20with%20a%20VM%20which%20is%20joined%20to%20our%20on%20prem%20domain.%20Furthermore%20we%20created%20a%20storage%20account%20which%20is%20also%20joined%20to%20our%20on%20prem%20domain.%20The%20filshare%20can%20be%20mounted%20on%20the%20VM%20and%20can%20be%20used.%20However%2C%20when%20dropping%20a%20.vhd%20file%20and%20trying%20to%20attach%20it%20to%20the%20Host%20Pool%20as%20an%20MSIX%20package%2C%20an%20error%20occurs%20that%20no%20MSIX%20packages%20were%20found%20on%20that%20path.%3CBR%20%2F%3E%3CBR%20%2F%3EAccording%20to%20Github%20this%20error%20message%20could%20be%20caused%20by%20too%20few%20permissions.%3CBR%20%2F%3E%3CBR%20%2F%3EWhich%20permissions%20must%20be%20set%20for%20user%20and%20VM%3F%3CBR%20%2F%3E%3CBR%20%2F%3EThanks%20a%20lot%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-3190066%22%20slang%3D%22de-DE%22%3E%3CLINGO-LABEL%3Eapp%20attach%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EAzure%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFile%20Share%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMSIX%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPermissions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3199552%22%20slang%3D%22en-US%22%3ERe%3A%20Azure%20MSIX%20app%20attach%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3199552%22%20slang%3D%22en-US%22%3Edo%20your%20session%20hosts%20have%20read%20access%20on%20the%20fileshare%20where%20the%20MSIX%20packages%20are%20located%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3200070%22%20slang%3D%22de-DE%22%3ERe%3A%20Azure%20MSIX%20app%20attach%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3200070%22%20slang%3D%22de-DE%22%3Eyes%2C%20the%20session%20host%20is%20part%20of%20%22Storage%20File%20Data%20SMB%20Share%20Contributor%22%3C%2FLINGO-BODY%3E
New Contributor
Hello,

we have the following problem. We have created a hostpool with a VM which is joined to our on prem domain. Furthermore we created a storage account which is also joined to our on prem domain. The filshare can be mounted on the VM and can be used. However, when dropping a .vhd file and trying to attach it to the Host Pool as an MSIX package, an error occurs that no MSIX packages were found on that path.

According to Github this error message could be caused by too few permissions.

Which permissions must be set for user and VM?

Thanks a lot
7 Replies
do your session hosts have read access on the fileshare where the MSIX packages are located?
yes, the session host is part of "Storage File Data SMB Share Contributor"
is the .vhd file in the file share or the MSIX package that you created?
it is only the .vhd on the file share
\\Storage account name\file share\vhd
The FileShare is mounted exactly the same way on the host and can mount the vhd from there as well.
I'm having the same problem and also looking for a solution. Some VHDs work and others don't. No real error message appears.
best response confirmed by dealsv (New Contributor)
Solution
Solution:
The computer accounts need to be added to a group which is synchronized to Azure AD. This group needs the rights "Storage File Data SMB Share Contributer" and "Storage File Data SMB Share Elevated Contributer". The .pfx file used for the MSIX package needs to be added under Trusted Root Certification Authorities.

This has solved all my problems
I realized my error by looking at the certificates. The cert needs to be in the "Trusted Peoples" cert store for MSIX app attach to work.