Skip to content
Back to Blog

Azure Virtual Desktop Conditional Access: A Zero Trust Setup Guide

D
Founder and CEO, Atlas AVD··Updated
Azure Virtual Desktop Conditional Access: A Zero Trust Setup Guide

Azure Virtual Desktop (AVD) Conditional Access works by targeting two Microsoft Entra apps: Azure Virtual Desktop, which covers the feed and the gateway connection, and Windows Cloud Login, which covers the sign-in to the session host when single sign-on is on. Microsoft recommends two aligned policies, one per app, that require MFA (ideally phishing-resistant) for the same user group, with sign-in frequency set separately on each. Add a compliant-device requirement for corporate endpoints, exclude two break-glass accounts from every policy, and roll each policy out in report-only mode first.

The short version: create policy 1 for the Azure Virtual Desktop app (9cdead84-a844-4324-93f2-b2e6bb768d07) and policy 2 for Windows Cloud Login (270efc09-cd0d-444b-a71f-39af4910ec45). Scope both to your AVD users, select Browser and Mobile apps and desktop clients, and require MFA. Never put the Azure Virtual Desktop Azure Resource Manager Provider app in an MFA policy, never block the Windows 365 app, turn off legacy per-user MFA, and exclude your break-glass accounts. Start in report-only and check the sign-in logs before you enforce.


Which apps an AVD Conditional Access policy targets

Conditional Access doesn't target host pools, application groups or workspaces. It targets Entra apps, users and conditions, and an AVD connection touches several apps on the way to a desktop (Microsoft Learn). Which desktops a user can open is a separate decision, made by assigning them to application groups.

AppApp IDWhat it coversIn your policy?
Azure Virtual Desktop9cdead84-a844-4324-93f2-b2e6bb768d07Subscribing to the feed, authenticating to the gateway during a connection, uploading client diagnosticsYes: policy 1
Windows Cloud Login270efc09-cd0d-444b-a71f-39af4910ec45Signing in to the session host when single sign-on is enabledYes: policy 2
Azure Virtual Desktop Azure Resource Manager Provider50e95039-b200-4007-bc97-8d5790743a63Retrieving the user feed onlyNo. Never require MFA for it
Windows 3650af06dc6-e4b5-4f28-818e-e78e62d137a5Windows App authenticates to it even for AVD-only usersNever block it
Azure Windows VM Sign-InFind it by name in your tenantSign-in to an Entra joined host without single sign-onExclude it, or turn on single sign-on

In older tenants the Azure Virtual Desktop app may still be named Windows Virtual Desktop: it's the same app ID. A policy that targets All resources (formerly All cloud apps) covers every app above, which is where most AVD sign-in failures from Conditional Access come from: see the exclusions below.


The two-policy MFA baseline

Microsoft recommends two policies rather than one combined policy, because sign-in frequency behaves differently on each app. Keep everything else the same.

SettingPolicy 1: AVD feed and gatewayPolicy 2: session host sign-in
Target resourcesAzure Virtual DesktopWindows Cloud Login
UsersYour AVD user groupThe same group
ExcludeTwo break-glass accountsThe same accounts
Client appsBrowser, Mobile apps and desktop clientsThe same
GrantRequire MFA or an authentication strengthThe same
Sign-in frequencyA period, such as 8 or 12 hoursA period, or Every time
StateReport-only, then OnReport-only, then On

Select Browser so the policy covers the web client, and Mobile apps and desktop clients for Windows App and the Remote Desktop clients. Leave the legacy authentication clients out of these policies and block them tenant-wide in a separate policy, since legacy protocols can't satisfy MFA.

Use an authentication strength, not just "Require MFA", where you can. Phishing-resistant MFA accepts only FIDO2 security keys and passkeys, Windows Hello for Business and certificate-based authentication. Start with administrators and anyone using a privileged host pool, then widen it.

Conditional Access needs Microsoft Entra ID P1 (P2 for sign-in risk and user risk policies), and you can't use it while Security Defaults is on.


Sign-in frequency for AVD

