Azure Virtual Desktop SxSStackListenerCheck failing

Xsomo 0 Reputation points
2025-02-25T22:05:37.12+00:00

Having an issue with getting azure virtual desktop session host registered on an existing VM once the session host is registered. the SxSStackListenerCheck and event view shows error 3277, after following the steps the issue still remains we have tried generating a new registration key and reinstalling the boot loader and agents anyone can reccomend any further stepsUser's image

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

1 answer

Sort by: Most helpful
  1. Markapuram Sudheer Reddy 2,050 Reputation points Microsoft External Staff Moderator
    2025-02-26T20:00:15.6266667+00:00

    Hi Xsomo,

    Thank You for reaching out to Microsoft Q&A forum.

    As you are facing an issue to add an existing vm as a session host to host pool of avd, can you please try below commands by executing in existing vm to reinstall bootloader and agents properly by uninstalling the existing boot loader and agents. Before that, check VM images are compatible with AVD environment.

    
    # Download Azure Virtual Desktop agent 
    Invoke-WebRequest -URI https://query.prod.cms.rt.microsoft.com/cms/api/am/binary/RWrmXv -OutFile "C:\Windows\temp\RDAgent.msi"
    # Download Azure Virtual Desktop agent bootloader
    Invoke-WebRequest -URI https://query.prod.cms.rt.microsoft.com/cms/api/am/binary/RWrxrH -OutFile "C:\Windows\temp\RDBootstrap.msi"
    # Install Azure Virtual Desktop agent - use your registration key for REGISTRATIONTOKEN
    Start-Process -FilePath msiexec -ArgumentList "/i C:\Windows\Temp\RDAgent.msi REGISTRATIONTOKEN=yourtokengoeshere /qn /norestart /passive /lv* C:\Windows\Temp\rdagentinstall.log"
    # Install Azure Virtual Desktop bootstrap agent
    Start-Process -FilePath msiexec -ArgumentList "/i C:\Windows\Temp\RDBootstrap.msi /qn /norestart /passive /lv* C:\Windows\Temp\RDBootstrapinstall.log"
    

    If you are using domain-based authentication, try to install Set-AzVMADDomainExtension to join a VM to an Active Directory domain.

    If the information is helpful, please click on "Upvote"

    If you have any queries, please do let us know, we will help you.

    1 person found this answer helpful.
    0 comments No comments

Your answer

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