SOLVED

App Attach with Remote App fails

%3CLINGO-SUB%20id%3D%22lingo-sub-1963212%22%20slang%3D%22en-US%22%3EApp%20Attach%20with%20Remote%20App%20fails%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1963212%22%20slang%3D%22en-US%22%3E%3CP%3EI%20setup%20Notepad%2B%2B%20using%20App%20Attach%20in%20my%20WVD%20environment.%20If%20I%20login%20to%20a%20desktop%20session%2C%20it%20works%20flawlessly.%20However%2C%20it%20perpetually%20fails%20when%20launching%20from%20a%20Remote%20App.%20(Error%20in%20the%20screenshots)%20I%20was%20wondering%20if%20anyone%20else%20had%20done%20this%20successfully%3F%20(I've%20seen%20a%20few%20articles%20elsewhere%20which%20seem%20like%20it%20should.)%3CBR%20%2F%3E%3CBR%20%2F%3EI%20kind%20of%20suspect%20that%20it%20is%20a%20timing%20issue%2C%20as%20if%20the%20registration%20script%20hasn't%20completed%20before%20the%20app%20launches.%20I%20tried%20to%20fix%20this%20by%20disabling%20the%20logon%20script%20delay%20and%20running%20logon%20scripts%20synchronously.%20It%20still%20behaves%20the%20same%20way%20after%20these%20changes%2C%20so%20perhaps%20I%20am%20on%20the%20wrong%20track.%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1974170%22%20slang%3D%22en-US%22%3ERe%3A%20App%20Attach%20with%20Remote%20App%20fails%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1974170%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F388692%22%20target%3D%22_blank%22%3E%40TomB%3C%2FA%3E%26nbsp%3BThe%20issue%20is%20how%20you%20activate%20the%20MSIX%20app%20you%20cannot%20use%20the%20C%3A%5Ctemp%5Capppattach%5Cnotepad..%20type%20of%20path%20to%20start%20Modern%20apps%20(this%20include%20MSIX)%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Fpublish-apps%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EPublish%20built-in%20apps%20in%20Windows%20Virtual%20Desktop%20-%20Azure%20%7C%20Microsoft%20Docs%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

I setup Notepad++ using App Attach in my WVD environment. If I login to a desktop session, it works flawlessly. However, it perpetually fails when launching from a Remote App. (Error in the screenshots) I was wondering if anyone else had done this successfully? (I've seen a few articles elsewhere which seem like it should.)

I kind of suspect that it is a timing issue, as if the registration script hasn't completed before the app launches. I tried to fix this by disabling the logon script delay and running logon scripts synchronously. It still behaves the same way after these changes, so perhaps I am on the wrong track.

Error.pngLogon processing.pngscript script.png

2020-12-07 08_27_00-Inbox - TBlackerby@columbia.com - Outlook.png

1 Reply
best response confirmed by Eva Seydl (Microsoft)
Solution

@TomB The issue is how you activate the MSIX app you cannot use the C:\temp\apppattach\notepad.. type of path to start Modern apps (this include MSIX) 

 

Publish built-in apps in Windows Virtual Desktop - Azure | Microsoft Docs