Migrate data from PST files

G Suite Migration for Microsoft Exchange

You can use G Suite Migration for Microsoft® Exchange (GSMME) to migrate mail, calendars, and contacts to users’ G Suite accounts from PST files. You can use the command line or the desktop interface for the migration. You can also migrate the PST files directly to Google Vault. 

If you decide to migrate directly to Vault, keep in mind that:

  • Migrated messages won’t be seen in Gmail.
  • Folder information is removed from messages before they’re migrated, so they won’t have labels in Vault.
  • You must have Gmail enabled. 
  • Migration to Vault Former Employee (VFE) licensed users will fail (because Gmail isn't turned on for these users). 

Before you begin

  1. Ensure that you are using a supported version of Microsoft® Outlook®. See System requirements
  2. Create a CSV file for users. If you're migrating calendar resources, you should also create a CSV file for calendar resources
  3. Next, authorize GSMME for your domain.
  4. Disable any password protection and allow read and write permission on each PST file.
  5. Prepare the PST folder structure:
    1. Set up a top-level folder.
    2. Within that top-level folder, create an individual folder for each user whose PST files you want to migrate.
    3. Name the individual folders the same as the primary email addresses in the legacy environment. For example, if your legacy environment email addresses are user1@domain.com and user2@domain.com, then name your individual folders user1@domain.com and user2@domain.com.
    4. Place the PST files in the individual folders.


      C:\PST (top-level folder)
      user1@domain.com (user folder)
      Mail.pst (PST file)
      Archive.pst (PST file)
      user2@domain.com (user folder)
      Archive.pst (PST file)

Note: When you migrate mail folders, the email is labeled with the PST file name. The message isn't put directly into the user's inbox. (To avoid this, use the command line to migrate and add the --noenable_label_prefix command.)

Use the desktop interface to migrate

  1. Click Start and then All Programs and then G Suite Migration and then G Suite Migration to run GSMME. 
  2. Under Server type, select Exchange
  3. Select Specify a folder with PST files and click More 더보기
  4. Navigate to the top-level PST folder (example above) and click Next
  5. Complete step 2 (User and domain information) in Migrate data from Exchange using GSMME.
  6. Complete step 3 (Data to migrate and migration settings) in Migrate data from Exchange using GSMME. If you want to migrate directly to Vault, follow these steps:
    1. Under Select the data you wish to migrate, check the Email messages box.
    2. Click Advanced options.
    3. Check the Migrate to Google Vault box and click OK.

Use the command line to migrate

Use the following commands to migrate using the command line. For details on how to use the command line, see Run GSMME from the command line.

--pst_base_folder="PST top-level folder name"
--filename="filename containing user list"
--service_account_json_path="json file path"

If you want to migrate directly to Vault, use the --migrate_to_vault command as well.


Messages missing or not migrated with the correct sender or recipient

A PST file might not contain the SMTP address for a message's sender or recipient. Instead, it can have the Exchange X.500 address. This issue can occur if no Global Address List profile is created, or the user has been deleted from the list. To resolve the issue, see Troubleshoot GSMME.

All calendars migrated as additional calendars

If you’re using an exported or archived PST file, it’s not possible to identify the primary root folder for Calendar and Contacts. All calendars are migrated as “additional calendars” into Google Calendar, instead of a default calendar.

You can avoid this by only migrating email from PST files and using Exchange to migrate calendar and contact data. 

Was this helpful?
How can we improve it?