Joining a VM to Microsoft Entra ID Tenant

svs 0 Reputation points
2024-05-01T14:47:31.82+00:00

Hello everyone,

I recently set up an Entra ID tenant, which currently uses the default .onmicrosoft.com primary domain. For the purpose of this discussion, let’s refer to it as XYZ.onmicrosoft.com. Now, I’d like to join a virtual machine (VM) to this tenant. Here’s what I’ve done so far:

  1. Creating the VM in Azure: I created a VM within the Azure environment.
  2. System Settings Configuration: Next, I accessed the system settings of the VM, intending to join it to the Entra ID, similar to how we would with Active Directory Domain Services (ADDS).

User's image

User's image

I’ve encountered an issue with DNS resolution on my virtual machine (VM). Here are the details:

  1. Problem: I cannot resolve XYZ.onmicrosoft.com (our Entra ID domain) within the VM.
  2. Observations:
    • I can successfully resolve google.com, indicating that I have DNS connectivity and can reach the internet.

Question: What steps should I take to join the VM to our Entra ID?

Any insights or guidance would be greatly appreciated!

User's image

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,807 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Carlos Solís Salazar 16,781 Reputation points MVP
    2024-05-01T23:22:31.7633333+00:00

    Hello

    Entra ID is not an AD DS, you cannot Join a VM with the tenant.

    You can Sign in to a Windows virtual machine in Azure by using Microsoft Entra ID but that doesn't mean that you can administrate the VM with entra ID

    If you want the VM join to an AD DS, you need to create an AD DS Server or create an Microsoft Entra Domain Services

    Hope this helps!

    Remember to accept the answer if it is helpful.

    0 comments No comments