We've implemented a DC in the azure platform running windows 2016 connected to On-Prem using a site to site VPN connection.

We've confirgured the DC to replicate a DFS share between this server and one on-Prem.

The DFS replication will work and then it will stop after a short while. When I say a while it might transfer around 5 gig of data and then stops.

If I reboot the server DFS kicks back in and transfer another load of data.

DFS errors show:

DFS could not contact the Server01.domain.local Active Directory. DFS will be using cached data. The return code is in the record data.

To add to the list of issues with this server, it also appears that its unable to contact the PDC.

Active directory seems to fail to replicate, but straight after a reboot its fine.

I'm receiving the following errors from AD.

The attempt to establish a replication link for the following writable 
directory partition failed. 

Directory partition: 
Source directory service: 
CN=NTDS Settings,CN=Server01,CN=Servers,CN=Default-First-Site- 
Source directory service address: 
Intersite transport (if any): 

This directory service will be unable to replicate with the source 
directory service until this problem is corrected. 

User Action 
Verify if the source directory service is accessible or network 
connectivity is available. 

Additional Data 
Error value: 
1727 The remote procedure call failed and did not execute

I've checked the following:

  • Both Firewalls are off on the machines.
  • The Time on the domain controllers are all the same.
  • All updates have bee applied.
  • On prem domain controller is running 2008 R2
  • Domain functional level is 2008 r2 and so is forest.
  • All DC's 2 On Prem and 1 in Azure point to their Private IP address for DNS and then other DC as secondary IP.
  • I've checked ports aren't been blocked anywhere.

I've already replication 90GB of data, so it does work to a degree and the SYSVOL folder is all up to date with policies and scripts. I can create an account in AD and its replicated on the Azure DC (before it stops replicating)

I can run a constant Ping over the VPN and it returns a consistent 14ms response. So connectivity is fine.

Any ideas?

  • All DC's 2 On Prem and 1 in Azure point to their Private IP address for DNS and then other DC as secondary IP - DC's should NOT point to themselves for Primary DNS. They should point to a partner DC for Primary DNS. They can point to themselves or to yet another DC for Secondary DNS. Additionally, they should use for Tertiary DNS. – joeqwerty May 28 at 23:11
  • For reference, here is MS's guidance on DNS settings, similar to the above comment with some minor variations: blogs.technet.microsoft.com/askds/2010/07/17/… – Alex Moore May 29 at 6:06
  • Are you running constant ping in both directions when the connection failure event occurs? – Alex Moore May 29 at 6:07
  • To be honest I have tried the DNS with Primary (PDC) Secondary (Itself) and i was still having this issue. I only changed it as i read conflicting messages. I have now switched it back. I don't think its a DNS issue. I have set a continuous ping now, just restarted the server and DFS is now replicating again, so I will see if it goes off. – SteveU May 29 at 7:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.