OneDrive Data Source
Configuring SearchBlox
Before using the OneDrive Data Source, first install SearchBlox properly and then create a Custom Collection.

**Configure Onedrive Application
- open following url in browser
https://apps.dev.microsoft.com/?referrer=https%3A%2F%2Fdev.onedrive.com
Login using user credentials

- Click on Add an app after successful login

- Specify application name and click on create

- Note down application ID

- click on add platform

- Click on WEB

- Specify redirect URL and click on save

Configuration details of OneDrive Data Source
| data-directory | Data folder where information is stored. Ensure it has write permission. |
| api-key | SearchBlox API Key. |
| colname | Name of the custom collection in SearchBlox. |
| url | SearchBlox URL |
| exclude-folders | Folders to exclude in OneDrive. |
| log-file-maxSize,log-file-maxBackups,log-file-maxAge | • Size (MB) after which a new log file is created • Number of backup log files to keep • Days after which logs are deleted |
| servlet url & delete-api-url: | Ensure the port number is correct (e.g., if SearchBlox uses port 8080). |
| authURL | OneDrive authorization url default: https://login.live.com/oauth20_authorize.srf |
| tokenURL | OneDrive api token url default: https://login.live.com/oauth20_token.srf |
| redirectUrl | OneDrive redirect URL for returning back to GOconnector. Ensure the port is different from SearchBlox. |
| clientId | OneDrive app client ID. |
| clientSecret | OneDrive app client secret. |
| port | GOconnector port for OneDrive; must match the port used in the redirect URL. |
| api_url | OneDrive API url default: https://api.onedrive.com/v1.0/ |
Updated 5 days ago
