Passwordless sign-in to an Azure Windows VM is supported through Microsoft Entra authentication, but the supported lab workflow is to start RDP with Use a web account to sign in to the remote computer and complete the Entra prompt with a passkey—not to insert a FIDO2 key directly at the VM’s remote Windows lock screen. ^1^
What is and is not supported
- Supported: RDP sign-in using Microsoft Entra credentials and a passwordless authentication method through the web-account authentication flow.
- Not supported: Using a FIDO2 security key as a conventional redirected RDP credential. Microsoft documents RDP, VDI, and Citrix security-key scenarios as unsupported unless WebAuthn redirection is used; signing in to a server directly with a security key is also unsupported. ^2^
- Not supported: Unlocking a locked remote session with FIDO or another passwordless Entra method. Locking the session disconnects it instead, so reconnecting can trigger Entra authentication and Conditional Access again. ^1^
- Windows Hello for Business: Supported for this Azure VM RDP scenario only with the certificate trust model, not key trust. Windows Hello for Business normally uses a device-bound key unlocked by a PIN, face, or fingerprint. ^3^
Recommended lab configuration
1. Create a compatible VM
For a straightforward test, use Windows Server 2022 with the October 2022 cumulative update or later, or Windows Server 2025. The documented passwordless session-host alternatives also include appropriately updated Windows 10 20H2+ and Windows 11. ^1^
The VM and user must be in the same Microsoft Entra tenant. Guest/B2B accounts are not supported for VM authentication.
2. Enable Microsoft Entra sign-in on the VM
In Azure portal:
- Open Virtual machines → your VM → Identity.
- Set System assigned managed identity to On and save.
- Install the Microsoft Entra login VM extension (
AADLoginForWindows). This can be selected during VM creation or installed afterward under VM → Extensions + applications. - Confirm that the extension reports successful provisioning.
The system-assigned identity must exist before the Entra sign-in extension is installed. ^1^
3. Grant VM sign-in authorization
At the VM, resource group, or subscription scope:
- Open Access control (IAM) → Add role assignment.
- Assign the test user one of:
- Virtual Machine User Login for standard access.
- Virtual Machine Administrator Login for administrator access.
- Wait for the assignment to propagate.
Owner or Contributor alone does not permit interactive VM sign-in. Do not add the Entra user manually to a local Windows group; Azure RBAC is the supported authorization method. ^1^
4. Enable passkeys for a pilot group
An Authentication Policy Administrator should:
- Open Microsoft Entra admin center → Entra ID → Security → Authentication methods → Policies.
- Select Passkey (FIDO2) and opt in to passkey profiles.
- On Configure, set Allow self-service set up to Yes.
- Configure the default profile or create a lab profile:
- Choose Device-bound for a physical FIDO2 security key.
- Add Synced only if the lab should permit supported synced passkeys.
- Leave key restrictions disabled unless particular authenticator AAGUIDs must be allowed or blocked.
- Open Enable and Target, enable the policy, and target the lab group.
Passkeys are available in all Microsoft Entra ID editions, including Free. Users must have completed MFA within the preceding five minutes when registering one. ^4^
Have the test user register the passkey through their Microsoft Entra Security info page. For a security key, verify that it is registered as a device-bound Passkey/FIDO2 credential.
5. Connect using the passwordless RDP flow
From a Windows client:
- Ensure the VM hostname resolves to its IP address. An IP address cannot be used for this flow.
- Run
mstsc.exe. - Select Show Options → Advanced.
- Enable Use a web account to sign in to the remote computer.
- Enter the VM’s Microsoft Entra device hostname—not its IP address.
- Select Connect.
- At the web authentication prompt, enter the test user’s UPN, such as
[Email]. - Choose the registered passkey and complete its gesture:
- Security key: insert/tap it and enter its PIN.
- Windows Hello/platform passkey: use the PIN or biometric prompt.
- Other permitted passkey provider: complete its displayed workflow.
With this web-account option, the local client does not have to be Entra joined or domain joined. ^1^
If the test fails
Check these items in order:
- The connection uses the hostname, not an IP address.
- Use a web account to sign in to the remote computer is selected.
- The user is a same-tenant standard Entra user, not a guest.
- The user has VM User Login or VM Administrator Login.
- The VM’s managed identity and
AADLoginForWindowsextension are healthy. - The passkey profile targets the user and permits that passkey type/AAGUID.
- Any Conditional Access policy targeting Microsoft Azure Windows Virtual Machine Sign-in or Microsoft Remote Desktop allows the lab’s authentication method and device state.
Do not test by locking the remote desktop and expecting a FIDO2 option on its Windows lock screen; disconnect and reconnect through the web-account RDP flow instead.
References