Is Passkey Authentication Supported on an Azure Windows Virtual Machine, and How Can I Configure It?

Anant Bera 271 Reputation points
2026-12-01T06:13:09.0233333+00:00

I want to test Passkey authentication on a Windows VM hosted in Microsoft Azure.

I would like to know:

Is Passkey authentication supported on Azure Windows VMs?

Can users sign in to an Azure VM using a Passkey instead of a password?

What are the prerequisites and configurations required?

How does it work with Windows Hello, FIDO2, and Microsoft Entra ID?

Any step-by-step guidance to configure and test this in a lab environment would be appreciated.

Thanks in advance!

Windows for home | Windows 10 | Windows Hello, lock screen and sign-in
0 comments No comments

1 answer

Sort by: Most helpful
  1. AI answer

    2026-12-01T06:14:13.43+00:00

    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^

    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:

    1. Open Virtual machines → your VM → Identity.
    2. Set System assigned managed identity to On and save.
    3. Install the Microsoft Entra login VM extension (AADLoginForWindows). This can be selected during VM creation or installed afterward under VM → Extensions + applications.
    4. 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:

    1. Open Access control (IAM) → Add role assignment.
    2. Assign the test user one of:
      • Virtual Machine User Login for standard access.
      • Virtual Machine Administrator Login for administrator access.
    3. 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:

    1. Open Microsoft Entra admin center → Entra ID → Security → Authentication methods → Policies.
    2. Select Passkey (FIDO2) and opt in to passkey profiles.
    3. On Configure, set Allow self-service set up to Yes.
    4. 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.
    5. 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:

    1. Ensure the VM hostname resolves to its IP address. An IP address cannot be used for this flow.
    2. Run mstsc.exe.
    3. Select Show Options → Advanced.
    4. Enable Use a web account to sign in to the remote computer.
    5. Enter the VM’s Microsoft Entra device hostname—not its IP address.
    6. Select Connect.
    7. At the web authentication prompt, enter the test user’s UPN, such as [Email].
    8. 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:

    1. The connection uses the hostname, not an IP address.
    2. Use a web account to sign in to the remote computer is selected.
    3. The user is a same-tenant standard Entra user, not a guest.
    4. The user has VM User Login or VM Administrator Login.
    5. The VM’s managed identity and AADLoginForWindows extension are healthy.
    6. The passkey profile targets the user and permits that passkey type/AAGUID.
    7. 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

    1. Sign in to Windows virtual machine in Azure using Microsoft Entra ID and Azure Roles Based Access Control
    2. Enable FIDO2 security key sign-in to Windows 10 and 11 devices with Microsoft Entra ID
    3. Windows Hello for Business
    4. How to enable passkeys (FIDO2) in Microsoft Entra ID
    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.