Unable to join Windows Server 2022 to domain using Microsoft Entra domain services

User 40 Reputation points
2024-05-15T23:48:13.64+00:00

I am trying to join my Windows Server 2022 to my domain using Microsoft Entra domain services. However, I am unable to find the correct DNS server addresses to join my device to the domain. I have searched online extensively but have not found any useful resources. Can someone please help me with this issue? Thank you in advance.

Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
6,005 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,901 questions
0 comments No comments
{count} votes

Accepted answer
  1. Sandeep G-MSFT 15,236 Reputation points Microsoft Employee
    2024-05-21T06:41:12.01+00:00

    @User

    Thank you for posting this in Microsoft Q&A.

    If you are looking to join any VM to Entra ID domain services, then you have to perform below steps,

    • Connect the Windows Server VM to an Azure virtual network
    • Join the VM to the managed domain

    Main concept of getting using Entra ID domain services is Microsoft Entra Domain Services provides managed domain services such as domain join, group policy, lightweight directory access protocol (LDAP), and Kerberos/NTLM authentication. You use these domain services without the need to deploy, manage, and patch domain controllers (DCs) in the cloud.

    When you create a Domain Services managed domain, you define a unique namespace. This namespace is the domain name, such as aaddscontoso.com. Two Windows Server domain controllers (DCs) are then deployed into your selected Azure region. This deployment of DCs is known as a replica set.

    Note: There is no option to add additional domain controllers to this managed domain

    You can only add Azure VM's to this managed domain.

    If your scenario is something like, you have a DC in on-premises environment, and a domain controller in Azure, then you can follow below article,

    https://learn.microsoft.com/en-us/azure/architecture/reference-architectures/identity/

    Let us know if you have any further questions.

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    0 comments No comments

4 additional answers

Sort by: Most helpful
  1. Andy David - MVP 142.8K Reputation points MVP
    2024-05-15T23:52:39.45+00:00
    0 comments No comments

  2. Marcin Policht 14,185 Reputation points MVP
    2024-05-15T23:53:56.2833333+00:00

    You shouldn't need it. Instead, follow https://learn.microsoft.com/en-us/entra/identity/domain-services/join-windows-vm

    The DNS server configuration is inherited from the virtual network hosting the Entra Domain Services deployment.

    Verify that the VM hosting the Windows Server 2022 is connected to the same virtual network that Domain Services is enabled in or it is in a peered virtual network.

    For additional troubleshooting steps, refer to https://learn.microsoft.com/en-us/entra/identity/domain-services/join-windows-vm#connectivity-issues


    If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.

    hth

    Marcin


  3. Jing Zhou 2,945 Reputation points Microsoft Vendor
    2024-05-17T06:36:58.5366667+00:00

    Hello,

     

    Thank you for posting in Q&A forum.

    To find a proper DNS server, please kindly check if there's any DNS server in your domain and get the IP address. If you don't have access to such information, you can find an existing windows client in the domain and run ipconfig/all to get the preferred DNS ip address.

    Once you get the proper DNS server ip address, please configure on the new joint windows client and check if it works.

     

    Best regards,

    Jill Zhou

     


    If the Answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

  4. User 40 Reputation points
    2024-05-17T15:29:55.2666667+00:00

    Update: I have now put a dns on that server, it is added in the domain.(according to windows settings) But how can I now link this domain controller to azure. I currently still have a free azure account.

    Can someone explain to me how I can now set everything in azure (online) also for this domain: users, permissions, ...

    0 comments No comments