Sign-in frequency is the session control Microsoft documents for AVD, and it's the reason for two policies.

AppWhat reauthentication applies toEvery time?
Azure Virtual DesktopSubscribing to the feed, refreshing it by hand, and authenticating to the gateway during a connectionNo. It causes constant MFA prompts on background feed refresh and diagnostics upload
Windows Cloud LoginSigning in to a session host with single sign-onYes, with single sign-on on the host pool

With Every time on Windows Cloud Login, users are prompted when they start a new connection 5 to 10 minutes or more after they last authenticated. When the period on the Azure Virtual Desktop app runs out, background feed refreshes and diagnostics uploads fail silently until the user signs in again; a session that's already connected isn't cut off. With single sign-on, MFA and sign-in frequency are also evaluated again when a user reconnects to a locked session.


Device compliance: verify the device, not just the user

MFA proves the user. Require device to be marked as compliant (or Require Microsoft Entra hybrid joined device) proves the device they connect from, which is the main control against personal and unmanaged devices.

  • Target the AVD apps, not All resources. Microsoft warns that Entra joined session hosts may not satisfy a compliance policy designed for user endpoints, and lists "All cloud apps with device compliance" as a common cause of failed AVD sign-ins. The fix is to exclude Azure Virtual Desktop and Windows Cloud Login from the all-apps policy and give them their own policy.
  • Allow for personal devices on purpose. If contractors or BYOD users connect, put them in a group excluded from the compliance policy and cover them with MFA, tighter redirection settings and a shorter sign-in frequency instead.
  • Combine controls with "Require all". For a sensitive host pool, require MFA and a compliant device, and give it its own user group so the stricter policy only reaches the people who use it.

Sign-in risk and user risk policies (Microsoft Entra ID Protection, P2) add a third signal: block, or require MFA or a password change, when a sign-in looks compromised.


Exclusions that keep AVD sign-ins working

Most "AVD stopped working after we turned on Conditional Access" tickets come from one of these:

SymptomCauseFix
"The sign-in method you're trying to use isn't allowed"Legacy per-user MFA is on, or a policy demands MFA from the Azure Windows VM Sign-In appTurn off per-user MFA and enforce MFA through Conditional Access; exclude Azure Windows VM Sign-In or enable single sign-on
Feed won't load, or constant MFA promptsMFA on the Azure Resource Manager Provider app, or Every time on the Azure Virtual Desktop appRemove the provider app; set Every time only on Windows Cloud Login
Windows App sign-in fails for AVD-only usersA policy blocks the Windows 365 appDon't block Windows 365
FSLogix profile fails with "System error 1327"MFA applies to the storage account's Entra Kerberos appExclude that app from MFA policies
Users fail compliance on the session hostA compliance policy targets All resourcesExclude the AVD apps and give them their own policy

The FSLogix case has its own walkthrough in FSLogix with Entra ID joined session hosts, and the sign-in errors users see are listed in Azure Virtual Desktop error codes and AVD connection errors.


Break-glass accounts: exclude them from every policy

A policy that blocks access, or demands a control nobody can satisfy, applies to administrators too. Microsoft's guidance is to keep at least two emergency access accounts that every Conditional Access policy excludes:

  • Cloud-only, on your .onmicrosoft.com domain, so they work when sync or federation is down.
  • Permanent Global Administrator, not an eligible role that has to be activated.
  • Phishing-resistant authentication, such as a FIDO2 key kept in a safe. Microsoft now requires MFA to sign in to the Azure portal and admin centers, so a password alone isn't enough.
  • Alert on every sign-in and test them at least every 90 days.

If you exclude a group rather than the accounts, make it a role-assignable group so only privileged administrators can change who's in it. The full setup is in Exclude Break-Glass Accounts from Conditional Access.


A Zero Trust checklist for AVD

Zero Trust comes down to three principles: verify explicitly, use least privilege, and assume breach. For AVD, Conditional Access carries the first, and the rest of the estate carries the other two.

