|
1 | 1 | --- |
2 | | - |
3 | 2 | ms.reviewer: daknappe |
4 | 3 | ms.topic: include |
5 | | -ms.date: 11/21/2022 |
| 4 | +ms.date: 01/21/2025 |
6 | 5 | --- |
7 | | - |
8 | 6 | ### Your account is configured to prevent you from using this device |
9 | 7 |
|
10 | | -If you come across an error saying **Your account is configured to prevent you from using this device. For more information, contact your system administrator**, ensure the user account was given the [Virtual Machine User Login role](/entra/identity/devices/howto-vm-sign-in-azure-ad-windows#azure-role-not-assigned) on the VMs. |
| 8 | +If you come across an error saying: |
| 9 | + |
| 10 | +> Your account is configured to prevent you from using this device. For more information, contact your system administrator. |
| 11 | +
|
| 12 | +Ensure the user account was given the [Virtual Machine User Login role](/entra/identity/devices/howto-vm-sign-in-azure-ad-windows#azure-role-not-assigned) on the virtual machines (VMs). |
11 | 13 |
|
12 | 14 | ### The user name or password is incorrect |
13 | 15 |
|
14 | 16 | If you can't sign in and keep receiving an error message that says your credentials are incorrect, first make sure you're using the right credentials. If you keep seeing error messages, check to make sure you've fulfilled the following requirements: |
15 | 17 |
|
16 | | -- Have you assigned the **Virtual Machine User Login** role-based access control (RBAC) permission to the virtual machine (VM) or resource group for each user? |
17 | | -- Does your Conditional Access policy exclude multifactor authentication requirements for the **Azure Windows VM sign-in** cloud application? |
| 18 | +- Have you assigned the Virtual Machine User Login role-based access control (RBAC) permission to the VM or resource group for each user? |
| 19 | +- Does your Conditional Access policy exclude multifactor authentication requirements for the Azure Windows VM sign-in cloud application? |
18 | 20 |
|
19 | | -If you've answered no to either of those questions, you'll need to reconfigure your multifactor authentication. To reconfigure your multifactor authentication, follow the instructions in [Enforce Microsoft Entra multifactor authentication for Azure Virtual Desktop using Conditional Access](/azure/virtual-desktop/set-up-mfa?tabs=avd#azure-ad-joined-session-host-vms#azure-ad-joined-session-host-vms). |
| 21 | +If you've answered no to either of those questions, you'll need to reconfigure your multifactor authentication. To reconfigure your multifactor authentication, follow the instructions in [Enforce Microsoft Entra multifactor authentication for Azure Virtual Desktop using Conditional Access](/azure/virtual-desktop/set-up-mfa#azure-ad-joined-session-host-vms). |
20 | 22 |
|
21 | | -> [!IMPORTANT] |
| 23 | +> [!IMPORTANT] |
22 | 24 | > VM sign-ins don't support per-user enabled or enforced Microsoft Entra multifactor authentication. If you try to sign in with multifactor authentication on a VM, you won't be able to sign in and will receive an error message. |
23 | 25 |
|
24 | | -If you have [integrated Microsoft Entra logs with Azure Monitor logs](/entra/identity/monitoring-health/howto-integrate-activity-logs-with-azure-monitor-logs) to access your Microsoft Entra sign-in logs through Log Analytics, you can see if you've enabled multifactor authentication and which Conditional Access policy is triggering the event. The events shown are non-interactive user login events for the VM, which means the IP address will appear to come from the external IP address from which your VM accesses Microsoft Entra ID. |
| 26 | +If you have [integrated Microsoft Entra logs with Azure Monitor logs](/entra/identity/monitoring-health/howto-integrate-activity-logs-with-azure-monitor-logs) to access your Microsoft Entra sign-in logs through Log Analytics, you can see if you've enabled multifactor authentication and which Conditional Access policy is triggering the event. The events shown are non-interactive user login events for the VM, which means the IP address will appear to come from the external IP address from which your VM accesses Microsoft Entra ID. |
25 | 27 |
|
26 | 28 | You can access your sign-in logs by running the following Kusto query: |
27 | 29 |
|
|
0 commit comments