Share via

Set-ADReplicationConnection command failing.

Anish Debnath 81 Reputation points
2022-03-30T22:01:44.947+00:00

I am trying to use the Powershell command Set-ADReplicationConnection -Identity "5f98e288-19e0-47a0-9677-57f05ed54f6b" -ReplicateFromDirectoryServer corp-DC01
But it's failing. I am not sure about the GUID, which GUID to be used here ?
My goal here is, I have a site, some sitelinks are set as automatic and some are manual, I am trying to convert those manual connections to automatic without manually changing the "options" attribute.
I am referring this article.
https://learn.microsoft.com/en-us/powershell/module/activedirectory/set-adreplicationconnection?view=windowsserver2022-ps

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

Answer accepted by question author

Gary Reynolds 9,626 Reputation points
2022-03-31T05:01:07.967+00:00

Hi @Anish Debnath

The easier option, if your sites and site links are setup correctly, is to delete the manually created replication connections, force the kcc to run and let it recreate them as required.

Gary

Was this answer helpful?

0 comments No comments

0 additional answers

Sort by: Most 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.