PrincipleControlWhere
Verify explicitlyMFA on Azure Virtual Desktop and Windows Cloud Login, phishing-resistant for adminsConditional Access
Verify explicitlyCompliant or hybrid joined device for corporate usersConditional Access, Intune
Verify explicitlySign-in risk and user risk policiesEntra ID Protection (P2)
Verify explicitlyLegacy authentication blocked tenant-wideConditional Access
Least privilegeUsers assigned only to the application groups they needAVD application groups
Least privilegeAdmin roles through Privileged Identity Management, not permanentEntra PIM
Least privilegeClipboard, drive and printer redirection limited per host poolRDP properties
Assume breachSession hosts with no inbound ports, filtered egressNetwork, NSGs
Assume breachScreen capture protection and watermarking on sensitive poolsSession host policy
Assume breachSign-in, connection and admin logs in Log AnalyticsDiagnostics
ResilienceTwo break-glass accounts excluded from every policy, sign-ins alertedEntra ID

The wider hardening list, from session host baselines to network isolation, is in our Azure Virtual Desktop security best practices checklist. For the data-leaving-the-screen side, see AVD screen capture protection and watermarking.


Roll it out without locking anyone out

  1. Start in report-only. Entra records what the policy would have done without enforcing it.
  2. Read the results. In the sign-in logs, the Report-only tab of each sign-in shows whether the policy would have required MFA, blocked it, or failed. Check your admins and break-glass accounts first.
  3. Test specific users. The What If tool shows how the policy treats a given user, app and device, including a break-glass account.
  4. Turn it on for a pilot group, then everyone. Keep a second administrator signed in somewhere else while you enforce, so you can turn the policy off if it goes wrong.

Where Atlas AVD helps

Atlas creates and edits ordinary Entra Conditional Access policies from your own tenant, so Microsoft enforces them exactly as it would a policy made in the Entra admin center. What Atlas adds is the safety around the change:

  • A guided wizard that starts with AVD. Security → Conditional Access → Create policy opens with the Azure Virtual Desktop app selected, MFA required and the roll-out mode on Report-only.
  • Break-glass accounts checked against every change. Designate them once and Atlas fills them in as exclusions on new policies, lists every existing policy that can block sign-ins without excluding them, and adds the exclusions to all of those policies at once. It flags an account that's disabled, synced from on-premises, outside your .onmicrosoft.com domain or not a permanent Global Administrator.
  • A safety review before you save. When an enforced change could lock administrators out, Atlas shows the risk, offers to add the break-glass exclusions, and shows the policy's report-only results for the last 7 days: who it would have blocked or prompted, with administrators and you listed first.
  • An automatic rollback. If nobody confirms with a fresh sign-in within 15 minutes of an enforced change, Atlas puts the policy back as it was, or switches a new one to report-only, using its own application credentials, so the rollback runs even if every person is locked out.
  • Alerts on break-glass activity. Any sign-in to a designated account, and any password, authentication method, role or account status change, raises an alert.
  • A review of the policies you already have. Ask Atlas Advisor to review your Conditional Access policies and it flags AVD sign-ins with no MFA or device requirement, a policy that carves the AVD apps out, legacy authentication that isn't blocked and tenant-wide policies with no emergency access exclusion. The review works without an AI provider configured.
  • Secure Score policies in the Settings Matrix. MFA for administrators, MFA for all users, blocking legacy authentication and the risk policies are created in report-only and never switched on from the matrix: turning one on goes through its own page, with the checks above.
Atlas AVD screenshot. All names, metrics and values are demo data.

That's the real Atlas AVD console in our demo environment; the policies shown are sample data.


FAQ

Which app do I target for Azure Virtual Desktop in Conditional Access?

Azure Virtual Desktop (app ID 9cdead84-a844-4324-93f2-b2e6bb768d07) for the feed and gateway, and Windows Cloud Login (270efc09-cd0d-444b-a71f-39af4910ec45) for the session host sign-in when single sign-on is on. Microsoft recommends a separate policy for each.

Can I apply a Conditional Access policy to a single host pool?

