unable to RDP into a Azure Active directory joined vm with a domain account.

Jose Basora 0 Reputation points
2023-02-02T17:10:33.6866667+00:00

I have tried:

RDP from Azure VM1 to Azure VM2, same Vnet, DNS, AAD.

Error is Logon attempt failed.

using a default domain account with AAD default.

RDP works with local admin account

Both VM's are Windows servers 2019

Both VM's are Joined on the Domain.

Vnet is link to a private DNS.

Validated permit are ok.

Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,234 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,449 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Limitless Technology 43,931 Reputation points
    2023-02-03T16:44:58.3833333+00:00

    Hello

    Thank you for your question and reaching out. I can understand you are having query\issues related to RDP connection to Azure.

    1. Save the connection file of this RDP file of Azure VM.
    2. Go to the very bottom of the file, add the following lines:

    enablecredsspsupport:i:0

    authentication level:i:2

    1. Try to connect using this RDP file and login using the format:

    AzureVMNAME\YourFullUsername

    OR

    AzureVMNAME\FirstName@domain.com

    --If the reply is helpful, please Upvote and Accept as answer--

    0 comments No comments

  2. Givary-MSFT 27,796 Reputation points Microsoft Employee
    2023-02-06T08:40:15.4033333+00:00

    @Jose Basora Thank you for reaching out to us, As I understand you would like to login to Virtual machine in Azure using Azure AD authentication.

    Refer to these articles which has the detailed steps on how to achieve this.

    https://techcommunity.microsoft.com/t5/azure-compute/login-to-windows-virtual-machine-in-azure-using-azure-ad/m-p/3248282

    https://learn.microsoft.com/en-us/azure/active-directory/devices/howto-vm-sign-in-azure-ad-windows

    Let me know if you have any further questions, feel free to post back.

    Please remember to "Accept Answer" if answer helped, so that others in the community facing similar issues can easily find the solution.