Ran into this ourselves yesterday and found a solution. You might be using an out of date version of the Windows App Deployment Tool. Here's what we did:
- Updated Visual Studio 2022 to 17.7.4, we were a few versions out of date
- We have a few older versions of the Windows Software Development Kit installed. We removed the old ones and just kept the latest (10.0.22621.1778 as of 9/15).
- Updated our PATH environment variable to have the latest kit location (C:\Program Files (x86)\Windows Kits\10\bin\10.0.22621.0\x64)
- Did a pin connection to the Xbox to set up the connection again (WinAppDeployCmd.exe list -ip <xbox ip> -pin <pin from xbox>)
- Worked after that!
Hope that helps.