Azure Virtual Desktop: Start VM on connect

Mark Palladino 0 Reputation points
2025-02-26T01:40:57.6833333+00:00

The Start VM on connect is enabled in my Host Pool but user connections are not starting the VM.

I have a single VM in the host pool

Virtual Machine Contributor role is assigned at the VM Resource Group level.

Getting this error:
"We couldn’t connect because your VM failed to start. Try again later or contact your tech support for help if this keeps happening."

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

1 answer

Sort by: Most helpful
  1. Mounika Reddy Anumandla 2,585 Reputation points Microsoft Vendor
    2025-02-26T02:02:05.7866667+00:00

    Hi Mark Palladino,

    Welcome to the Microsoft Q&A Platform. Thank you for posting your query here.

    The Azure account you use to configure Start VM on Connect must have the Desktop Virtualization Host Pool Contributor role-based access control (RBAC) role assigned.

    To configure Start VM on Connect, you need to assign the Desktop Virtualization Power On Contributor role-based access control (RBAC) role to the Azure Virtual Desktop service principal with your Azure subscription as the assignable scope. If you assign this role at any level lower than a subscription, such as the resource group, host pool, or VM, prevents Start VM on Connect from working properly.

    Also, please check and confirm if the VM show as Healthy in the Azure Portal/PowerShell?

    Please go through the document for reference: https://learn.microsoft.com/en-us/azure/virtual-desktop/start-virtual-machine-connect?tabs=azure-portal#create-a-custom-role-for-start-vm-on-connect

    Please feel free to tag me in the comments for any queries!

    If the comment is helpful, please click "upvote" to let us know.

    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.