Get-ADReplicationFailure
Use Get-ADReplicationFailure to report AD replication failures per domain controller, so an unreplicated change stops looking like a permissions problem.
Documentation: Microsoft Learn — Get-ADReplicationFailure
Syntax
See the command anatomy
Read the command and its supplied arguments. This example requires real PowerShell or its module; this diagram does not execute it.
Get-ADReplicationFailure [-Target] <String[]> [-Scope <ADScopeType>] [-Server <String>] [-Credential <PSCredential>] [<CommonParameters>]- Stage 1Get-ADReplicationFailure
-Target -Scope -Server -Credential
Try it
PowerShell example · browser support is limited.
Execution scope: The full example below requires PowerShell outside this browser. You can edit this runner to use the supported practice commands; unsupported syntax returns an explanation.
Follow the objects
Run the command to inspect each stage.
Examples
Get-ADReplicationFailure -Target corp.local
Show reference output
Sample output · fictional data, shaped like the real thing
Server FailureCount FirstFailureTime Partner ------ ------------ ---------------- ------- DC01 0 DC02.corp.local
Get-ADReplicationFailure -Target DC01
Show reference output
Sample output · fictional data, shaped like the real thing
Server FailureCount FirstFailureTime Partner ------ ------------ ---------------- ------- DC01 0 DC02.corp.local
Get-ADReplicationPartnerMetadata -Target DC01
Show reference output
Sample output · fictional data, shaped like the real thing
Server Partner LastReplicationSuccess LastReplicationResult ------ ------- ---------------------- --------------------- DC01 DC02.corp.local 9/10/2026 11:38:22 PM 0
Parameters
Parameter definitions:
-Target-Scope-Server-Credential
Practical use and troubleshooting
Practical scenario: Use Get-ADReplicationFailure when you need to report AD replication failures per domain controller, so an unreplicated change stops looking like a permissions problem. Start with one identified target and inspect the returned values before extending the operation to a list. Keep the identity in your report so you can trace each result back to the object or path that produced it.
Common error and fix: A query failure may come from using an unavailable domain controller. Confirm its name and directory connectivity and query the intended controller rather than hiding the exception. In an unattended script, capture this failure with its original error record and record which target failed. An empty result and an unsuccessful query must remain distinguishable in the final report.
See also: Get-ADReplicationPartnerMetadata. Get-ADReplicationFailure reports recorded replication failures; Get-ADReplicationPartnerMetadata shows partner details and success/failure metadata. A clean failure list alone is not proof that every expected partner replicated recently. Read the linked command before substituting it; similar names do not imply identical inputs or output.
Recap
Get-ADReplicationFailure Use Get-ADReplicationFailure to report AD replication failures per domain controller, so an unreplicated change stops looking like a permissions problem.
Next: Get-ADReplicationPartnerMetadata