Migrated existing VM (AzureADJoined and DomainJoined) with latest image and want to join new VM to redmond domain

Harveer Singh 0 Reputation points Microsoft External Staff
2026-07-22T16:37:09.7866667+00:00

VM to VMSS Flex migration with auto OS upgrade enabled

Migrated a VM (windows server 2016) AzureAdJoined and DomainJoined (redmond.crop.microsoft.com and corp.microsoft.com) to VM (windows server 2025) and attach to VMSS. So, created new VM in same VNet and subnet as existing VM.

But for this VM AzureAdJoined is Yes and DomainJoined is NO. So, need to connect to same domains (redmond.crop.microsoft.com and corp.microsoft.com).

Azure Virtual Machine Scale Sets
Azure Virtual Machine Scale Sets

Azure compute resources that are used to create and manage groups of heterogeneous load-balanced virtual machines.


1 answer

Sort by: Most helpful
  1. Allan Solomon Mejia 2,595 Reputation points
    2026-07-22T18:15:17.92+00:00

    Hello Harveer,

    The new Windows Server 2025 VM won't automatically become domain-joined just because it's in the same VNet and subnet. Azure AD Join and Active Directory Domain Join are separate processes.

    Before joining the new VM to redmond.corp.microsoft.com or corp.microsoft.com, verify:

    The VM is using the correct AD DNS servers (not Azure default DNS).

    Network connectivity to the domain controllers is working (required ports are open).

    Time is synchronized with the domain.

    The computer account has permission to join the domain.

    Once those prerequisites are met, you can join the VM through System Properties or PowerShell (Add-Computer), then restart the server. If Azure AD Join is also required, you can keep the device in a hybrid state after the AD domain join, depending on your organization's hybrid identity configuration.

    If the VM was created from a generalized image or migrated into a VMSS, it may also be worth confirming whether there are any VMSS provisioning extensions or policies that are preventing or overriding the domain join.

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

    Was this answer helpful?

    1 person found this answer helpful.

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.