OneDrive Datasource and Connector Configuration

OneDrive is a file hosting service that is part of the Microsoft Office Online services. The Fusion OneDrive connector crawls a OneDrive for Business instance and retrieves data from it for indexing within Fusion.

When you configure the connector, first authenticate it with your Microsoft application. Then proceed to configuring the crawl.

Setup

To set up the Fusion connector, start by creating or using an existing Microsoft application. Authenticate the connector with your Microsoft application. Then proceed to configuring the crawl. Details follow.

Authenticate the Fusion OneDrive connector with a OneDrive application

Create and register a Microsoft App for use with the Fusion connector

  1. Navigate to the O365 login page.

  2. Log in using an O365 admin account, or create a new one.

  3. Use an existing application or create a new one. To create a new application:

    1. From the My Applications page, click Add an app.

    2. Give your app a name and click Create.

  4. Take note of the Application ID. You will need this later.

  5. Click Generate new password and take note of the password.

  6. Under Platforms, click Add platform and then Web.

  7. Fill in a redirect URL to your web site, ending in port 8090. For example: http://localhost:8090

  8. Add the following permissions to the application:

    • Delegated permissions: Files.Read.All, Sites.Read.All, User.Read, Directory.Read.All (Admin Only), People.Read.All (Admin Only), User.Read.All (Admin Only)

    • Application permissions: Directory.Read.All (Admin Only), Files.Read.All (Admin Only), People.Read.All (Admin Only), Sites.Read.All (Admin Only), User.Read.All (Admin Only)

  9. Click Save. The application is now ready to be authorized by an O365 account administrator for use with the connector.

Authenticate the Fusion connector

  1. Open a web browser and enter the following URL: https://login.microsoftonline.com/<account_name>.onmicrosoft.com/oauth2/authorize?client_id=<application_id>&response_type=code&redirect_uri=http://<yoursite>&response_mode=query&resource=https://graph.microsoft.com&state=12345

    • Replace <account_name> with the prefix name of your account.

    • Replace <application_id> in the client_id parameter with your Application ID from above.

    • Add your site URL for the uri parameter.

  2. Optional: Enter ADFS issuer URI.

  3. Access the URL. A list of permissions displays.

    accept screen for One Drive connector permissions

  4. Click Accept. You can now use this application to crawl your OneDrive for Business accounts.

Configuration