Hi Peniel Bikila,
If you want to use the existing Windows server VM in my on-prem vCenter and join to a domain you can follow below recommendations:
- First verify that you VM can reach the managed domain on the virtual network. If you don't receive a prompt that asks for credentials to join the domain, there's a connectivity problem.
- Verify the VM is connected to the same virtual network that Domain Services is enabled in, or has a peered network connection. Try to ping the DNS domain name of the managed domain, such as
ping aaddscontoso.com
. If the ping request fails, try to ping the IP addresses for the managed domain, such as ping 10.0.0.4
. The IP address for your environment is displayed on the Properties page when you select the managed domain from your list of Azure resources.
- Id you can ping the IP address but not the domain, DNS may be incorrectly configured. Confirm that the IP addresses of the managed domain are configured as DNS servers for the virtual network. Try to flush the DNS resolver cache on the virtual machine using the
ipconfig /flushdns
command.
- If you receive a prompt that asks for credentials to join the domain, but then an error after you enter those credentials, the VM is able to connect to the managed domain. The credentials you provided don't then let the VM join the managed domain.
- Make sure that the user account you specify belongs to the managed domain. Confirm that the account is part of the managed domain or Microsoft Entra tenant. Accounts from external directories associated with your Microsoft Entra tenant can't correctly authenticate during the domain-join process.
After that you connect and manage the domain controllers after creating the managed domain service, you can use the same Remote Server Administration Tools (RSAT) as with an on-premises Active Directory Domain Services domain. As Domain Services is a managed service, there are some administrative tasks that you can't perform, such as using remote desktop protocol (RDP) to connect to the domain controllers.
Regarding your additional questions:
References and additional help:
Let me know if you have additional doubts,
Luis
If the information helped address your question, please Accept the answer.