Step 4

Confirm and test failover

Check both agents are active, then prove the failover by stopping one.

15 minutesBest done in a lab or out of hours

Confirm both are active

WhereEntra ID›Entra Connect›Cloud sync›Agents
AgentStatus
CON-SYNC-01Active
CON-SYNC-02Active

Test the failover

CON-SYNC-01
Stop-Service "AADConnectProvisioningAgent"
# In the portal: run Provision on demand for one user.
# It succeeds through CON-SYNC-02, and CON-SYNC-01 shows as inactive.
Start-Service "AADConnectProvisioningAgent"
Leave live agents alone in school hours

Run the test in a lab or after school. Once both agents show Active, the design has done its job.

Done when

Check

Both agents show Active, and a user provisioned while CON-SYNC-01 was stopped arrived correctly.

Your progress is kept in this browser only.