When promoting AD server in the azure getting an error

arjuna_svr 101 Reputation points
2022-10-17T21:10:31.483+00:00

The scenario:

DC01 - hosted on premises. Is the first AD server of a domain named: testlab.local
DC02 - hosted on Azure IAAS server. Is joined in the domain testlab.local

When tryting to promote DC02 I am getting the following error message: "Error getting the list of sites from the target enviroment: the user name or password is incorrect"
I am logging in with the right password and username (testlab\administrator).
Ping is succefull to domain and dc01
I am using a site to site vpn to have a connection between azure and on prem.
dcdiag /s:testlab.local gives the following message on DC02:

"Directory Server Diagnosis

Performing initial setup:
[cloudcomputing.local] LDAP bind failed with error 1326,
The user name or password is incorrect.."

dcdiag on DC01 is succesfull. Firewall settings are all open at the router, DC01, DC02 and Azure NSG. Its only open for the vpn tunnel.

Can someone please give me some guidance to troubleshoot this issue?

Windows for business | Windows Client for IT Pros | Directory services | Active Directory
Windows for business | Windows Server | User experience | Other
0 comments No comments

Answer accepted by question author
Anonymous
2022-10-17T21:32:27.453+00:00

Was this answer helpful?

1 person found this answer helpful.

4 additional answers

Sort by: Most helpful
  1. arjuna_svr 101 Reputation points
    2022-10-22T18:33:25.527+00:00

    So i fixed the issue with authenticating with administrator@Teddy .local instead of TESTLAB\Administrator.

    Was this answer helpful?

    10+ people found this answer helpful.

  2. hp9 30 Reputation points
    2025-08-21T09:08:23.3133333+00:00

    Just had the exact same issue trying to promote a 2025 server to a domain controller. Using <username>@<domainname> works but <domainname>\<username> gives an error. This has nothing to do with group membership so ignore all the posts that reference that.

    Was this answer helpful?

    7 people found this answer helpful.

  3. arjuna_svr 101 Reputation points
    2022-10-18T13:10:53.8+00:00

    Hi DSPatrick,

    I did read the microsoft learn sites u send me yesterday. I will try to walk trough them in the evening. I will give u an update when I did that.

    Was this answer helpful?

    0 comments No comments

  4. Anonymous
    2022-10-17T21:20:45.263+00:00

    Might check the account has Domain Admins group membership (or higher) or try with another account.

    Was 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.