Contoso is planning Conditional Access for Azure Virtual Desktop.
- All Azure Virtual Desktop users are assigned Microsoft Entra ID P1 licenses.
- Security defaults are currently enabled in the tenant.
- Per-user MFA is currently enabled for several Azure Virtual Desktop users.
- The session hosts are Microsoft Entra joined, and single sign-on is enabled on the host pool.
Requirements:
- MFA must be enforced by a Conditional Access policy when users authenticate to the Azure Virtual Desktop gateway during a connection.
- The same MFA requirement must apply when users sign in to the session hosts through single sign-on.
- Users must be able to sign in to the Microsoft Entra joined session hosts without receiving a sign-in method error.
Which plan meets all the requirements?
Conditional Access requires Microsoft Entra ID P1 or P2 and cannot work while security defaults are on, so they must be turned off first. Per-user MFA must also be turned off, because combining it with Conditional Access produces a sign-in method error on Microsoft Entra joined session hosts. Finally, the policy must target the Azure Virtual Desktop app, which covers gateway authentication, and the Windows Cloud Login app, which covers SSO sign-in to the session host.
- Not correct: Disable security defaults, disable per-user MFA, and require MFA for the Azure Virtual Desktop app. Session host sign-in with SSO is handled by the Windows Cloud Login app, so a policy that targets only the Azure Virtual Desktop app does not cover it.
- Not correct: Disable security defaults, keep per-user MFA, and require MFA for the Azure Virtual Desktop and Windows Cloud Login apps. When per-user MFA stays enabled together with Conditional Access, users on Microsoft Entra joined session hosts get a sign-in method error, so per-user MFA must be turned off.
- Correct: Disable security defaults, disable per-user MFA, and require MFA for the Azure Virtual Desktop and Windows Cloud Login apps. Turning off security defaults lets Conditional Access policies be used, turning off per-user MFA prevents the sign-in method error on Microsoft Entra joined session hosts, and targeting both apps covers gateway authentication and SSO sign-in to the session host.
- Not correct: Keep security defaults enabled, disable per-user MFA, and require MFA for the Azure Virtual Desktop and Windows Cloud Login apps. Conditional Access policies are not usable while security defaults remain on, so no Conditional Access policy could enforce MFA in this plan.
- Not correct: Disable security defaults, disable per-user MFA, and require MFA for the Azure Virtual Desktop Azure Resource Manager Provider and Windows Cloud Login apps. Gateway authentication is covered by the Azure Virtual Desktop app, which this plan omits; the Azure Resource Manager Provider app only retrieves the feed and should not be added to any Conditional Access policy.
- Enforce Microsoft Entra multifactor authentication for Azure Virtual Desktop using Conditional Access - Azure - Azure Virtual DesktopMicrosoft Learn
- Manage access for Azure Virtual Desktop: Enforce Microsoft Entra multifactor authentication for Azure Virtual Desktop using Conditional AccessMicrosoft Learn