Connect Apple iCloud Calendar (CalDAV app-specific password)
This article explains how to connect iCloud Calendar to CalendarMigrata. iCloud Calendar uses CalDAV at https://caldav.icloud.com. Apple requires an app-specific password when two-factor authentication is on.
Limitations
- The normal iCloud password always fails when two-factor authentication is on.
- iCloud Drive files are not supported. Apple provides no public iCloud Drive files API.
- Family Sharing calendars may be read-only for some members.
- Calendars stored only on a device (Calendar.app without iCloud) cannot be read. Turn on iCloud Calendar or export an ICS file.
- Attachments larger than about 512 KB are skipped. See Calendar attachment limits.
- Mail, contacts, and files are not migrated. Use MailMigrata (Connect iCloud Mail (IMAP app-specific password)), ContactMigrata (Connect Apple iCloud Contacts (CardDAV app-specific password)), and FileMigrata.
What is migrated
- Events
- Recurring series and their exceptions
- Time zones
- Attachments up to about 512 KB
Prerequisites
- An Apple ID with two-factor authentication turned on.
- An app-specific password named CalendarMigrata, created at appleid.apple.com under App-Specific Passwords. Copy it when it is shown.
- The Apple ID email address, used as the username.
Steps
- Create the app-specific password at appleid.apple.com and copy it.
- In CalendarMigrata, select iCloud.
- Enter the Apple ID that owns the calendars as the username.
- Enter the app-specific password, not your iCloud password.
- Confirm that discovery finds Home, Work, and your other calendars.
Choosing calendars
- Each iCloud calendar is a collection. DAV discovery can show calendars the iPhone hides. Select only the ones you want.
- Leave holiday and subscribed calendars unselected unless the destination can store them.
- Map work calendars to work calendars, and personal calendars to a clearly named personal calendar.
- iCloud often uses floating all-day events. Spot-check them after the job. See All-day events and floating times.
Troubleshooting
- 401 Unauthorized: You used the normal password, or the app-specific password was revoked. Generate a new app-specific password and reconnect.
- Empty discovery: You used the wrong Apple ID. Use the ID you sign in with at icloud.com/calendar.