Forum Discussion
MSIX app attach Azure portal integration public preview
I tried with the Google Chrome 68 package and everything is working!
I love it! Thanks Stefan Georgiev!
But now I'm trying to add Chrome to an application group so I added it without any problem but what about the Icon Path?
My understanding is that the .vhd is mounted inside the C:\Program Files\WindowsApps folder so I checked and the chrome.exe file is in the C:\Program Files\WindowsApps\GoogleChrome_68.46.66.0_x64__74vyvr5aw93s6\VFS\ProgramFilesX64\Google\Chrome\Application\chrome.exe path.
I added this information inside the application group but unfortunately it seems not working.
Any guess?
- Stefan GeorgievJan 08, 2021Iron Contributorhi Marco, for MSIX packages we only specify icon path if we want to over ride the default icon that is already in the package. If you need to change the icon in the package that is done during compile or repackage, if you want a custom icon then it cannot be on the C:\ drive of a host
- Mika_Seitsonen_SJan 07, 2021Copper Contributor
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- Stefan GeorgievJan 08, 2021Iron ContributorHi Mika, see what I replied to Marco Moioli
- Jantu123Jan 08, 2021Brass Contributor
Here are pictures from my test environment.
MSIX packages worked last two days both when testing "Desktop Application Group" and "Remoteapp Application group" using MSIX Chrome from you and 2 MSIX packages that I created myself.
Then yesterday because my colleague mentioned that his test environment had this issue with appearing / disappearing MSIX Remoteapp icons I made some changes in my own test environment Remoteapp Application group (flipped probably "Show in web feed in Application group App setting), refreshed and after that all my MSIX Remoteapp icons disappeared leaving only Win32 app (Paint) from Start Menu.
Only Paint from Start Menu is visible now 😞
All MSIX packages are Active state, on-demand.
Only RemoteApp Application group in Session host pool configured at the moment.
Four Apps in single Application Group (3 are MSIX, 1 is Win32 app from Start Menu). Only Win32 app paint is visible.
Finally I have made Assignment directly to test user which is working because Paint is visible but MSIX packages are no longer visible.
Host pool name: msixtest01
Test Subscription ID: 13b192ee-44e0-477e-b648-ba289915a83b
Test user account: janne.tuominen @kettulaan.com (remove spaces)
It would be great if we could have some debugging or instructions how to troubleshoot this.
- Jantu123Jan 07, 2021Brass Contributor
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).