I'm using appattach for simple software like Toad for oracle, notepad++, mobaxterm. I'm using it with remote app, not desktop. I was facing from dependencies (
Microsoft.Windows.AppRuntime.1.4) and using cim with os 24h2 had also a issue (don,t know if it still the same now). So I decide to downgrade in os 23h2 and the most important thing was to delete this dependancy. maybe this link can help you "
(1) Headache with the MSIXMGR update | LinkedIn". I do not know if it can help you. But I try to shared my little experience on app attach.