Forum Discussion
MSIX app attach Azure portal integration public preview
Marco Moioli I figured out exactly the same path for icon 🙂 However, end result is the same, too i.e. App Attach works inside Desktop Application Group but not on RemoteApp Application Group.
I picked up the following events in Session Host RemoteDesktopServices event log:
| Event # | Source | EventData |
| 1 | Microsoft.RDInfra.RDAgent.Service.IconExtractor | Count of images for resource name 0 located at index 0 in file C:\Program Files\WindowsApps\GoogleChrome_68.46.66.0_x64__74vyvr5aw93s6\VFS\ProgramFilesX64\Google\Chrome\Application\chrome.exe is 7 |
| 2 | Microsoft.RDInfra.RDAgent.Service.IconExtractor | Png image encountered during extraction of icon from file C:\Program Files\WindowsApps\GoogleChrome_68.46.66.0_x64__74vyvr5aw93s6\VFS\ProgramFilesX64\Google\Chrome\Application\chrome.exe at index 0 |
| 3 | Microsoft.RDInfra.RDAgent.Service.IconExtractor | Png image is valid |
| 4 | Microsoft.RDInfra.RDAgent.Service.IconExtractor | Icon structure is successfully constructed from index 0 of file C:\Program Files\WindowsApps\GoogleChrome_68.46.66.0_x64__74vyvr5aw93s6\VFS\ProgramFilesX64\Google\Chrome\Application\chrome.exe |
| 5 | Microsoft.RDInfra.RDAgent.Service.IconExtractor | IconExtractor has successfully extracted the raw icon from file C:\Program Files\WindowsApps\GoogleChrome_68.46.66.0_x64__74vyvr5aw93s6\VFS\ProgramFilesX64\Google\Chrome\Application\chrome.exe at index 0 |
| 6 | Microsoft.RDInfra.RDAgent.Service.IconExtractor | IconExtractor has successfully extracted the PngIcon from file C:\Program Files\WindowsApps\GoogleChrome_68.46.66.0_x64__74vyvr5aw93s6\VFS\ProgramFilesX64\Google\Chrome\Application\chrome.exe at index 0 |
| 7 | Microsoft.RDInfra.Messaging.DefaultMessenger | [] Dispatched message '{"MessageId":"3f552184-b195-4590-9ea3-f44685854460","Type":0,"Request":{"MethodName":"GetApplicationIconAsync","Arguments":{"IconPath":"C:\\Program Files\\WindowsApps\\GoogleChrome_68.46.66.0_x64__74vyvr5aw93s6\\VFS\\ProgramFilesX64\\Google\\Chrome\\Application\\chrome.exe","IconIndex":0},"Headers":{"x-ms-correlation-id":"4dea5568-26d0-4851-918d-8ac186bcb012","x-ms-activity-context":"False","ms-wvd-activity-hint":"ms-wvd-ag:d1433e3f-3834-46be-8e78-dac2fee40e8e","x-ms-lamport-ts":"534208473"}},"Response":null}' |
Based on these events, error is not caused by missing icon. I even tried using 1 as icon index but it didn't work either. I guess, we'll have to wait for Stefan Georgiev to lead us again.
For VSC Insiders, the icon path is C:\Program Files\WindowsApps\VSCodeInsider_1.0.0.0_x64__2ys8zad5r90am\VFS\UserProgramFiles\Microsoft VS Code Insiders\Code - Insiders.exe
Mika_Seitsonen_S Just to double check, did you notice this from the dokumentation:
”When a user is assigned to remote app group and desktop app group from the same host pool the desktop app group will be displayed in the feed.”
Source: https://docs.microsoft.com/en-us/azure/virtual-desktop/app-attach-azure-portal#publish-msix-apps-to-an-app-group
I had this issue when I started testing which was fixed by ensuring that user was not assigned to both Remote app and Desktop app group. After the change Remote app icons appeared.
Update: I can now also unfortunately confirm that the Remote app MSIX apps icons that were visible and working for me couple of days again disappeared. When testing With Desktop app group MSIX apps work fine. Wonder what changed again.
Update 2: Now both MSIX Desktop Applications & Remoteapps stopped working.
Based on error message there is issue with registration. Staging is now succesful, MSIX images are mounted when checked in disk management.
AppAttachServiceImpl - AppAttachRegisterAsync: Failed to get packages to register: Microsoft.RDInfra.Shared.Common.RestError.RestException: WVD_50002: ≤S-1-5-21-1582688470-541055633-2624462867-3101≥ not found.
- Mika_Seitsonen_SJan 08, 2021Copper Contributor
Jantu123 Thanks for pointing this out! I had not noticed it.
End result for a user with only remote app group is an empty workspace i.e. same as in your environment. Also same in both test environments (on-prem AD and AAD DS integrated).- TomHicklingJan 08, 2021
Microsoft
Can you check via the webclient - RemoteApp icons should be appearing there.
The apps themselves can still be launched via the published desktop to the users assigned tot he RemoteApp group. - Jantu123Jan 08, 2021Brass Contributor
Thanks for confirming the results. Do you see the same error message with AppAttach registration part?
AppAttachServiceImpl - AppAttachRegisterAsync: Failed to get packages to register: Microsoft.RDInfra.Shared.Common.RestError.RestException: WVD_50002: ≤S-1-5-21-1582688470-541055633-2624462867-3101≥ not found.