Migrate Nextcloud Contacts to Microsoft 365
This article explains how to copy an on-premises Nextcloud address book into Microsoft 365 (Exchange Online) with ContactMigrata. ContactMigrata is free and moves contacts only. It copies records directly rather than through CSV. See Why not CSV.
Limitations
- Mail, calendars, and files are not migrated. Use MailMigrata, CalendarMigrata, and FileMigrata.
- The company directory (GAL) is not migrated.
- ContactMigrata is not a CRM. It does not merge two contacts that share a display name.
- Duplicate detection uses each contact's hidden ID (UID) and works within one job only. A second job into the same address book creates duplicates. See Duplicates and UIDs.
- Nextcloud Files are not migrated.
- Private IP addresses are blocked by the SSRF guard unless you add an allow entry.
What is migrated
- People: names, email addresses, phone numbers, postal addresses, organisation, job title, notes, websites, and birthday, where the destination has a matching field. See vCard fields that survive.
- Groups: named lists, such as Vendors or Family, where the destination can store an equivalent.
- Photos: up to about 512 KB. Larger photos are skipped; the rest of the contact is copied. See Contact photos and size limits.
Prerequisites
- A Nextcloud app password and the CardDAV URL.
- A Microsoft 365 user with a licensed mailbox. An unlicensed user has no contact store.
- Write access to the destination mailbox.
Address book mapping
- Map the Nextcloud work address book to the mailbox Contacts folder.
Steps
- Connect the source. See Connect Nextcloud Contacts.
- Connect the destination. See Connect Microsoft 365 contacts.
- Select one address book for the first run.
- Run the job. Pause takes effect between batches.
- Check a group, a photo, and a contact with two email addresses.
- If the job stops, resume the same job. Do not start a second job into the same address book.
Troubleshooting
- 401 from Nextcloud: Check the app password.
- Mailbox not found: The licence is missing. Check the subscription in the Microsoft tenant.
- SSRF error: The private IP address has no allow entry. Add it.
- Source is IceWarp: Connect it with Connect IceWarp contacts, then use the same Microsoft 365 destination.