User Profile
Jantu123
Brass Contributor
Joined 5 years ago
User Widgets
Recent Discussions
Re: MSIX app attach Azure portal integration public preview
Thogjo, I have same situation where I have to manually run commands at the end of this post to get application to register. The issue seems to be because registration part fails with error: AppAttachServiceImpl - AppAttachRegister: Failed to get packages to register: System.AggregateException: One or more errors occurred. ---> Microsoft.RDInfra.Shared.Common.RestError.RestException: WVD_50002: ≤S-1-5-21-1582688470-541055633-2624462867-3101≥ not found. So something is wrong somewhere (I had this working couple of days) and the same symptoms are with my colleague test WVD environment. Staging works but registration part is not working... Please check from event viewer RemoteDesktopServices if you see above error message. You can filter the event source using: Microsoft.RDInfra.AppAttach.AppAttachServiceImpl #region variables $packageName = "GoogleChrome_68.46.66.0_x64__74vyvr5aw93s6" $path = "C:\Program Files\WindowsApps\" + $packageName + "\AppxManifest.xml" #endregion #region register Add-AppxPackage -Path $path -DisableDevelopmentMode -Register #endregion3.7KViews0likes1CommentRe: MSIX app attach Azure portal integration public preview
Stefan Georgiev Any updates regarding why App Attach registration part started to fail last week with the error 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. Thogjo has reported exactly same issue. I verified that the issue is still there... <Provider Name="Microsoft.RDInfra.AppAttach.AppAttachServiceImpl" /> <EventID Qualifiers="0">0</EventID> <Version>0</Version> <Level>2</Level> <Task>0</Task> <Opcode>0</Opcode> <Keywords>0x80000000000000</Keywords> <TimeCreated SystemTime="2021-01-14T10:58:18.8774546Z" /> <EventRecordID>77707</EventRecordID> <Correlation /> <Execution ProcessID="0" ThreadID="0" /> <Channel>RemoteDesktopServices</Channel> <Computer>wvd-msix-0.kettula-corp.com</Computer> <Security /> </System> - <EventData> <Data>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.5.6KViews0likes21CommentsRe: MSIX app attach Azure portal integration public preview
Mika_Seitsonen_S 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.6KViews0likes0CommentsRe: MSIX app attach Azure portal integration public preview
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.3.5KViews1like3CommentsRe: MSIX app attach Azure portal integration public preview
Stefan Georgiev My colleague reported yesterday that he has the issue of appearing/vanishing Remoteapp in his test environment. My environment started to work couple of days ago (both Remoteapp Application group & Desktop Application Group) but now also my environment stopped working after I made minor changes yesterday in Application Group application (Show in web feed changed from No --> Yes). Both scenarios with MSIX - Desktop Application Group & Remoteapp Application Group are no longer working. The issue seems to be in registration part because MSIX images are successfully staged and this time I can see them mounted in computer management so they are not dismounted like before. From the logs there are below error messages visible: AppAttachServiceImpl - SysNtfyLogoff: Package deregistration for MSIX app attach failed during user logoff and 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. ---> Microsoft.RDInfra.Shared.Common.RestError.InnerRestException: WVD_50002: ≤S-1-5-21-1582688470-541055633-2624462867-3101≥ not found. --- End of inner exception stack trace --- at Microsoft.RDInfra.Messaging.MessageUtils.SetOperationResultAndEnsureSuccessStatusCode(ResponseMessage response, IMonitoringOperation operation, ILogger logger) in S:\src\Shared\Microsoft.RDInfra.Messaging\src\Microsoft.RDInfra.Messaging\MessageUtils.cs:line 109 at Microsoft.RDInfra.RDAgent.WebSocket.Broker.<SendRequestAndWaitResponseAsync>d__26`2.MoveNext() in S:\src\Shared\AgentInterfaces\src\Microsoft.RDInfra.RDAgent.WebSocket\Broker.cs:line 209 --- End of stack trace from previous location where exception was thrown --- I sent message to you which contains host pool name, Subscription ID and test user accounts.6.1KViews0likes0CommentsRe: MSIX app attach Azure portal integration public preview
Stefan Georgiev 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.5.9KViews0likes0CommentsRe: MSIX app attach Azure portal integration public preview
ejbakker and StephanK, Stefan Georgiev contacted me yesterday and informed that they did some magic on their side and fixed the bug and it should start working Today. I can also confirm on my side that it is now fixed.3.8KViews1like2CommentsRe: MSIX app attach Azure portal integration public preview
MicheleVigilante , @elliottchandler and @schmidtp_duna-drava_hu, there are at least three other people reporting the same issue where you see this VHD mounting and after a while the dismounting from the logs. I was lucky and at first I actually was able to have both MSIX using RemoteApp and MSIX using desktop publishing working for a short while but then something happened and assigned MSIX remoteapps vanished leaving only apps published from Start Menu. Because everything worked fine for a short time there is no issue with any of below listed which I have offcourse also triple checked: 1) permissions (able to mount from share and computer account is able to access the share. Also in the logs "MSIX packages has been properly staged". 2) bad vhd (issue happens both with your provided vhds and own vhds where both work fine using scripts) 3) wrong version of agent and bootloader (My Session host WVD agent version is 1.0.2743.1300) 4) package is not active (Package is set to Active)3.2KViews1like7CommentsRe: MSIX app attach Azure portal integration public preview
biginquebec130, thanks for confirming that you are having the same issue where successfully staged/mounted apps are dismounted after few seconds. So there are at least three of us with same issue. Mika_Seitsonen_S also earlier confirmed that he had same symptoms. Unfortunately I have run out of spending limit in my test Azure Subscription so I have to wait for few days before I can continue testing...3.6KViews0likes0CommentsRe: MSIX app attach Azure portal integration public preview
Mika_Seitsonen_S Thanks for confirming that we are seeing the same type of issue. I also tested with my own msix Image and the results were unfortunately still the same. No remoteapp Icons visible, and after succesful staging and mounting, image is dismounted with refcount 0 message. So I expect that you will notice that issue is not related to sample msix app. I have seen published msix remoteapp icons appearing for a short while (actually all 4-5 published Remote apps appeared at the same on last friday for two test user account) and even managed to launch app succesfully once but then in few minutes icons disappeared in Remote Desktop client when I refreshed again the feed leaving only My test Start menu published Remote app icons. Because I did not do any changes when this happened the issue should be on wvd management plane. I have decided to give up and wait for Microsoft to figure out & hopefully fix whatever is broken. Happy christmas to you Mika, We are from the same country and I have participated on your training classes in the past.4.1KViews0likes2CommentsRe: MSIX app attach Azure portal integration public preview
Stefan Georgiev TomHickling Noticed following error. I am using the sample Google Chrome MSIX app. Do we need to specify Icon path? Log Name: RemoteDesktopServices Source: Microsoft.RDInfra.Messaging.MessagingDispatcherMiddleware MessagingDispatcherMiddleware Exception=Microsoft.RDInfra.Shared.Common.RestError.RestException: Value cannot be null. Parameter name: iconPath ---> Microsoft.RDInfra.Shared.Common.RestError.InnerRestException: Value cannot be null. Parameter name: iconPath Mounted Image is unmounted after few seconds I can see from the logs that chrome is succesfully mounted. MountDisk: Image ≤\\ket-dc-vm1\shares\msixapps\GoogleChrome_68.46.66.0_x64__74vyvr5aw93s6.vhdx≥ mounted. Volume path is \\?\Volume{8059ccf8-39ba-11eb-baa2-000d3a97f6e9} But in few seconds I see that image is dismounted. RefDispose: Image ≤\\ket-dc-vm1\shares\msixapps\GoogleChrome_68.46.66.0_x64__74vyvr5aw93s6.vhdx≥ has refcount 0, performing dismount, volumepath \\?\Volume{8059ccf8-39ba-11eb-baa2-000d3a97f6e9}4.3KViews0likes8CommentsRe: MSIX app attach Azure portal integration public preview
Stefan Georgiev What is the WVD agent minimum version that support MSIX app attach? For whatever reason newly provisioned session hosts in validation host pool have older WVD agent (1.0.2548.6500) than before (1.0.2743.1300). See more details in picture that I posted in previous post. Are there any recommendations which Region to select while creating wvd components (workspace, host pool and Application groups) to ensure msix app attach works best possible way? I have tested east US and West US to store WVD metadata objects. My session hosts are provisioned to West Europe region. Updated tuesday: Noticed that if you try to use the session host with old WVD agent when adding MSIX packages, you will get Error: Object reference not set to an instance of an object. Adding MSIX package succeeds if I start the other session host with newer WVD agent even though otherwise App Attach still don't work. I don't see any errors related to App Attach in the Event viewer. Everything looks good in Session host with newer WVD Agent but still don't see published Remoteapps...6KViews1like2CommentsRe: MSIX app attach Azure portal integration public preview
Stefan Georgiev Hi Stefan, I sent you PM with host pool information yesterday. One additional interesting thing what I noticed that when I provisioned yesterday new Session host using default Windows 10 Enterprise 20H2 mult-session image to same host pool (validation enabled) just to rule out that something is wrong with my custom image, there was no logs related to MSIX App Attach. I have created custom View containing every entry from RemoteDesktopServices where Event source contains AppAttach. Results seen from newly created Session host. Nothing related to AppAttach... Results seen in previously created session host in same host pool Update from monday: Noticed that newly provisioned Session host WVD agent is older compared to one earlier provisioned in same validation host pool. 1.0.2743.1300 versus 1.0.2548.6500. Maybe this older WVD agent is missing MSIX App attach features... Any way to Force WVD agent update?19KViews0likes1CommentRe: MSIX app attach Azure portal integration public preview
Stefan Georgiev I registered two Subscriptions to test this feature. Received confirmation Mail but not sure which Subscription or if both Subscriptions were whitelisted. What is the symptom if Subscription is not whitelisted? I have WVD host pool with one Active session host. Host pool is in validation mode. File share where I uploaded MSIX Image is accessible to VMs in the host pool as well as for users (read-only permissions). Installed WVDContosoAppAttach certificate to session host > Local Computer > Trusted people. I have succesfully added the provided Chrome MSIX Image to the host pool. Verified on the session host disk management that Image is mounted. Published MSIX app to Remoteapp Application group only. For testing purposes I have also published from the Start menu Paint to the same Remoteapp Application group. When refreshing Remote Desktop client, I initially see Both Paint from Start Menu as well as MSIX published app as expected. Paint can be successfully launched, MSIX app does not Work. Connection opens but Google chrome is not started. If I go back and refresh again Remote Desktop client web feed, Published MSIX app vanishes leaving only published Paint from Start Menu. I repeatedly tested this behaviour last Time on Saturday. This same issue occurs with both of My Subscriptions. What could be the issue? Really frustrated that I cannot get this working… IMG_Before.png shows the State immediatelly after First Time publishing chrome (20.27). IMG_After.png shows the State after I refreshed the web feed three minutes Later (20.30) when MSIX chrome app vanished...19KViews0likes3CommentsRe: MSIX app attach Azure portal integration public preview
TomHickling Thanks for the explanation. I have checked that in disk management, I see the MSIX .vhdx mounted while I have these issues. However in last one hour I actually managed to start for a while the MSIX published as a Remoteapp but then maybe 30 minutes later launching the App again opened Explorer instead. I then closed the Remote Desktop Client and after restarting only MSIX RemoteApp icons vanished. No changes done on my side... Wondering whether or not this appearing / disappearing MSIX RemoteApp icons in Remote Desktop Clients are related to this Azure whitelist flag.19KViews0likes1CommentRe: MSIX app attach Azure portal integration public preview
Stefan Georgiev Having strange test results... MSIX published RemoteApps are randomly visible and randomly vanish from Remote Desktop client. I had probably 6-7 apps that were not visible and suddenly they appeared to multiple users. But now they are gone. When I tried to launch Remoteapp MSIX apps while they were visible in Remote Desktop Client, instead of opening application, Explorer was opened. Tested with sample Google Chrome and with own Notepad plus app and both with same results When testing Full Desktop with MSIX apps some of the users see the MSIX apps icons on the Start Menu after logging in to desktop and some do not even if the MSIX app is published to group containing both users.19KViews0likes4Comments
Recent Blog Articles
No content to show