No. Conditional Access targets Entra apps and users, not host pools. Put the users of a sensitive host pool in their own group, assign that group to the pool's application group, and scope a stricter policy to the same group.

Why do my users get constant MFA prompts in Windows App?

Usually because sign-in frequency Every time is set on the Azure Virtual Desktop app, or the Azure Resource Manager Provider app is in an MFA policy. Set Every time only on Windows Cloud Login, and remove the provider app from the policy.

Does sign-in frequency disconnect an active AVD session?

No. A session that's already connected keeps running. Reauthentication is asked for at the next feed subscription, manual refresh or new connection, and with single sign-on when the user reconnects to a locked session.

Do I still need per-user MFA if I use Conditional Access?

No, turn it off. Microsoft requires legacy per-user MFA to be disabled for AVD connections to Entra joined hosts to succeed; enforce MFA through Conditional Access instead.

Should I require a compliant device for AVD?

For corporate endpoints, yes: it's the strongest control against unmanaged devices. Target the AVD apps rather than All resources, and give BYOD users a separate group with MFA and tighter redirection settings.

Why exclude break-glass accounts from Conditional Access?

So one misconfigured policy can't lock every administrator out of the tenant. Keep at least two cloud-only, permanent Global Administrator accounts with phishing-resistant authentication, exclude them from every policy, and alert on every sign-in.

Last updated 25 November 2026. Microsoft details are drawn from Microsoft Learn as of November 2026: Enforce Microsoft Entra multifactor authentication for Azure Virtual Desktop using Conditional Access, Configure single sign-on for Azure Virtual Desktop, Configure adaptive session lifetime policies and Manage emergency access accounts in Microsoft Entra ID.

Related Resources

Blog

Azure Virtual Desktop Disaster Recovery: A Business Continuity Guide

What Microsoft protects in Azure Virtual Desktop and what you have to, active-active vs active-passive host pools, FSLogix Cloud Cache and the other profile options, image replication to the recovery region, the dependencies people forget, and an RTO/RPO table for each design.

Read more
Blog

AVD Session Host Unavailable: Causes and Fixes

What the Unavailable status means for an Azure Virtual Desktop session host, which health checks are fatal, and how to fix each cause: a VM that's off or booting, a stopped agent, blocked broker URLs, an expired registration token, a broken domain trust and a stack listener that isn't listening.

Read more
Blog

MSP Client Onboarding Checklist for Azure Virtual Desktop: Consent, Discovery, Baseline and Handover

A step-by-step MSP client onboarding checklist for Azure Virtual Desktop: 38 items in six phases, from kickoff and tenant consent through discovery, baseline and documentation to handover and the 30-day review. Each item has an owner and a "done when" test, and the whole list is a free Excel download.

Read more
Blog

Sage on Azure Virtual Desktop: Sage 50, Sage 100 and Sage 300 Setup, Database Placement and Licensing

How to run Sage accounting on Azure Virtual Desktop: the Sage program on the session hosts, the company data and database engine on a Windows Server VM next to them, what Sage says about Remote Desktop for Sage 50, Sage 100 and Sage 300, which host OS to pick, the Sage and Microsoft licences you need, and fixes for slow or locked company data.

Read more

Get the AVD health checklist

The checks that catch slow sign-ins, temporary profiles and surprise Azure bills, across session hosts, FSLogix, golden images and cost. Free, straight to your inbox.

No spam. Unsubscribe anytime.

Ready to put this into practice?

Atlas AVD automates the strategies in this article - cost optimization, scaling, governance, and more.

Start free, no credit card

Free forever for 1 tenant & 1 host pool on the Community plan, or 30 days of every feature.

Try the live demo, no signup

Which Entra apps an Azure Virtual Desktop Conditional Access policy should target, the two-policy MFA baseline Microsoft recommends, how sign-in frequency and device compliance behave for AVD, the exclusions that keep sign-ins working, and a Zero Trust checklist.

By David Smith, Founder and CEO, Atlas AVD, , updated