Sign in via Microsoft Entra ID
Signing in via Microsoft Entra ID is mandatory for destinations with Windows 11 images because licensing requires it. For Windows 10 images, it is optional and lets you use unified access and management standards.
To enable users to sign in to the destination via oneclick™ with Microsoft Entra ID, configure the following settings.
This article covers signing in to the destination with an Entra ID username and password. Signing in with a Microsoft web account (option "Use a web account to sign in to the remote computer", RDP property enablerdsaadauth) is supported neither by oneclick™ Streaming nor by the oneclick™ Gateway.
To learn how users sign in to oneclick™ with Entra ID, see Sign in to oneclick™ with Entra ID.
Prerequisites
Who can sign in to the destination depends on how the destination is connected to Microsoft Entra ID.
Azure VM with the "AADLoginForWindows" extension
The account requires the Azure role Virtual Machine User Login or Virtual Machine Administrator Login. On these VMs, only these roles control access; Owner or Contributor alone is not enough. Assign the role on the VM, the resource group, or the subscription.
Open the VM in the Azure portal and check under Extensions whether the AADLoginForWindows extension is installed.
Other Microsoft Entra joined destinations
For physical PCs and VMs outside Azure, you control access through the local group Remote Desktop Users.
To allow users to sign in via RDP, add them to the Remote Desktop Users group. Use a policy in Microsoft Intune or run the following command on the destination in a Command Prompt with administrator privileges:
net localgroup "Remote Desktop Users" /add "AzureAD\<UPN>"
Replace <UPN> with the user principal name (UPN) of the account, for example name@company.com.
1. Disable NLA on the Windows destination
With NLA (Network Level Authentication) enabled, oneclick™ signs in via NTLM. NTLM does not support Entra accounts, so the sign-in fails.
- On the Windows destination, click Settings in the Start menu.
- Click System.
- Click Remote Desktop.

- If Remote Desktop is disabled, turn on Remote Desktop. For more information, see Enable Remote Desktop on your PC.

- Click the Expand icon to the right of the Remote Desktop switch.

- Disable Require devices to use Network Level Authentication to connect (Recommended).

Without NLA, there is a risk that a fake server poses as the destination. oneclick™ uses its streaming technology to ensure that the accessed server is authentic, which prevents man-in-the-middle attacks.
2. Settings in oneclick™ Admin
App configuration
When creating an app configuration, configure the following settings:
- Under Connection settings, turn on Customize.
- Select TLS as the encryption method.
- Optional: In the Active Directory Domain field, enter
AzureAD.
If you leave the Active Directory Domain field blank, you can specify the domain later in the app instance.
App instance
When creating an app instance, enter AzureAD\name@company.com in the Username field in the third step Settings.
If you have already specified the domain in the app configuration, enter only the user's UPN (usually the email address).

Make sure that the option to allow users to enter their credentials is enabled.
Your users then sign in to the destination with their Entra ID credentials.
Limitations of password-based sign-in
Signing in with a password fails if:
- a Conditional Access policy requires multifactor authentication (MFA) for the app Azure Windows VM Sign-In,
- per-user MFA is enabled for the account,
- the user still has a temporary password.
What you can do:
- Adjust the Entra policy: Exclude the app Azure Windows VM Sign-In from the Conditional Access policy. You can limit the exclusion to a group, for example, the users who work via oneclick™. For per-user MFA, remove this setting for the account. Both weaken security, so check whether this is an option for your organization.
- Replace the temporary password: The user signs in once in a browser, for example, at portal.azure.com, and sets a new password.
- Use a local Windows account: A local account on the destination is not affected by MFA or Conditional Access, but you lose central management through Entra ID. With a local account, you can enable NLA again: select NLA as the encryption method in the app configuration.
- Sign in with a web account: Not supported at the moment. You can submit it as a feature request.
Troubleshooting
- If sign-in fails while NLA is enabled, the destination logs event ID 4625 with status
0xC000006Dand sub-status0xC0000064. Disable NLA as described in step 1. - If the message "Your credentials did not work" appears, check the prerequisites (role or Remote Desktop Users group) and the points under Limitations of password-based sign-in.
If sign-in still fails, contact oneclick™ support.