The OneDrive Connector can be configured using the Aspire Admin UI. It requires the following entities to be created:
Credential
Connection
Connector
Seed
Create Credential
On the Aspire Admin UI go to the credentials page
All existing credentials will be listed. Click on the new button
Enter the new credential description.
Select One Drive from the Type list.
Credential Type: Type of authentication 'Basic' (using Client ID and Client Secret), 'JWT' (using config file or individual values for the configuration).
ClientId:Client ID for your application (Only required if credentialType "basic" is selected)
ClientSecret:Box App Client Secret (Only required if credentialType "basic" is selected)
Config File path:Only required if use JWT Credentials is "false".Path of the JWT generated config file.
Public Key ID: Only required if useJWT "true" is selected.PublicKey ID from JWT
Private Key: Only required if useJWT "true" is selected.PrivateKey
Passphrase: Only required if useJWT "true" is selected.Passphrase for the private key
Enterprise ID: Only required if useJWT "true" is selected.EnterpriseID of your Box Account
Create Connection
On the Aspire Admin UI, go to the connections page
All existing connections will be listed. Click on the new button
Enter the new connection description.
Select One Drive from the Type list.
server
serverApi
apiVersion
pageSize
stopScanError
scanExcludedItems
Index Containers: Select if folders are to be indexed
Scan Recursively:Select if subfolders are to be scanned
Scan Excluded Items:If selected, the scanner will scan sub items of container items that have been excluded by a pattern (because it matches an exclude pattern or because it doesn't match an include pattern)
Include patterns:Specify regex display URL patterns to include
Exclude patterns:Specify regex display URL patterns to exclude
Create Connector Instance
For the creation of the Connector object using the Admin UI check thispage.
Create Seed
On the Aspire Admin UI, go to the seeds page
All existing seeds will be listed. Click on the new button
Enter the new seed description.
Select Box from the Type list.
Impersonate all Box User: Indicates that all Box users will be impersonated to get all their content.
Impersonate Specific Box User: Indicates that specific list of Box users will be impersonated to get all their content
Specify Users: List of user's login to impersonate.
Backoff on error: Select this option if the connection to the server throws an error for a backoff to be done
Backoff in minutes: Time to wait when a backoff error is encountered.
Backoff in max retries: Number of retries with backoff when error is encountered
Exclude Sub Folders: Folder to exclude from crawl (It's not a pattern, it's the folder name).