Scanning OneDrive accounts

Contributors netapp-tonacki

Complete a few steps to start scanning files in your user’s OneDrive folders with Cloud Data Sense.

Quick start

Get started quickly by following these steps, or scroll down to the remaining sections for full details.

One Review OneDrive prerequisites

Ensure that you have the Admin credentials to log into the OneDrive account.

Two Deploy the Cloud Data Sense instance

Deploy Cloud Data Sense if there isn’t already an instance deployed.

Three Add the OneDrive account

Using Admin user credentials, log into the OneDrive account that you want to access so that it is added as a new working environment.

Four Add the users and select the type of scanning

Add the list of users from the OneDrive account that you want to scan and select the type of scanning. You can add up to 100 users at time.

Reviewing OneDrive requirements

Review the following prerequisites to make sure that you have a supported configuration before you enable Cloud Data Sense.

  • You must have the Admin login credentials for the OneDrive for Business account that provides read access to the user’s files.

  • You’ll need a line-separated list of the email addresses for all the users whose OneDrive folders you want to scan.

Deploying the Cloud Data Sense instance

Deploy Cloud Data Sense if there isn’t already an instance deployed.

Upgrades to Data Sense software is automated as long as the instance has internet connectivity.

Data Sense can also be deployed in an on-premises location that has no internet access. However, you’ll need to provide internet access to a few select endpoints to scan your local OneDrive files. See the list of required endpoints here.

Adding the OneDrive account

Add the OneDrive account where the user files reside.

  1. From the Working Environments Configuration page, click Add Data Source > Add OneDrive Account.

    A screenshot of the Scan Configuration page where you can click the Add OneDrive button.

  2. In the Add a OneDrive account dialog, click Sign in to OneDrive.

  3. In the Microsoft page that appears, select the OneDrive account and enter the required Admin user and password, then click Accept to allow Cloud Data Sense to read data from this account.

The OneDrive account is added to the list of working environments.

Adding OneDrive users to compliance scans

You can add individual OneDrive users, or all of your OneDrive users, so that their files will be scanned by Cloud Data Sense.

  1. From the Configuration page, click the Configuration button for the OneDrive account.

    A screenshot of the Scan Configuration page where you can select the Configuration button.

  2. If this is the first time adding users for this OneDrive account, click Add your first OneDrive users.

    A screenshot showing the Add your first OneDrive users button to add initial users to an account.

    If you are adding additional users from a OneDrive account, click Add OneDrive users.

    A screenshot showing the Add OneDrive users button to add more users to an account.

  3. Add the email addresses for the users whose files you want to scan - one email address per line (up to 100 maximum per session) - and click Add Users.

    A screenshot of the Add OneDrive users page where you can add users to be scanned.

    A confirmation dialog displays the number of users who were added.

    If the dialog lists any users who could not be added, capture this information so that you can resolve the issue. In some cases you can re-add the user with a corrected email address.

  4. Enable mapping-only scans, or mapping and classification scans, on user files.

    To: Do this:

    Enable mapping-only scans on user files

    Click Map

    Enable full scans on user files

    Click Map & Classify

    Disable scanning on user files

    Click Off


Cloud Data Sense starts scanning the files for the users you added, and the results are displayed in the Dashboard and in other locations.

Removing a OneDrive user from compliance scans

If users leave the company or if their email address changes, you can remove individual OneDrive users from having their files scanned at any time. Just click Remove OneDrive User from the Configuration page.

A screenshot showing how to remove a single user from having their files scanned.

Note that you can delete the entire OneDrive account from Data Sense if you no longer want to scan any user data from the OneDrive account.