The first step in setting up Egnyte Protect is to add one or more Content Sources that you wish to monitor. The more sources you add, the more secure your content will be. You can add Cloud and On-premises Content Sources so no matter where your data is located, it will be monitored. We'll walk you through how to add a Cloud Content Source for Egnyte and OneDrive for Business in this article.

Add Cloud Content Source

Egnyte Connect

  1. From the home page, select Settings, click Add Cloud Source and select Egnyte Connect to begin.

  2. Click Next.


    To add Egnyte Connect, you must be set up with Admin credentials in Egnyte Connect.

  3. Enter your Egnyte Connect domain name and click Next.

  4. Authenticate as an Admin User in the Egnyte Connect login window that pops up. Egnyte Protect will access the Egnyte Connect domain as this user. Click Continue in the popup window after authenticating.

    We suggest that you create a dedicated Admin account within the domain for use by Egnyte Protect. Using a distinct account will ensure that access by Egnyte Protect is segregated within audit reports for the domain.

  5. Specify a source name or use the default option and click Next.
  6. Choose any folder paths you wish to exclude within the source from scanning. If you want to exclude a path, just click on the corresponding checkbox. The check mark will turn to a red X, indicating that the path, and all sub-folders, are excluded. Egnyte Protect won’t access any folders or their content under these paths. Click Finish to save your selection.

    By excluding folder paths, no issues or sensitive content will be detected within these paths. For full coverage, we recommend that you do not exclude paths. You can change this configuration at any time after adding the source.

  7. Your newly added source will appear in the Cloud Content Sources list as below.


Scanning for access control issue begins immediately. Issues will appear within the Issues tab as they are found. You will receive a summary email outlining all issues found within the source once the initial scan of the source has completed. After the initial scan, the source will be continuously monitored for new issues and any updates to existing issues.


OneDrive for Business

  1. From the home page, select Settings, click Add Cloud Source and select OneDrive for Business.

  2. Click Next.


    You must have Global Administrator credentials with OneDrive for Business to add it as a source.

  3. Enter your OneDrive or Microsoft Office 365 login credentials and click Next.

    If you're already logged into OneDrive or Microsoft Office 365, select the appropriate account from the list and enter your password.

  4. Specify a source name or use the default option and click Next.
  5. Your newly added source will appear in the Cloud Content Sources list.


Google Drive

  1. Ensure you use a G Suite account that is a Super Admin for the following steps
  2. Open your Google Cloud Console and set up a new project or using an existing project for the following steps

  3. Navigate to IAM & Admin > Service Accounts and create a new service account in the project
  4. Click the email address of the service account and take note of the Email and Unique ID field and - you will need to enter this when you set up Google Drive as a source
  5. Choose EDIT at the top of the Service account details screen if you're not already in edit mode. Navigate to the Service account status section, click SHOW DOMAIN-WIDE DELEGATION, and enable Domain-wide Delegation. Note that the checkbox will be disabled if you don't choose EDIT first. If the checkbox is still not enabled, you can move through the remaining steps in this guide, and wait up to 24 hours (for the settings described in step 10 to take hold) to enable Domain-wide Delegation.
  6. In the same screen click ADD KEY > Create new key

  7. Choose the option to create a P12 key. A key will be downloaded to your machine that will be used later
  8. Find APIs & Services in the Google Cloud Console and choose the option to ENABLE APIS AND SERVICES

  9. Find and enable the Google Drive API and Admin SDK
  10. Sign in to the G Suite admin console as a super admin and navigate to Security > API Controls and choose the option to MANAGE DOMAIN WIDE DELEGATION and choose the option to Add new

  11. Add an entry with the client id set to the Unique ID of the service account from step 4 and set OAuth Scopes to the following value and click AUTHORIZE:,,,
    After this, you should see the client in the list of API Clients: mceclip2.png
  12. Log in to your Egnyte Protect Dashboard, select Settings, click Add Cloud Source and select Google Drive. Enter the following information and choose the option to Register:
    - Source label: Desired label for your source
    - Service account email: Email from step 4
    - Service account user: Email address of your G Suite super admin account
    - File with private key: Select the P12 private key that was downloaded during step 6
  13. Your newly added source will appear in the Cloud Content Sources list.

Add Additional Sources

To add additional Cloud Sources, simply click Add Cloud Source again and follow the related steps. If you wish to add on-premise SharePoint or Windows File Server sources, check out this article or contact Egnyte Support for assistance.