Google Workspace
  • Google Workspace
Home Admin console All products
  • Google Workspace apps
  • Admin console
  • Cloud Search
  • Gmail
  • Google Calendar
  • Google Chat
  • Google Classroom
  • Google Docs
  • Google Drive
  •  
  • Google Forms
  • Google Keep
  • Google Meet
  • Google Sheets
  • Google Sites
  • Google Slides
  • Google Tasks
  • Google Vault
  • Extend, automate & share
  • Add-ons
  • Apps Script
  • Chat apps
  • Drive apps
  • Marketplace
Resources
  • Tools
  • Admin console
  • Apps Script dashboard
  • Google Cloud console
  • APIs Explorer
  • Training & support
  • How to get started
  • Codelabs
  • Developer support
  • Updates
  • Blog
  • Developer Previews
  • Newsletter
  • Twitter
  • YouTube
  • English
  • Bahasa Indonesia
  • Deutsch
  • Español
  • Español – América Latina
  • Français
  • Italiano
  • Polski
  • Português – Brasil
  • Tiếng Việt
  • Türkçe
  • Русский
  • עברית
  • العربيّة
  • فارسی
  • हिंदी
  • বাংলা
  • ภาษาไทย
  • 中文 – 简体
  • 中文 – 繁體
  • 日本語
  • 한국어
Sign in
  • Admin console
Overview Guides Reference Support
Google Workspace
  • Google Workspace
  • Home
  • Admin console
    • Overview
    • Guides
    • Reference
    • Support
  • All products
    • More
  • Resources
    • More
  • Overview
  • Get started
  • Organization structure & resources
  • Directory API
    • Overview
    • Prerequisites
    • Authentication & authorization
    • Quickstarts
      • JavaScript
      • Go
      • Google Apps Script
      • Java
      • Node.js
      • Python
    • Manage devices & browsers
      • Chrome browsers
      • Chrome devices
      • Mobile devices
      • Search for devices
    • Manage groups & members
      • Groups
      • Group members
      • Search for Groups
    • Manage structure
      • Manage organizational units
      • Manage roles
      • Manage customers
    • Manage users & aliases
      • User accounts
      • User aliases
      • Custom user fields
      • Search for users
    • Troubleshoot
      • Troubleshoot authentication and authorization
      • Troubleshoot error codes
  • Cloud Identity API
  • Data Transfer API
    • Overview
    • Install client libraries
    • Transfer data
  • Contact Delegation API
    • Overview
    • Manage contact delegates
  • Groups Settings API
    • Overview
    • Install client libraries
    • Retrieve & update settings for Google Groups
  • Groups Migration API
    • Overview
    • Prerequisites
    • Authentication & authorization
    • Install client libraries
    • Migrate emails
  • People API
  • Audits, usage & security
  • Reports API
    • Overview
    • Quickstarts
      • JavaScript
      • Go
      • Google Apps Script
      • Java
      • Node.js
      • Python
    • Audit activity
      • Admin
      • Devices
      • Drive
      • Logins
      • OAuth Tokens
    • Monitor apps usage
      • Customers
      • Users
      • Entities
      • Update Docs & Drive metrics
      • Data retention & lag times
    • Troubleshoot authentication & authorization
  • Alert Center API
    • Overview
    • Authentication & authorization
    • Install client libraries
    • Quickstart
      • JavaScript
    • Set up alerts & notifications
      • Send notifications
      • Filter queries
    • Troubleshoot errors
  • Email Audit API
    • Overview
    • Authentication & authorization
    • Monitor emails
    • Download a mailbox
  • Domains & licenses
  • Reseller API
    • Overview
    • Prerequisites
    • Authentication & authorization
    • Quickstarts
      • JavaScript
      • Go
      • Google Apps Script
      • Java
      • Node.js
      • Python
    • Manage customers
      • Provision a customer
      • Order a new customer account
      • Retrieve & update a customer's account information
    • Manage subscriptions
      • Create or transfer a subscription
      • Change a subscription status
      • Retrieve & update a subscription
      • Push notifications
    • Troubleshoot
      • Troubleshoot authentication & authorization
      • Troubleshoot Reseller API errors
      • Troubleshoot Directory API errors
      • Troubleshoot Site Verification API errros
      • Troubleshoot Enterprise License Manager API
  • Enterprise License Manager API
    • Overview
    • Install client libraries
    • Authentication & authorization
    • Manage licenses
  • Admin Settings API
    • Authentication & authorization
    • Manage SSO and email routing
  • Domain Shared Contacts API
    • Overview
    • Manage shared contacts
      • Create shared contacts
      • Get shared contacts
      • Update or delete shared contacts
    • Manage photos of shared contacts
      • Get a photo for a shared contact
      • Update or delete a photo for a shared contact
    • Troubleshoot
  • Chrome browsers & printers
  • Chrome Printer Management API
    • Overview
    • Get started
    • Create & manage printers
    • Create & manage print servers
  • Chrome Browser Cloud Management API
  • Chrome Browser Enrollment Token API
  • Google Workspace apps
  • Admin console
  • Cloud Search
  • Gmail
  • Google Calendar
  • Google Chat
  • Google Classroom
  • Google Docs
  • Google Drive
  •  
  • Google Forms
  • Google Keep
  • Google Meet
  • Google Sheets
  • Google Sites
  • Google Slides
  • Google Tasks
  • Google Vault
  • Extend, automate & share
  • Add-ons
  • Apps Script
  • Chat apps
  • Drive apps
  • Marketplace
  • Tools
  • Admin console
  • Apps Script dashboard
  • Google Cloud console
  • APIs Explorer
  • Training & support
  • How to get started
  • Codelabs
  • Developer support
  • Updates
  • Blog
  • Developer Previews
  • Newsletter
  • Twitter
  • YouTube
  • Home
  • Google Workspace
  • Admin console
  • Guides

Prerequisites

Stay organized with collections Save and categorize content based on your preferences.

As a prerequisite to using the Groups Migration API, the documentation assumes that you have completed these setup steps:

  1. Complete the steps to get started Developing on Google Workspace.
  2. Use your Admin console or the Directory API to create your account's groups and group members.
  3. Enable the Google Groups.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2023-03-13 UTC.

  • Blog Blog
    Read the Google Workspace Developers blog
  • Twitter Twitter
    Follow @workspacedevs on Twitter
  • Code Samples Code Samples
    Explore our sample apps or copy them to build your own
  • Codelabs Codelabs
    Try a guided, hands-on coding experience
  • Videos Videos
    Subscribe to our YouTube channel
  • Google Workspace for Developers

    • Platform overview
    • Developer products
    • Developer support
    • Terms of Service
  • Tools

    • Admin console
    • Apps Script Dashboard
    • Google Cloud console
    • APIs Explorer
  • Connect

    • Blog
    • Newsletter
    • Twitter
    • YouTube
Google Developers
  • Android
  • Chrome
  • Firebase
  • Google Cloud Platform
  • All products
  • Terms
  • Privacy
  • Sign up for the Google Developers newsletter Subscribe
  • English
  • Bahasa Indonesia
  • Deutsch
  • Español
  • Español – América Latina
  • Français
  • Italiano
  • Polski
  • Português – Brasil
  • Tiếng Việt
  • Türkçe
  • Русский
  • עברית
  • العربيّة
  • فارسی
  • हिंदी
  • বাংলা
  • ภาษาไทย
  • 中文 – 简体
  • 中文 – 繁體
  • 日本語
  • 한국어