How to login azure machine using azure AD?

uday kiran reddy 1 Reputation point
2021-10-14T11:42:00.36+00:00

I have created a VM and added it to Azure AD by following these steps.

https://techcommunity.microsoft.com/t5/azure-active-directory-identity/azure-ad-authentication-to-windows-vms-in-azure-now-in-public/ba-p/827840#:~:text=To%20create%20a%20Windows%20Server%202019%20Datacenter%20VM,AAD%20credentials%20%28Preview%29%20to%20On.%20More%20items...%20

But I can't login with azure ad domain credentials to the virtual machine created.

So I followed then below steps but getting a different error now.

I have created an ad managed domain service using this link: https://learn.microsoft.com/en-us/azure/active-directory-domain-services/tutorial-create-instance

And trying to join a VM using this link: https://learn.microsoft.com/en-us/azure/active-directory-domain-services/join-windows-vm

But getting this error while joining to domain.

140520-microsoftteams-image.png

My over all idea is to setup MDT for deployment of our customized machines, so getting this issue while setting up a server.
Please guide us.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,086 questions
Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,133 questions
Microsoft Entra
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,390 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Alan Kinane 16,786 Reputation points MVP
    2021-10-14T11:51:50.99+00:00

    That article is quite old, please refer to the current procedure which can be found here: https://learn.microsoft.com/en-us/azure/active-directory/devices/howto-vm-sign-in-azure-ad-windows

    Note, your device that you are connecting in from has to be registered, joined or hybrid joined to the same Azure AD to be able to connect: https://learn.microsoft.com/en-us/azure/active-directory/devices/howto-vm-sign-in-azure-ad-windows#log-in-using-azure-ad-credentials-to-a-windows-vm

    Azure Active Directory Domain Services is something completely different, but if you want to use this instead then you will first have to disconnect the current VM from Azure AD.


  2. Vineet Kumar Gupta 161 Reputation points
    2022-04-11T13:49:56.61+00:00

    Please provide access to user as Azure VM administrator access.

    0 comments No comments