AVD No Available Resources Error: Causes and Fixes
By Jay H.Published Updated 11 min read
Jay H. · Founder, Sessionright
Founder of Sessionright. Twenty years running Citrix, NetScaler, Citrix Cloud, NetScaler Console, Azure and Azure Virtual Desktop estates; writes the guides and reviews the platform's rules.
Users getting "no available resources"? Talk it through with a Sessionright engineer: 15 minutes, free.
A user signs in to Windows App, picks their desktop, and gets told there are no resources. Microsoft's documentation calls this error "No resources available". It describes four situations that cause it: a personal desktop the user was never assigned to (personal desktop assignment), a pooled host pool where Start VM on Connect is still powering on a host (Start VM on Connect), a scaling plan with no host it's allowed to start (autoscale scenarios), and a personal desktop that autoscale is deallocating while the user connects (autoscale FAQ). In all four, no session host in the pool can take a new session for that user.
This guide works through the checks in order: assignment, host availability, session limits, then Start VM on Connect. You'll finish with the commands to find the blocked host or setting and clear it.
What the message means
When a user launches a desktop or RemoteApp, the broker uses load balancing to pick a session host. "No resources available" means the broker found no host it could use for this user. It's also different from an empty feed: if the user signs in and sees no icons at all, follow Microsoft's no feed guidance instead.
| Cause | Host pool type | Documented in |
|---|---|---|
| User assigned to the host pool but not to a session host (Direct assignment) | Personal | Personal desktop assignment |
| Start VM on Connect already started a VM in the last five minutes | Pooled | Start VM on Connect |
| Last untagged host excluded from scaling and turned off | Pooled | Autoscale scenarios |
| User connects while autoscale is deallocating their personal desktop | Personal | Autoscale FAQ |
| No hosts, hosts not active, all hosts at maximum session limit, or no agent running | Any | Agent troubleshooting, ENDPOINT_NOT_FOUND |
Start with one snapshot of the host pool and its hosts. The property names below come from the HostPool and SessionHost models:
$rg = '<ResourceGroupName>'; $pool = '<HostPoolName>'
Get-AzWvdHostPool -ResourceGroupName $rg -Name $pool |
Format-List HostPoolType, LoadBalancerType, MaxSessionLimit, StartVMOnConnect, PersonalDesktopAssignmentType, PreferredAppGroupType
Get-AzWvdSessionHost -ResourceGroupName $rg -HostPoolName $pool |
Format-Table Name, Status, AllowNewSession, Session, AssignedUser, LastHeartBeat
If diagnostics go to Log Analytics, Microsoft's sample query lists the most common connection errors by user count. ServiceError == "false" filters to issues an admin can fix (WVDErrors queries):
WVDErrors
| where ServiceError == "false"
| where ActivityType == "Connection"
| summarize UserCount = dcount(UserName), SampleMessage = take_any(Message) by CodeSymbolic
| project SampleMessage, UserCount
| top 10 by UserCount desc
If ServiceError is true, escalate to Microsoft and include the CorrelationId (diagnostics with Log Analytics).
Assignment and app-group checks
Rule out assignment first, because it's the quickest check.
- Confirm the assignment. Run
Get-AzRoleAssignment -SignInName <userupn>to list the user's app group assignments (service connection troubleshooting). The role that grants access is Desktop Virtualization User (built-in roles). If you assign through a group, it must be a Microsoft Entra security group. Azure Virtual Desktop doesn't support distribution groups. - Check that the app group points at the right pool and workspace. An application group belongs to a single host pool, and it must be associated with a workspace before users can see its resources (terminology). Run:
Then confirm thatGet-AzWvdApplicationGroup -ResourceGroupName $rg | Format-Table Name, ApplicationGroupType, HostPoolArmPath, WorkspaceArmPathHostPoolArmPathis the pool whose hosts you're troubleshooting (ApplicationGroup model). - Check the preferred application group type. If a user is assigned to both a desktop app group and a RemoteApp app group on the same pooled host pool, they only see the type set in
PreferredAppGroupType(preferred application group type). - Personal pools with Direct assignment. The user must be assigned to the host pool and to a specific session host. If they're only assigned to the host pool, they get "No resources available" (personal desktop assignment). Assign a host in the portal (Host pools > your pool > Application groups > the app group > Assignments > Assign VM) or in PowerShell:
$parameters = @{ HostPoolName = '<HostPoolName>' Name = '<SessionHostName>' ResourceGroupName = '<ResourceGroupName>' AssignedUser = '<UserUPN>' } Update-AzWvdSessionHost @parameters - Personal pools with Automatic assignment. The first time a user connects, the broker load-balances them to an available session host. Check that at least one host is free and accepting sessions:
Get-AzWvdSessionHost -ResourceGroupName $rg -HostPoolName $pool | Where-Object { -not $_.AssignedUser }.
Host availability: drain mode, unavailable hosts and off-peak scaling
Drain mode
If a user has no existing session, the load balancer doesn't consider a host in drain mode. A user with an active or disconnected session is still sent back to their host, even if it's drained (load balancing). The typical symptom: existing users reconnect without trouble, while new users can't connect at all. List the drained hosts, then turn drain mode off for each healthy one (drain mode):
Get-AzWvdSessionHost -ResourceGroupName $rg -HostPoolName $pool |
Where-Object { -not $_.AllowNewSession } | Select-Object Name, Status, Session
Update-AzWvdSessionHost -ResourceGroupName $rg -HostPoolName $pool -Name '<SessionHostName>' -AllowNewSession:$true
In the portal, go to Host pools > your pool > Session hosts, select the host, then select Turn drain mode off. Wait at least 60 seconds before you refresh, or the status may look out of sync.
All hosts unavailable
Hosts in Unavailable or Shutdown status aren't available for load balancing. Needs Assistance and Upgrade Failed hosts still receive new sessions (session host statuses). On a session host, Application log event 3277 with ENDPOINT_NOT_FOUND means the broker found no endpoint. Microsoft lists four reasons: there are no session hosts in the pool, the hosts aren't active, every host has exceeded its maximum session limit, or none of them is running the agent service (agent troubleshooting). If hosts are running but still Unavailable, work through our session host unavailable guide.
Scaling plan and off-peak hours
Autoscale changes host state on a schedule, so it's easy to miss (autoscale scenarios):
- In pooled host pools, autoscale overwrites drain mode. Use the scaling plan's exclusion tag (Microsoft's example is
excludeFromScaling) on any host under maintenance. Autoscale doesn't start, stop or change the drain mode of tagged hosts, but they still count toward the minimum percentage of hosts (create a scaling plan). - If the last untagged host gets tagged and turned off, autoscale can't start a VM for new users, and they see "No resources available". In Microsoft's example, the admin removes the exclusion tag from two VMs, and autoscale turns on one of them because one VM is enough to meet the 10% minimum percentage of hosts.
- Autoscale only starts more hosts when the used host pool capacity goes over the capacity threshold. It ignores the host pool's load-balancing setting and uses the one in the schedule.
- A scaling plan runs only in its configured time zone. If users in another region work outside that plan's peak hours, they may hit off-peak minimums.
- Don't combine autoscale with Azure Automation scaling or other Microsoft or third-party scaling tools on the same host pool.
For the full schedule logic, see our AVD scaling plan guide.
Session limits
MaxSessionLimit caps the sessions per host in a pooled host pool. Depth-first load balancing requires it. If you create a host pool with breadth-first, the limit defaults to 999999, which is also the maximum (load balancing). Microsoft is explicit: once every session host reaches the maximum session limit, you need to increase the limit or add more session hosts. Lowering the limit doesn't affect existing sessions, so a reduction only shows up for the next users who sign in.
Compare each host's Session count with MaxSessionLimit using the snapshot above, then raise the limit if the hosts have headroom:
$parameters = @{
Name = '<HostPoolName>'
ResourceGroupName = '<ResourceGroupName>'
LoadBalancerType = 'DepthFirst'
MaxSessionLimit = '10'
}
Update-AzWvdHostPool @parameters
Disconnected sessions count too. Autoscale counts both active and disconnected sessions when it decides how many hosts to keep running (autoscale scenarios). A time limit policy that signs out disconnected users reduces used capacity (create a scaling plan). If you also use Start VM on Connect, set the "End a disconnected session" limit above five minutes, or a short network drop can end a user's session and lose their work (Start VM on Connect FAQ).
Start VM on Connect
Start VM on Connect powers on deallocated hosts when users need them. It behaves differently in each pool type (Start VM on Connect):
| Host pool type | What it powers on |
|---|---|
| Personal | Only an existing session host that's already assigned to the user, or that can be assigned to them |
| Pooled | A host only when none are on. It starts another only after the first reaches its session limit, and at most one VM every five minutes |
The FAQ gives an example. A pooled host pool has three VMs and a limit of five sessions each, and two VMs are running. Start VM on Connect won't start the third until both running VMs have five sessions (FAQ). If a burst of users signs in within the same five minutes, the ones who don't fit get "No resources available". That's expected behaviour, and they should retry after a few minutes.
If Start VM on Connect isn't starting VMs at all:
- Check the role assignment. Assign Desktop Virtualization Power On Contributor to the host pool's managed identity or to the Azure Virtual Desktop service principal. Assigning at subscription scope is recommended for environments with several host pools, but a lower scope works as long as it contains the session host VMs (Start VM on Connect). Microsoft's PowerShell example assigns a role to the service principal by application ID and tells you to swap
RoleDefinitionNamefor the role you need. Here it is with the Start VM on Connect role (assign roles to the service principal):
Autoscale needs Desktop Virtualization Power On Off Contributor at subscription scope. Microsoft warns that a lower scope stops autoscale from working properly (create a scaling plan).$parameters = @{ RoleDefinitionName = "Desktop Virtualization Power On Contributor" ApplicationId = "9cdead84-a844-4324-93f2-b2e6bb768d07" Scope = "/subscriptions/$subId" } New-AzRoleAssignment @parameters - Check the setting. Run
Update-AzWvdHostPool -ResourceGroupName <resourcegroupname> -Name <hostpoolname> -StartVMOnConnect:$true. In the portal, go to Host pools > your pool > Properties > Start VM on connect = Yes. You can only enable it on an existing host pool that's associated with an application group and workspace. - Check the names. The host pool, its session hosts and the resource group must use only ANSI characters.
- Check how users connect. If someone connects to a powered-off VM directly by IP address or name, outside the Azure Virtual Desktop service, the VM doesn't start.
- Check personal scaling plans. Personal host pool schedules let you choose whether Start VM on Connect is enabled in each phase (
RampUpStartVMOnConnectin PowerShell). Microsoft highly recommends enabling it if you choose not to have autoscale start session hosts during ramp-up (create a scaling plan).
If the VM still doesn't power on, check its health first, then look in the Azure Virtual Desktop logs in Log Analytics and note the error name.
FAQ
Why does Azure Virtual Desktop say no resources available?
No session host in the pool can take a new session for that user. Microsoft documents four triggers: Direct assignment without a session host, Start VM on Connect's five-minute window, an exclusion tag on the last untagged host, and personal autoscale deallocating the desktop as the user connects. Drained, stopped or full hosts have the same effect.
Why is Azure Virtual Desktop not working for new users when existing users can still connect?
Check drain mode. The load balancer sends existing users back to their session even on a drained host, but it ignores drained hosts for new users. In pooled host pools, autoscale can also change drain mode unless the host has the exclusion tag.
Why is AVD Start VM on Connect not working?
The most common causes are a missing Desktop Virtualization Power On Contributor role at a scope containing the VMs, the setting being off, non-ANSI characters in the host pool, session host or resource group names, and users connecting directly by IP or name.
Does a scaling plan override drain mode?
Yes, in pooled host pools. Add the scaling plan's exclusion tag to any host you drain for maintenance. Tagged hosts still count toward the minimum percentage of hosts.
What does event 3277 ENDPOINT_NOT_FOUND mean?
The broker couldn't find an endpoint to connect to. The pool has no hosts, the hosts aren't active, every host is at its maximum session limit, or none of them is running the agent.
Want a second pair of eyes?
Sessionright's Azure Virtual Desktop assessment reviews assignment type, drain state, session limits, scaling plan exclusions and Start VM on Connect settings across your host pools, so you know which ones can leave users with no resources. It's read-only by default. If you later use Sessionright for Azure Virtual Desktop to make changes, you approve each one and every action is logged (security). If you would rather talk it through, book a 15-minute call: no install, no sales deck.
Sources
- Microsoft Learn: Configure personal desktop assignment in Azure Virtual Desktop
- Microsoft Learn: Configure Start VM on Connect
- Microsoft Learn: Start VM on Connect FAQ
- Microsoft Learn: Autoscale scaling plans and example scenarios
- Microsoft Learn: Create and assign an autoscale scaling plan
- Microsoft Learn: Configure host pool load balancing
- Microsoft Learn: Drain session hosts for maintenance
- Microsoft Learn: Session host statuses and health checks
- Microsoft Learn: Troubleshoot common Azure Virtual Desktop Agent issues
- Microsoft Learn: Troubleshoot Azure Virtual Desktop service connections
- Microsoft Learn: Built-in Azure RBAC roles for Azure Virtual Desktop
- Microsoft Learn: Assign RBAC roles to the Azure Virtual Desktop service principals
- Microsoft Learn: Azure Virtual Desktop terminology
- Microsoft Learn: Preferred application group type behavior for pooled host pools
- Microsoft Learn: HostPool class (Az.DesktopVirtualization models)
- Microsoft Learn: SessionHost class (Az.DesktopVirtualization models)
- Microsoft Learn: ApplicationGroup class (Az.DesktopVirtualization models)
- Microsoft Learn: Azure Virtual Desktop diagnostics with Log Analytics
- Microsoft Learn: Example log table queries for WVDErrors
Want this watched for you, with the fix drafted before you ask?
Sessionright is an AI operator for Azure Virtual Desktop: it checks session hosts, scaling plans, FSLogix and cost continuously, attaches the evidence, and proposes fixes for a named approver to sign. It has run against simulated estates and Sessionright's own Azure lab tenant so far. To see what it finds on your own estate, run the free assessment: one command in Azure Cloud Shell reads your estate, never changes it, and writes an HTML report in about five minutes for a typical estate. Your estate data stays with you unless you choose to email yourself the HTML report through Sessionright. Design partner program: 90-day free Operator pilot, then 50% off year 1; list price at signing held to month 24. Engineer-led assessments are 50% off for design partners. Outside the program the onboarding assessment is $2,500, up to 500 users, one tenant.
Not ready for that? Talk to a Sessionright engineer: 15 minutes, free, and you leave with a next step.
Get this script as a file
Download the read-only script pack, with the source guides and instructions for each file.
Or get the next guide by email. One email per new guide, no marketing list.
Related guides
- AVD Scaling Plans: Setup, Best Practices and Not Working Fixes
Set up an AVD scaling plan that works: the role assignment, capacity thresholds, exclusion tags, Start VM on Connect, personal hibernate and the logs to check.
- Azure Virtual Desktop Cost Optimization: 20-Point Checklist
A 20-point Azure Virtual Desktop cost optimization checklist: scaling plans, Start VM on Connect, license flags, reservations, ephemeral OS disks, storage.
- Azure Virtual Desktop Insights: Setup, Key Queries and Costs
Enable Azure Virtual Desktop Insights with diagnostic settings and a DCR, estimate Log Analytics ingestion per host, and set queries and alerts that matter.
- AVD Health Check: 40-Point Checklist for Azure Virtual Desktop
A 40-point AVD health check for Azure Virtual Desktop: the PowerShell, portal path or query for each check, what good looks like, and the Microsoft source.
- Azure Virtual Desktop Pricing 2026: $9.31 Per User Example
Azure Virtual Desktop pricing with list prices: a 100-user pool on D8s_v5 hosts costs $9.31 per user per month scaled, or $17.15 at 24x7. Each line explained.
Citrix and NetScaler are trademarks of Citrix Systems, Inc. and/or its affiliates. Azure is a trademark of the Microsoft group of companies. Sessionright is not affiliated with or endorsed by Cloud Software Group, Citrix or Microsoft.