When promoting AD server in the azure getting an error

arjuna_svr 46 Reputation points

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 Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,491 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
5,960 questions
0 comments No comments
{count} votes

Accepted answer
  1. Dave Patrick 426.2K Reputation points MVP

3 additional answers

Sort by: Most helpful
  1. arjuna_svr 46 Reputation points

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

    5 people found this answer helpful.

  2. Dave Patrick 426.2K Reputation points MVP

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

  3. arjuna_svr 46 Reputation points

    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.

    0 comments No comments