Scan data in Exchange Online

Supported editions for this feature: Business Starter, Business Standard, and Business Plus; Enterprise Standard and Enterprise Plus; Education Fundamentals, Education Standard, and Education Plus; Essentials Starter, Essentials, Enterprise Essentials, and Enterprise Essentials Plus; Nonprofits; G Suite Basic and G Suite Business. Compare your edition

Use advanced data import to scan batches of Exchange Online data before or after importing it to Google Workspace. Import scanning generates reports that help you plan new imports and audit completed ones.

To learn more about advanced data import, go to Use the advanced data import method for Exchange Online.

Requirements

  • A super administrator must manage the import scan on the Workspace side. A global administrator, privileged role administrator, or other qualified user must approve the import scan in Exchange Online.
  • You need to verify your Workspace domain. If you have an Essentials edition, you need to verify before starting an import scan. For details, go to Verify your domain for Google Workspace.
  • You need an email address for every Exchange Online user that you want to scan. For details, go to Plan for where and how you will manage your user accounts.
  • You can add up to 2,000 Exchange Online users to one import scan. Additional users require a separate scan.
  • You can create up to 50 import scans (or a combination of import scans and v batches) at one time.
  • You can run up to 10 import scans (or a combination of import scans and import batches) simultaneously.

Run an import scan

You must be signed in as a super administrator for this task. Resellers cannot import data for their customer accounts.

Before you begin: To ensure a secure import scan from Exchange Online, you must first create a Microsoft Entra application within the Microsoft Azure portal. For details, go to Set up Microsoft Azure for advanced data import.

Step 1: Connect to your Microsoft Exchange Online account

  1. In the Google Admin console, go to Menu and then Data and then Data import & export and then Data import and then Advanced.

    You must be signed in as a super administrator for this task.

  2. For Advanced, click New scan.
  3. For Scan name, enter a name for the import scan and then click Continue.
  4. For Client ID, enter the unique ID number for your Exchange Online account.
  5. For Client Secret, enter the client secret value for your Microsoft Entra tenant.
  6. For Tenant ID, enter the unique ID number for your Microsoft Entra tenant.
  7. Click Connect.

Step 2: Select users to scan

Create a comma-separated values (CSV) file that lists the Exchange Online users that you want to scan. You can create a new CSV file. Or, download a sample file and add information. The completed CSV file must be smaller than 10 MB and contain no more than 2,000 users.

To get details about users in your Exchange Online tenant, go to Create a group in your organization.

To create the CSV file:

  1. Using your Workspace administrator account, open a spreadsheet program. Or, in the Admin console, select Download a sample CSV file.
  2. Add the header Source Exchange Email and add an email address for each Exchange Online user that you want to scan. Use a separate row for each email address.

    Example:

    Source Exchange Email
    kim@example.com
    alex@example.com
  3. Save the spreadsheet as a CSV file.
  4. Upload the file to the Admin console:
    1. In your Admin console, click Upload CSV.
    2. Select the fileand thenclick Open.
    3. Click Tasks to confirm that the file is successfully uploaded.
  5. If the CSV file doesn't successfully upload:
    1. Select the file and click Deleteand thenYes to confirm.
    2. Create a new file and try to upload it again.

    If you encounter this issue more than once, go to Contact Google Workspace support.

Step 3: Configure import scan settings

Adjust the following settings to choose the data you want to scan.

  1. Click Edit settings.
  2. Check one or more of the following boxes to choose which data to scan for all your selected users:
    • Email
    • Calendar events
    • Contacts
  3. For Date range, enter a date to start scanning data from the source you selected. All calendar events and email messages sent or received after this date are scanned and all contacts are scanned, regardless of creation date.
  4. (Optional) For Email options, check any of the following boxes to specify what kind of email information is scanned:
    • Include deleted emails—Scan deleted email messages.
    • Include junk emails—Scan email messages in spam folders.
    • Exclude specific folders—Enter the excluded folder names, separated by commas. For details, go to Exclude folders from importing.
  5. (Optional) To scan the Exchange Online users' calendars and events, including calendars for personal appointments, check the Copy additional calendars box.
  6. Click Save changes.

Exclude folders from importing

  • Separately add each Exchange Online folder or subfolder name.
  • If you exclude a folder, the import doesn't include its subfolders and any email messages in them.
  • To exclude a subfolder, use the full path and separate the parent folder from the subfolder with a forward slash (/). For example:
    • If you want to exclude the subfolder Asia in the folder Travel, enter Travel/Asia.
    • If you also add Travel in the list, such as Travel, Travel/Asia, then all the subfolders are automatically excluded.
  • To exclude a folder with a forward slash (/) in its name, replace each slash with an underscore (_). For example, to exclude Folder/with/slash, add it as Folder_with_slash.
  • You can also exclude default Microsoft folders, such as Deleted Items, Inbox, or Junk email, and user-created folders.

Step 4: Start the import scan and check its progress

  1. Click Start scan.

    The status changes to In progress and the following information is updated in real time:

    • Users processed—Number of users that were scanned for all selected data types.
    • Emails discovered—Number of email messages in the Exchange Online users' accounts.
    • Calendars discovered—Number of calendars that were imported.
    • Calendar events discovered—Number of events in the Exchange Online users' calendars.
    • Contacts discovered—Number of contacts in the Exchange Online users' accounts.
  2. You can navigate away from the Scan status report page without interrupting the import scan. Your import scan continues unless you cancel it.
  3. (Optional) To export a report for an import scan in progress:
    1. Click Export user report or View scan logs.
    2. If the Tasks list doesn't automatically open with the exported report, click Tasks and then the report link.
    3. Click Open in Google Sheets to open the report in Sheets.
    4. To export and interpret the reports, go to Understand import scan reports.

Step 5: Stop an import scan in progress

To stop an import scan that's in progress, click Stop scan. It might take a few minutes for the import scan to stop, and the import scan process does not roll back.

Step 6: Re-run an import scan

After you successfully scan the data, you can click Re-run scan to scan any new and updated data.

If there are changes to previously scanned Exchange Online users or data, re-running the import scan identifies and updates the scan report.

Exit a completed import scan

You can re-run import scans and review information about a completed import scan in the Admin console until you exit the import scan. You can't start a new import scan until you exit a completed import scan. To exit a completed import scan:

  1. (Optional) If you want to save logs from a completed scan, click Export user report and View scan logs. For details, go to Understand import scan reports.
  2. Click Exit scanand thenExit and delete scan.

When you exit, the system deletes the client ID and removes Data Import as a client in the domain-wide delegation setting.


Google, Google Workspace, and related marks and logos are trademarks of Google LLC. All other company and product names are trademarks of the companies with which they are associated.