AVD start on connect issue

djenkins 1 Reputation point
2021-10-05T14:27:01.483+00:00

hello, looking for some help with a minor AVD issue.

I have a host pool with a single VM. Start on connect was setup a few months ago and has been working fine up until yesterday.

Now, my user is getting an error when trying to connect:

"we couldn't connect because there are currently no available resources. Try again later or contact tech support for help if this keeps happening".

Error code: 0x3000046
Extended error code: 0x0
Timestamp (UTC): 2021-10-05T14:15:38.138Z
Activity ID: 65d0e152-11e2-4884-b730-90433c510000

Saw something that suggested recreating the host pool, but would like a more streamlined solution rather then jumping through that hoop.

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

2 answers

Sort by: Most helpful
  1. Shannan Shapiro 116 Reputation points
    2021-10-20T14:21:03.567+00:00

    we also see this on occasion and I'm looking for a way to prevent. We typically see the disconnected/stale session and the VM will show its still stopped/deallocated as shown above. We do what was said above - start the vm and logoff the disconnected session and then the host will show available again. Sometimes you can see in Boot Diagnostics that Windows didn't start successfully and the screenshot shows it's waiting for a response to continue or not (which obviously no one can respond to), so we end up stopping and starting the VM again.

    Trying to understand if there is something to do to prevent the situation - there wasn't an session for the host before the user tried to connect (typically first thing in the morning). We make sure all sessions are logged off at the end of the day and stop their VMs, so in the morning when they connect, it should start on connect and most times it works successfully. On the Windows not loading, is there a Windows setting that would have Windows automatically try to restart again vs. prompting for response? Trying to find ways to handle these few exceptions. Also, we've never had to recreate the Host Pool - just get the VM up in a good state again, and end any disconnected sessions if they exist after the initial attempt to start on connect....


  2. Robert Mahon 1 Reputation point
    2022-03-11T13:31:47.753+00:00

    I have been running into issues of late with the first attempt of connecting, getting "error occurred while accessing this resource"

    On second attempt, its work correctly then. Its like the first connection timeouts while the the VM is starting up.

    Just wondering has anyone else come across this?

    Rob

    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.