SOLVED

Msix structure error: No parent folder found

Copper Contributor

Getting this error when I try to add an MSIX Package to the host pool.

 

{"code":"400","message":"ActivityId: XXXX Error: The MSIX Application metadata expand request failed on all Session Hosts that it was sent to. Session Host: HOSTNAME-1, Error: Msix structure error: No parent folder found for MSIX package at path ≤\\\\STORAGEACCOUNT.file.core.windows.net\\appattach\\Apps\\putty.vhdx≥."}

 

I think that I've verified that the host has access to the file share & that the digital signature is valid.  Those seem to be the common reasons for similar errors.  The error "Msix structure error: No parent folder found for MSIX package at path" does not return search results. 

 

1 Reply
best response confirmed by JosephDurnal1885 (Copper Contributor)
Solution

@JosephDurnal1885 

 

I missed step 7
https://docs.microsoft.com/en-us/azure/virtual-desktop/app-attach-image-prep#create-a-vhd-or-vhdx-pa...

the MSIX must be extracted to a folder within the mounted VHD, it can't be on the root.

 

msixmgr.exe -Unpack -packagePath <package>.msix -destination "f:\FolderRequired" -applyacls

1 best response

Accepted Solutions
best response confirmed by JosephDurnal1885 (Copper Contributor)
Solution

@JosephDurnal1885 

 

I missed step 7
https://docs.microsoft.com/en-us/azure/virtual-desktop/app-attach-image-prep#create-a-vhd-or-vhdx-pa...

the MSIX must be extracted to a folder within the mounted VHD, it can't be on the root.

 

msixmgr.exe -Unpack -packagePath <package>.msix -destination "f:\FolderRequired" -applyacls

View solution in original post