Forum Discussion
Stefan Georgiev
Dec 14, 2020Iron Contributor
MSIX app attach Azure portal integration public preview
MSIX app attach is an application layering solution that allows you to dynamically attach an application (that is an MSIX package) to a user session. Separating the application from the operating sys...
Jantu123
Feb 01, 2021Brass Contributor
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
#endregion
Stefan Georgiev
Feb 09, 2021Iron Contributor
Jantu123 and Thogjo the wvd_50002 error happens when the wvd infra is not able to get the upn for this user. Can you please check that the user is AD sourced, sycnhed, assigned...If you are using password hash?