Add or Edit a Source
- Amazon S3 Source
- Box (Personal) Source
- Box Business V2 Source
- Box Business Legacy Source
- Confluence Cloud Source
- Confluence Legacy Source
- Confluence Self-Hosted Source
- Database Source
- Dropbox (Personal) Source
- Dropbox Business Source
- Exchange Enterprise Source
- Exchange Online (Personal) Source
- File System Source
- Generic REST API Source
- Gmail for Work Source
- Gmail (Personal) Source
- Google Drive (Personal) Source
- Google Drive for Work Source
- Jira Software Cloud Source
- Jira Software Self-Hosted Source
- Jive Cloud Source
- Jive Server Source
- Lithium Source
- Microsoft Dynamics Source
- OneDrive for Business Source
- Push Source
- RSS Source
- Salesforce Source
- SharePoint Online Source
- SharePoint Online Legacy Source
- SharePoint Server Source
- Sitecore Source
- Sitemap Source
- Twitter Source
- Web Source
- YouTube Source
- Zendesk Source
Add/Edit OneDrive for Business Source
When you have the required privileges, you can add the content of your managed users’ OneDrive for Business to your Coveo organization. This source can be shared, private, or secured (see Source Permission Types). By default, your OneDrive for Business source is refreshed every 15 minutes to retrieve OneDrive for Business file changes (additions, modifications, or deletions).
Although your OneDrive for Business must exist within a SharePoint instance, retrieve your SharePoint instance is not required (see Add or Edit a SharePoint Online Legacy Source).
Source Features Summary
|OneDrive for Business within SharePoint||SharePoint Online, 2013, and 2016|
|Searchable content types||List folders, list items, and list item attachments.|
Supported SharePoint versions
The source supports OneDrive for Business within SharePoint Online, 2013, and 2016.
SharePoint Account With Appropriate Permissions
When you want to include OneDrive for Business content, you must create a specific SharePoint account that will be only used for the source. If you use your own account, you must change the source Password value in the Edit a OneDrive for Business Source panel every time you change your password to prevent authentication errors.
Select or create a user that the source will use to retrieve your OneDrive for Business content. Refer to the following table to identify the required type of user for your web application enabled authentication.
|SharePoint authentication||Type of user||User format|
|Native||Native Office 365 account||
|SSO with SAML identity provider (such as ADFS and Okta)||Identity provider user account||
This SharePoint account must be:
SharePoint administrator in Office 365 (see Assign admin roles in Office 365 for business);
Site collection administrator of your
Site collection administrator of all personal sites to make searchable (see Adding the Personal Sites Collections Owner Permissions for SharePoint Online).
OneDrive users can remove the Coveo Cloud V2 crawling account from the list of site collection administrators allowed to access their OneDrive. If updates in a user’s OneDrive are suddenly not retrieved anymore, the user might have removed the crawling account from this list.
Add or Edit a OneDrive for Business Source
Ensure your OneDrive for Business instance meets the source requirements (see Requirements).
If not already in the Add/Edit a OneDrive for Business Source panel, go to the panel:
To add a source, in the main menu, under Content, select Sources > Add source button > OneDrive for Business.
To edit a source, in the main menu, under Content, select Sources > source row > Edit in the Action bar.
In the Configuration tab, enter appropriate values for available parameters:
A descriptive name for your source under 255 characters (not already in use for another source in this organization).
Site collection URL
Your OneDrive for Business root site, including the protocol (
For a OneDrive for Business within SharePoint Online:
For a OneDrive for Business within SharePoint 2013 or 2016:
Select who can see items from this source in a search interface that includes this source in its scope (see Source Permission Types):
Private: Only you, when you are authenticated to the search interface with the identity with which you create the source.
Secured: Only users authenticated in the search interface will see the source items for which they have read permission.
In the Authentication section, when you want to include secured OneDrive for Business content or include permissions, you must set the appropriate authentication parameters:
The username of a dedicated OneDrive for Business administrator account that has access to all the content you wish to include (see SharePoint Online instructions in Granting SharePoint Permission to the Crawling Account).
The corresponding password.
Identity provider URL
Depending on the provider your users use to log in to SharePoint:
When using SSO Office 365 authentication, enter the URL of the identity provider server used in SharePoint Online to authenticate users. This URL is required since OneDrive for Business is part of SharePoint Online.
When authenticating via ADFS, you can edit the identity provider URL in the ADFS settings (see Finding and Enabling the ADFS Service Endpoint URL Path).
When authenticating via Okta, the URL should be of the following format:
When using native authentication, leave this field blank.
SharePoint trust identifier
Depending on the provider your users use to log in to SharePoint:
When using SSO Office 365 authentication, enter the Relying Party Trust identifier for the SharePoint Online identity provider server. The URL is required since OneDrive for Business is part of SharePoint Online.
Unless you use a different or modified SharePoint Online identity provider, use the default
When using native authentication, you may leave the default value, as it will be ignored.
In the Content to Include section, select List folders if you need to index your OneDrive for Business list folders.
- In the Access tab, determine whether each group and API key can view or edit the source configuration:
- In the Access Level column, select View or Edit for each available group.
- On the left-hand side of the tab, if available, click Groups or API Keys to switch lists.
If you remove the Edit access level from all the groups of which you are a member, you will not be able to edit the source again after saving. Only administrators and members of other groups that have Edit access on this resource will be able to do so. To keep your ability to edit this resource, you must grant the Edit access level to at least one of your groups.
Optionally, consider editing or adding mappings (see Manage Source Mappings).
You can only manage mapping rules once you build the source (see Add or Edit a Source).
Complete your source addition or edition:
Click Add Source/Save when you want to save your source configuration changes without starting a build/rebuild, such as when you know you want to do other changes soon.
In the Sources page, you need to click Start initial build or Start initial rebuild in the source Status column to respectively add the source content and make your changes effective.
Click Add and Build Source/Save and Rebuild Source when you are done editing the source and want to make changes effective.
Back in the Coveo Cloud administration console Sources page, you can review the progress of your OneDrive for Business source addition or modification (see Manage Sources).
Once the source is built or rebuilt, you can review its content in the content browser (see Inspect Items With the Content Browser).
Review the default refresh schedule in which a source refresh starts every 15 minutes (see Edit a Source Schedule).