AZ-140 study notes · 15–20% of the exam
Plan and implement identity and security
First draft for review. Check details against Microsoft Learn before relying on them.
What this area covers
Choosing an identity model for session hosts, RBAC and Conditional Access for AVD, and protecting session hosts with Microsoft Defender and network controls.
Identity
- AD DS joined hosts need line of sight to domain controllers and hybrid users. They support Group Policy.
- Microsoft Entra joined hosts don't need domain controllers and work with cloud-only users. Manage them with Intune.
- Microsoft Entra Domain Services gives a managed domain without running your own domain controllers.
- Single sign-on uses Microsoft Entra authentication (RDP property enablerdsaadauth:i:1). It removes the second sign-in prompt.
RBAC
- Desktop Virtualization User on an application group lets users connect.
- Microsoft Entra joined hosts need Virtual Machine User Login or Virtual Machine Administrator Login.
- Admin roles include Desktop Virtualization Contributor, Host Pool Contributor, Reader, Session Host Operator and User Session Operator.
- The AVD service principal needs Power On Contributor for Start VM on connect and Power On Off Contributor for scaling plans.
Conditional Access
- Target the Azure Virtual Desktop app and Windows Cloud Login (for SSO).
- Require MFA, compliant devices or trusted locations. Use sign-in frequency to control reauthentication.
Protecting session hosts
- Microsoft Defender for Servers adds vulnerability assessment and Defender for Endpoint.
- Onboard non-persistent hosts with the VDI onboarding script to avoid duplicate devices.
- Configure Defender Antivirus exclusions for FSLogix files.
- Use Trusted launch (Secure Boot and vTPM) or Confidential VMs for stronger protection.
- Reduce data loss with RDP properties that turn off clipboard, drive and printer redirection, plus screen capture protection and watermarking.
- Admins reach hosts through Azure Bastion, not public IPs.