app attach
4 TopicsError configured app-attach
I am working through this guide, and getting a PowerShell error when running this line: $asTask = ([System.WindowsRuntimeSystemExtensions].GetMethods() | Where { $_.ToString() -eq 'System.Threading.Tasks.Task`1[TResult]AsTask[TResult,TProgress](Windows.Foundation.IAsyncOperationWithProgress`2[TResult,TProgress])'})[0] It's just a generic null array error, but I am not sure why I am getting it or how this Windows class works. Can anyone help? Cannot index into a null array. At line:1 char:1 + $asTask = ([System.WindowsRuntimeSystemExtensions].GetMethods() | Whe ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (:) [], RuntimeException + FullyQualifiedErrorId : NullArraySolved2.9KViews0likes5CommentsAzure MSIX app attach
Hello, we have the following problem. We have created a hostpool with a VM which is joined to our on prem domain. Furthermore we created a storage account which is also joined to our on prem domain. The filshare can be mounted on the VM and can be used. However, when dropping a .vhd file and trying to attach it to the Host Pool as an MSIX package, an error occurs that no MSIX packages were found on that path. According to Github this error message could be caused by too few permissions. Which permissions must be set for user and VM? Thanks a lotSolved2.6KViews0likes7CommentsApp 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 running Windows 11 24H2 multi-session (no office 365 apps). I am having troubles getting App Attach working as I understand it should. I packaged my app into MSIX on one of the session hosts via admin account. My app is self-signed with .PFX, each session host has the corresponding .CER file in Trusted People AND Trusted Root Certification Authorities (conflicting advice online led me to just do both). I converted .MSIX to .CIM disk via MSIXMGR on the same session host. msixmgr.exe -Unpack -packagePath "path\file.msix" -destination "path\file.cim" -applyACLs -create -fileType cim -rootDirectory apps I uploaded the .CIM file and the 6 supporting files to Azure Files Storage Account. All hosts have access to the azure storage account via access key, which I know is working because I’m using a different File Share in the same Storage Account to run FSLogix which has been working great. I haven't made any NTFS changes in my environment so far. On the storage account: Reader and Data Access is granted to Windows Virtual Desktop and Windows Virtual Desktop ARM Provider. Storage File Data SMB Share Reader is granted to each VM. Create App Attach resource, assigned it to the associated app group/workspace/host pool. I can see my app under the Apps tab in the Windows App/Remote Desktop app. Now into the Windows App: when I click my app, it will load forever on “Securing Remote Session…” and if I click “Show Details” to see the Windows login screen, it is always frozen on “Preparing Windows”. I’ve switched the host pool to “Desktop” mode and my user can log in to the full desktop with no issues, it is just the remote app that gets hung up. BUT if I log into the VM with my admin account, I launch my MSIX package, and approve the installation of my app, that makes it all work. Now I can go back to the Windows App and launch my remote app as a regular user, and it works perfectly. (Assuming I make the host pool assign the user to the session host where I manually installed the app) As far as I understand, this shouldn’t be a requirement to get App Attach working, so I’m looking for advice or information as to why manually installing the app would fix my problem. I am suspicious of the self-signed certificate; I’d rather not buy one but let me know if that’s what I’m stuck doing. I’m also curious if the “App-Attached” version of my app is running, or if its just targeting the locally installed version behind the scenes on me… I am going to do more testing and see if I can prove that. Thanks for the help!201Views0likes8CommentsError on .appv file expand for App Attach
Hi, I try to create an App Attach package from App-V package. On expand step I get an error in some cases: The gateway did not receive a response from 'Microsoft.DesktopVirtualization' within the specified time period. Status: 504 (Gateway Timeout) ErrorCode: GatewayTimeout I noticed that expanding file of small size works corectly, i.e. .appv files of Notepad++ and Greenshotapp is 11 and 13 Mb. However, expanding file of larger size fails with that error after some time, i.e. .appv file of VLCMediaPlayer++ is 200 Mb, JGraphDrawIO is 400 Mb, Image Glass is 111 Mb. Expanding VHDX files of large sizes from same file share and with same host pool works correctly. The problem is only with .appv.30Views1like1Comment