Skip to main content

Who is this article for?

Incydr
Code42 for Enterprise
CrashPlan for Enterprise

Incydr, yes.

CrashPlan for Enterprise, yes.

Code42 for Enterprise, yes.

CrashPlan for Small Business, no.

This article applies to Code42 cloud environments.

HOME
GETTING STARTED
RELEASE NOTES
FAQs
APIs
SYSTEM STATUS
Code42 Support

Deauthorize and resume monitoring a cloud or email service

Who is this article for?

Incydr
Code42 for Enterprise
CrashPlan for Enterprise

Incydr, yes.

CrashPlan for Enterprise, yes.

Code42 for Enterprise, yes.

CrashPlan for Small Business, no.

This article applies to Code42 cloud environments.

Overview

To help protect you from data loss, you can use Code42 to monitor files moving to and from users' cloud services, such as Google Drive or Microsoft OneDrive, or emailed as attachments through Gmail or Office 365. 

This article explains how to deauthorize those data connections so that Code42 no longer has access to user data in those cloud or email services. You can also resume monitoring those data connections to resolve errors, reconfigure cloud service scoping, or restart the collection of file activity from data connections after a pause.

For information about disconnecting an automated integration, see Configure automated integrations

Considerations

  • You cannot deauthorize a cloud service (Google Drive, OneDrive, or Box, for example) or email service (such as Gmail or Office 365) while the status is Initializing. Wait for the service to indicate that it has a status of Monitoring or Error before attempting to deauthorize.
  • If needed, you can use this process to reconfigure scoping for monitoring a cloud service's user or groups.
  • Google Workspace administrators must have the Super Admin role in order to share file activity data with Code42 without errors. See Resolve "Data source is not sending security data" errors for more information.
  • Cloud and email service connections are not available in the Code42 federal environment.

Deauthorize a cloud or email service

Deauthorize a service to stop monitoring for new event activity. Once deauthorized, you have 90 days to resume monitoring that service. After 90 days, Code42 removes the cloud or email service's configuration and authorization information (the events you have collected remain searchable in Forensic Search). 

  1. Sign in to the Code42 console.
  2. Select Administration > Integrations > Data Connections
  3. Locate the service to deauthorize in the table, then click View details View details.
  4. Click Deauthorize. 
  5. When prompted, enter DEAUTHORIZE. 
  6. Click Deauthorize.
    At this point, Code42 stops collecting new file activity from the data connection.
  7. If you do not plan to resume monitoring the service, remove Code42's access in the external console as well. 

Remove Code42's access in Box

Remove Code42's access in Google Drive or Gmail

Remove Code42's access in Microsoft OneDrive or Office 365 email

Resume monitoring a cloud or email service

You can resume monitoring a cloud or email service for up to 90 days after you deauthorized the initial connection. Code42 removes services that have been deactivated for over 90 days. 

  1. Sign in to the Code42 console.
  2. Select Administration > Integrations > Data Connections
  3. Locate the service to resume monitoring in the table, then click View details View details.
  4. Click Resume Monitoring.
    You can resume monitoring only services with a status of Deauthorized.
  5. Follow the prompts to authorize Code42 to monitor file events on that service.
    Option to update administrator email address
    If you are resuming monitoring of a Google Drive or Gmail environment, you can change the administrator's email address if needed. When doing so, you can change the username in the email address, but the domain used (such as "@example.com") must remain the same. This new email address must be associated with a Google Workspace administrator that has the Super Admin role.

Use cases

You can deauthorize and then resume monitoring a cloud service to update the scoping used or resolve errors. In most cases, errors caused by permissions or licensing issues within the cloud service can be resolved by deauthorizing the connection and then immediately resuming its monitoring.

Some use cases for using the deauthorization and resume monitoring processes for a cloud service are detailed below.

Reconfigure cloud service scoping for user or group monitoring

If needed, you can reconfigure the cloud service's scoping to add new users or groups or switch from monitoring specific users to monitoring specific groups.

  1. Deauthorize the cloud service connection.
    You do not need to remove the Code42 application from the cloud service. The app registration remains valid even if it is deauthorized.
  2. Resume monitoring the cloud service connection.
    You are prompted to set up the cloud service connection again.
  3. In the Add Users step of the reauthorization process, select the appropriate monitoring option, and then upload a new .csv file containing the updated users or groups you want to monitor.

Resolve "Data source is not sending security data" errors

In order to share file activity data with Code42, the email address used to authorize a Google Drive connection must be associated with a Google Workspace administrator who has the Super Admin role. If your Google Workspace administrator has a different role, the following message appears upon authorization of your Google Drive connection: "Data connection is not sending security data."

To resolve this permissions issue:

  • Make sure that your Google Workspace administrator has the Super Admin role. If needed, update permissions in the Google Admin console.
  • Deauthorize the Google Drive cloud service, then resume monitoring again using the email address of the administrator with the Super Admin role.

Resolve "Number of user drives exceeded" errors

Code42's maximum number of drives allowed for monitoring in cloud service connections is 55,000. If Code42 detects more than this number of drives, the following error appears on the Data Connections screen:

The number of supported user drives (55,000) for this connector has been exceeded. Deauthorize the connector and reauthorize with fewer than 55,000 drives.

If you receive this message:

  1. Deauthorize the cloud service connection.
  2. Resume monitoring the cloud service connection.
    You are prompted to set up the cloud service connection again.
  3. In the Add Users step of the reauthorization process, select the Specific Users or Specific Groups option and ensure that the total number of drives included is below the 55,000 drive limit.