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.


2 answers

Sort by: Most helpful
  1. Allan Solomon Mejia 6,240 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.

  2. Prasad Chaganti 785 Reputation points Microsoft External Staff Moderator
    2026-08-07T22:34:06.6466667+00:00

    Hi Harveer Singh,

    Based on the error messages provided, there appear to be two separate blockers preventing the domain join operation:

    The new Windows Server 2025 VM is already Microsoft Entra ID (Azure AD) joined. Windows is preventing a direct Active Directory domain join while the device remains in its current Entra ID joined state. Depending on your organization's identity configuration, the device may need to be disconnected from Entra ID first or configured as part of a supported hybrid identity scenario.

    The domain join account being used does not currently have sufficient permissions to create additional computer accounts in the domain. The error indicates the account has reached the allowed computer account creation limit. Your Active Directory administrator may need to pre-create the computer account, delegate appropriate permissions, or adjust the applicable Active Directory quota settings.

    In addition, please verify that:

    • The VM is using the correct domain DNS servers.
    • Network connectivity to the domain controllers is available.
    • The correct OU and domain join account are being used.

    Once the identity configuration and Active Directory permissions are addressed, the domain join operation should be able to proceed successfully.

    Please do let us know If you have any further queries.

    Was this answer helpful?

    0 comments No comments

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.