When you run DCDiag on a domain controller, you get this error:
Starting test: Replications
[Replications Check,Domain Controller] DsReplicaGetInfo(PENDING_OPS, NULL) failed, error 0x2105 “Replication access was denied.”……………………. Domain Controller failed test Replications
99% of the time you can ignore this error, as it’s caused by not running DCDiag under the administrator context. Even though you are logged onto your domain controller as an administrator, you still need to right click the command prompt link and click Run as administrator. Then you won’t get the Replication access was denied error.