Deploying Database Tools with MSIX/App Attach

Alex Dresser 5 Reputation points
2025-07-24T11:47:01.8633333+00:00

I am trying to deploy SQL Server Management Studio and pgAdmin to AVD via MSIX App Attach but it is not working as expected.

I have tried with SQL Server Management Studio 19 and 21. SSMS 19 just gives me an error that the "Principle is not valid" and SSMS 21 at least tries to work but then boots up a Folder Explorer window.

PgAdmin tries to connect but ultimately I get an error saying "Unable to Connect to PgAdmin Server"

I have packaged these applications the same way as all of our other applications which work fine. (with the exception of PowerBI which also gives me a "Principle is not valid" error)

I am using the same certificate to sign all of these too.

Is there something specific when deploying this kind of software that I might be missing?

If someone here has successfully deployed any of these in the past it would be very helpful to hear how.

Azure Virtual Desktop
Azure Virtual Desktop
A Microsoft desktop and app virtualization service that runs on Azure. Previously known as Windows Virtual Desktop.
{count} votes

1 answer

Sort by: Most helpful
  1. Alex Dresser 5 Reputation points
    2025-10-02T11:03:04.69+00:00

    Hey Ankit,

    I tried testing out your steps but I run into an issue on Step 3.

    Step 3: Create the Package

    1. Open the MSIX Packaging Tool.
    2. Choose "Create a new package".
    3. On the Package information page, fill in your details (Name, Publisher, Version).
    4. On the Prepare computer page, it's best to use a clean VM. Take a snapshot if you can.
    5. On the Installation page, you will not install SSMS. Instead, you will simply copy the files.   · Click "Browse" and select your SSMS-Setup-ENU.exe and install_ssms.ps1 files. The tool will copy them into the package.
    6. Proceed through the remaining screens without making changes related to the installation. The tool will finish and create an MSIX package containing just your two files.

    It is not possible to select more than 1 file while Browsing to select an installer. How can I select both the ps1 and exe files?

    Thank you in advance!


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.