Troubleshooting Common Issues in CodeTwo Exchange Folders
1. Synchronization fails or is slow
- Symptoms: Changes in the source mailbox don’t appear in the target folder, or sync takes a long time.
- Likely causes: Network latency, large item count, throttling on Exchange/Office 365, outdated CodeTwo service or agents.
- Fixes:
- Check network connectivity and latency between servers.
- Reduce sync load by filtering folders or date ranges.
- Verify Exchange/Office 365 throttling policies; request temporary throttling relaxation if needed.
- Update CodeTwo software to the latest version and restart sync agents/services.
- Review CodeTwo logs for specific errors and follow error-specific guidance from CodeTwo documentation.
2. Permission or access denied errors
- Symptoms: Operations fail with access/permission errors when accessing mailboxes or folders.
- Likely causes: Insufficient ApplicationImpersonation or mailbox permissions, expired/invalid credentials, or token scope issues in Exchange Online.
- Fixes:
- Ensure the service account has ApplicationImpersonation role (Exchange) and full mailbox access where required.
- Recreate or reauthorize the service account credentials and ensure MFA/conditional access policies won’t block automation.
- For Exchange Online, verify Azure AD app permissions and grant admin consent if using modern auth.
3. Duplicate items appear after sync
- Symptoms: Email items or calendar entries are duplicated in target folders.
- Likely causes: Interrupted previous sync cycles, changes to item IDs, or incorrect mapping rules.
- Fixes:
- Run a consistency check or deduplication tool within CodeTwo if available.
- Review and correct folder mapping rules to avoid overlapping targets.
- Re-sync only affected folders after backing up data; avoid full re-sync unless necessary.
4. Folder structure not replicated correctly
- Symptoms: Subfolders missing or created in wrong locations.
- Likely causes: Incorrect folder mapping, filters, or limitations in target mailbox structure.
- Fixes:
- Verify mapping rules and ensure hierarchical mapping is enabled where required.
- Confirm target mailbox supports the folder names and paths (special characters or length limits).
- Recreate missing folders manually if necessary, then re-run sync for structure only.
5. Items missing after migration/sync
- Symptoms: Expected emails, contacts, or calendar items are absent in the target.
- Likely causes: Filters excluding items, item size limits, or errors during migration.
- Fixes:
- Check filters (date, size, item type) applied in job configuration.
- Inspect CodeTwo logs for errors related to specific items and retry failed items.
- Increase item size limits on both source and target if smaller attachments were blocked.
6. Authentication or OAuth token expiry (Exchange Online)
- Symptoms: Jobs fail repeatedly after previously working; authentication errors reference tokens.
- Likely causes: OAuth tokens expired, app consent revoked, or conditional access policies blocking automated access.
- Fixes:
- Re-authorize the Azure AD application and grant required permissions with admin consent.
- Check conditional access and MFA policies; configure service account or app to comply.
- Monitor token expiry and implement automated re-auth flow if supported.
7. Performance degradation after increasing users/items
- Symptoms: Overall sync throughput drops as tenant size grows.
- Likely causes: Insufficient resources on the machine running CodeTwo, rate limits, or inefficient job configuration.
- Fixes:
- Scale out: distribute jobs across additional agents or servers.
- Optimize job configuration: segment by department, date ranges, or mailbox size.
- Monitor CPU, memory, and network; upgrade resources as needed.
Helpful diagnostics and maintenance steps
- Check logs: Always start with CodeTwo logs and Exchange diagnostic logs to pinpoint errors.
- Run small test jobs: Reproduce the issue on a small set of mailboxes to isolate cause.
- Back up before changes: Ensure you have backups before running fixes like re-syncs or deduplication.
- Contact CodeTwo support: For persistent or unclear errors, provide logs and job configuration for faster support.
If you want, I can provide specific command examples, log locations, or a checklist tailored to Exchange Online or on‑prem Exchange—tell me which environment you’re using.
Leave a Reply