Forum Discussion
JonahBader
Jan 14, 2025Copper Contributor
App Attach only working if the App is Installed Locally First
I am trying to use App Attach to provide an application to my virtual desktop environment. The environment is currently 100% Entra ID, no DS if possible. RemoteApp host pool with Standard_D4as_v6 VMs...
Kidd_Ip
Jan 15, 2025MVP
Please to consider on below:
- Self-Signed Certificate: While self-signed certificates can work, they can sometimes cause issues. It might be worth trying a certificate from a trusted Certificate Authority (CA) to see if that resolves the problem.
- Permissions: Double-check that all necessary permissions are correctly set up. Ensure that the session hosts have the correct access to the Azure Files Storage Account and that the necessary SMB share permissions are in place.
- Mounting the MSIX Image: Verify that the MSIX image is being mounted correctly on the session hosts. You can use the Mount-CimDiskImage PowerShell command to manually mount the image and check if it's accessible.
- Testing Outside Azure Virtual Desktop: Try testing the MSIX package outside of Azure Virtual Desktop to see if the issue persists. This can help isolate whether the problem is with the App Attach setup or something else.
- Logs and Diagnostics: Check the logs and diagnostics on the session hosts to see if there are any error messages or warnings that could provide more insight into what's going wrong.
- JonahBaderJan 15, 2025Copper Contributor
Hi!
- Self-Signed Certificate: I will work towards getting this, I'll report back how it goes.
- Permissions/Mounting the MSIX Image: I believe all of the access permissions are setup correctly. I have verified in the VM Event Viewer (Applications and Services Logs > RemoteDesktopServices) that the RDAgent successfully completes the mounting, staging, and app registering processes without any errors. I'm leaning towards ruling this out as the issue, since I don't think any of that would have worked if the permissions weren't set up, unless I'm missing something.
- Testing Outside Azure Virtual Desktop: I am able to successfully install and launch the MSIX package on my local laptop (after saving the .CER file on my machine as well).
- Logs and Diagnostics: So far I haven't found anything solid to go off in the Event Viewer. Let me know if you're referring to another place I need to look!
I have been closely watching these 4 Event Viewer locations:- Applications and Services Logs > RemoteDesktopServices
- Applications and Services Logs > Microsoft > Windows
- AppXDeployment
- AppxXDeployment-Server
- AppxDeployment-Server-UndockedDeh