Implement Connect Sync and Cloud Sync
Choose between Microsoft Entra Connect Sync and Cloud Sync, understand their architectures, and implement the right synchronization engine for your environment.
Two sync engines, one goal
Microsoft gives you two ways to sync your on-premises Active Directory to the cloud — like choosing between a full-service moving company and a shipping container service.
Connect Sync is the full-service option: powerful, flexible, handles complex scenarios, but you need to manage the truck (a dedicated server). Cloud Sync is the lightweight option: simpler, managed by Microsoft, perfect for straightforward environments, but can’t handle every edge case.
The exam expects you to know which tool fits which scenario — and increasingly, Cloud Sync is the recommended default.
Architecture comparison
| Feature | Connect Sync | Cloud Sync |
|---|---|---|
| Sync engine location | On-premises server | Microsoft cloud (agent on-prem) |
| Server requirements | Dedicated Windows Server (SQL optional) | Lightweight agent on any domain-joined server |
| Updates | Manual — you manage upgrades | Automatic — Microsoft manages agent updates |
| High availability | Staging server (manual failover) | Multiple agents (automatic failover) |
| Multi-forest | Supported (complex config for multi-domain forests) | Native multi-forest support with one config |
| Sync cycle | Every 30 minutes (configurable) | Every 2 minutes (scheduler); user/group provisioning ~10-20 minutes |
| Custom sync rules | Yes — full sync rule editor | Limited — attribute mapping only |
| Password hash sync | ||
| Pass-through auth | Not configured through Cloud Sync (managed separately) | |
| Federation (AD FS) | ||
| Device writeback | ||
| Exchange hybrid | Full support | Full support |
| Group writeback | ||
| Group provisioning to AD | ||
| Object limit per domain | Unlimited | 150,000 |
| Large group members | 250,000 | 50,000 |
When to use which
| Scenario | Recommended Tool | Why |
|---|---|---|
| Single forest, straightforward sync | Cloud Sync | Simpler deployment, auto-updates, faster sync cycles |
| Multi-forest merger or acquisition | Cloud Sync | Native multi-forest support without complex configuration |
| Large enterprise with custom sync rules | Connect Sync | Full sync rule editor for complex attribute transformations |
| Exchange hybrid deployment | Connect Sync | Full Exchange hybrid support — though Cloud Sync now has parity, Connect Sync remains battle-tested |
| Pass-through authentication required | Connect Sync | PTA agents are managed separately from Cloud Sync |
| AD FS federation | Connect Sync | Cloud Sync doesn’t support federation |
| Device writeback needed | Connect Sync | Cloud Sync doesn’t support device writeback |
| New deployment, no special requirements | Cloud Sync | Microsoft’s recommended default for new deployments |
Marcus’s decision for Oakwood Financial
Oakwood Financial has:
- Single AD forest, single domain
- 800 users, no Exchange hybrid (migrating fully to Exchange Online)
- No custom sync rules needed
- Wants minimal on-prem infrastructure
Decision: Cloud Sync — it’s simpler, auto-updates, and Oakwood doesn’t need Connect Sync’s advanced features.
Priya’s decision for GlobalReach
GlobalReach has:
- Multi-forest environment (acquisitions)
- Exchange hybrid (keeping some mailboxes on-prem for 12 more months)
- Custom sync rules for attribute mapping between forests
- Device writeback for Conditional Access
Decision: Connect Sync — the custom sync rules and device writeback requirements mandate it. While Cloud Sync now supports Exchange hybrid, GlobalReach’s multi-forest attribute mapping needs the full sync rule editor.
Exam tip: The migration path
Microsoft is investing more in Cloud Sync and recommends it for new deployments. The exam may ask about migrating from Connect Sync to Cloud Sync. Key points:
- You can run both tools simultaneously during migration (side-by-side)
- Critical: During side-by-side operation, Connect Sync and Cloud Sync must manage non-overlapping sets of objects (different OUs). If both tools manage the same user, conflicts and data corruption can occur
- Cloud Sync can handle a subset of OUs while Connect Sync handles the rest
- Full migration requires that Cloud Sync supports all your current features
- There’s no automatic migration tool — it’s a planned transition
If the exam asks “What’s the recommended sync tool for a NEW deployment with no special requirements?” → Cloud Sync.
Authentication methods with sync
Directory sync handles identity, but you also need to choose how passwords are validated:
| Method | How It Works | Best For |
|---|---|---|
| Password hash sync (PHS) | Password hashes are synced to Entra. Cloud authenticates directly. | Default and recommended. Works with both sync tools. |
| Pass-through authentication (PTA) | Authentication request forwarded to on-prem AD in real-time | Orgs that require on-prem password validation (security policy) |
| Federation (AD FS) | Authentication redirected to on-prem AD FS servers | Complex SSO requirements, smart card auth, third-party MFA |
Deep dive: Password hash sync is NOT storing your password in the cloud
A common misconception (and exam topic): PHS does NOT sync actual passwords. It syncs a hash of a hash — the on-prem AD password hash is further hashed using SHA-256 before being sent to Entra via an encrypted channel.
Microsoft cannot reverse-engineer the password from the stored hash. PHS also enables:
- Leaked credentials detection — Microsoft checks synced hashes against known breach databases
- Cloud authentication resilience — if on-prem AD is offline, users can still sign in to cloud services
- Seamless SSO — combined with PHS, domain-joined devices get automatic cloud sign-in
The exam may ask: “Which authentication method allows users to sign in to M365 even if on-prem AD is offline?” → Password hash sync.
Key concepts to remember
Knowledge check
Dev is evaluating sync options for a client with a single AD forest, 500 users, no Exchange on-premises, and a requirement for minimal infrastructure management. Which sync tool should Dev recommend?
Priya's GlobalReach environment uses Connect Sync with Exchange hybrid writeback. The company is completing its Exchange Online migration next quarter. What should Priya plan for after migration?
🎬 Video coming soon
Next up: Monitor and Troubleshoot Identity Sync — because sync will break, and you need to know how to fix it.