Documentation

Help for MailMigrata and the whole suite

Connect Google Workspace calendars (domain-wide) to CalendarMigrata

This article explains how to connect Google Workspace calendars to CalendarMigrata. Workspace calendars belong to individual users and to resources such as meeting rooms. Shared Drives do not apply.

You can connect in two ways:

  • User OAuth: The user signs in. CalendarMigrata copies that user's calendars.
  • Domain-wide delegation: A service account impersonates one user per job.

Limitations

  • One user per job. The free interface cannot migrate 400 users in one job. Run separate jobs, or contact MailMigrata about bulk migration.
  • Calendars a user only subscribes to are skipped.
  • Resource calendars are included only when you impersonate a user who can write to them.
  • Google Meet links do not become Teams meetings.
  • Gmail, contacts, and Shared Drive files are not migrated. Use MailMigrata, ContactMigrata, and FileMigrata.

What is migrated

  • The user's primary calendar and the secondary calendars they own
  • Events and recurring series with their exceptions
  • Time zones
  • Attachments up to about 512 KB

Prerequisites

  • User OAuth: a user who can sign in.
  • Domain-wide delegation: a service account authorised in the Google Admin console for the Calendar scope (https://www.googleapis.com/auth/calendar).

CalendarMigrata uses the Calendar API (calendarList.list and events).


Steps

  1. User OAuth: Use the same sign-in window as for personal Google, but sign in as the Workspace user.
  2. Domain-wide delegation: Complete the service-account setup documented for your CalendarMigrata tenant, then select the user to impersonate.
  3. Confirm the list shows that user's calendars, not the admin's.

Choosing calendars

  • For each user, select the primary calendar and the secondary calendars you want.
  • Map resource calendars (rooms) to room mailboxes, never to a person. Placing all rooms in one person's calendar breaks room bookings.
  • 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.

Do not impersonate a super admin. A super admin follows many other people's calendars, and those calendars are pulled into the job.


Troubleshooting

  • unauthorized_client: The client ID is not authorised for Calendar scopes. In the Admin console, open Domain-wide delegation, add the Calendar scopes, and retry.
  • 404 user: The impersonated address is not in the domain. Use the user's primary Workspace address, not an alias.

Related articles