Azure Virtual Desktop (AVD) is easy to describe as "a Windows desktop in the cloud," and that description is how it ends up under-secured. In practice it is a stack: an identity layer, a brokering service, virtual machines running in a virtual network, profile storage, and the user's own device on the other end. A control that is strong in one layer can be undone by a gap in another. This article walks through the layers in the order a sign-in passes through them, using a generic example, and flags the mistakes Microsoft's own documentation warns about.
An example: a 60-person firm moves to hosted desktops
Imagine a 60-person professional services firm that wants staff to work from personal and company laptops without holding client files locally. Most users are ordinary knowledge workers, a few are IT administrators, and one department handles more sensitive documents. This is an invented scenario, but it mirrors a typical first AVD deployment and surfaces the main design decisions.
Layer one: sign-in and access
Users must authenticate with Microsoft Entra ID to reach desktops and apps, which makes Conditional Access with multifactor authentication the natural first control. Microsoft recommends granting access by assigning the Desktop Virtualization User role to security groups, and rotating local administrator passwords on session hosts with a solution such as LAPS.
Join choices matter early. Session hosts can join the same Microsoft Entra tenant, Active Directory Domain Services, or Microsoft Entra Domain Services, and Microsoft documents several consequences:
- Session hosts joined to Microsoft Entra Domain Services cannot be managed with Intune.
- Windows Server session hosts joined only to Microsoft Entra cannot be enrolled in Intune, because Windows Server is not supported there. Microsoft points to hybrid join with Group Policy, or local Group Policy, instead.
- To manage session hosts joined to AD DS with Intune, Microsoft Entra Connect must be configured for Microsoft Entra hybrid join.
Layer two: session hosts and trust boundaries
Session hosts are ordinary virtual machines in an Azure subscription, so their security depends on the controls you place on them. Microsoft recommends endpoint protection, an endpoint detection and response product (Microsoft Defender for Endpoint for client operating systems), vulnerability assessment, and a defined patch process. For FSLogix profile solutions that mount virtual hard disks, it recommends antivirus exclusions for those file extensions.
The host design also sets a trust boundary, and Microsoft's security recommendations map it to the audience:
| Scenario | Microsoft's recommended approach |
|---|---|
| Users from one organization with standard privileges | Windows Enterprise multi-session, which lets several users share one VM and reduces cost. |
| Users who need administrative privileges | A personal host pool, with each user assigned their own session host. |
| Users from different organizations | A separate tenant and a separate subscription. Microsoft recommends against giving users from different or competing companies the same multi-session environment. |
In our example, the staff on standard desktops fit multi-session, while the IT administrators should not share session hosts with ordinary users. The department handling sensitive documents is a design conversation about whether it needs its own host pool.
Layer three: network exposure
Microsoft's prerequisites guidance states that AVD does not require an inbound port to be open, so it recommends not opening inbound port 3389 on session hosts and not assigning them public IP addresses. If port 3389 must be opened for troubleshooting, it recommends just-in-time VM access. It also recommends Azure Firewall to filter outbound traffic, and Azure Private Link is available to connect privately to AVD resources through private endpoints.
Layer four: what users can take with them
The remote session can connect to the user's local device in several ways. Microsoft notes that drives, clipboard, printer, and USB redirection are disabled by default to a user's local device, and recommends evaluating whether to change that. Its suggestions include using OneDrive for Business instead of drive redirection for file transfer, and using clipboard transfer direction settings instead of bidirectional clipboard. A newer capability in preview, context-based redirection, uses a Conditional Access authentication context to allow or restrict clipboard, drive, printer, and USB redirection depending on conditions such as device compliance. Because it is in preview, confirm its status before relying on it.
Microsoft also recommends requiring Token Protection on the endpoint running the Windows App, noting that it does not apply to the session host.
Layer five: profiles and data
User profiles can contain sensitive information. Microsoft recommends restricting who can access profiles and how, especially with FSLogix profile containers on an SMB share, and notes that Azure Files private endpoints can keep the storage reachable only inside the virtual network. It also notes that BitLocker should not be used to encrypt the specific disk where FSLogix profile data is stored.
Layer six: operate it
Microsoft recommends enabling Microsoft Defender for Cloud's enhanced security features, tracking Secure Score recommendations, requiring MFA for all users and administrators, and collecting audit logs so that user and administrator activity can be reviewed. Treat these as operating tasks with owners and a review cadence, not one-time setup.
Security and technical readiness
Layered controls around identity, hosts, network, and data can support access control, system protection, and monitoring objectives. For CMMC Level 2 and NIST SP 800-171 work, the design must be mapped to the actual system boundary and supported by evidence. This article describes technical readiness only. It is not an assessment, certification, or compliance guarantee.
Sources
- Security recommendations for Azure Virtual DesktopSource checked:
- Enforce Microsoft Entra multifactor authentication for Azure Virtual Desktop using Conditional AccessSource checked:
- Prerequisites for Azure Virtual DesktopSource checked:
- Identity and access management recommendations for Azure Virtual DesktopSource checked:
- Context-based redirections (preview)Source checked:
- Microsoft Entra joined session hosts in Azure Virtual DesktopSource checked:
- Apply Zero Trust principles to an Azure Virtual Desktop deploymentSource checked: