Table of Contents
Field mapping and search experience
Monitoring and troubleshooting
Overview
The OneDrive connector allows Simpplr Enterprise Search to index Microsoft OneDrive Storage content, making it easily discoverable and searchable directly within Simpplr.
With this connector, you can (use cases):
- Bring OneDrive content into Simpplr Enterprise Search so users can find files alongside intranet content in one place.
- Respect OneDrive access permissions so users only see files they already have access to in OneDrive.
- Use advanced features like autocomplete, hybrid ranking, and Smart Answers on top of OneDrive content.
Indexed content from Simpplr Enterprise Search is available in:
- Main search listing
- Smart answers
Capabilities at a glance
| Content types | Folders, Files, pdf, ppt, doc, word, excel, csv, text etc. |
| Metadata | Title, URL, Owner, Created Time and Updated Time, Parent Reference, Folder Details, File type, Extension and Size, Mime Type, Permissions (users and groups level access) |
| Permissions | User and Group based permissions |
| Indexing | Initial full crawl when the connector is created, followed by a weekly full crawl. Incremental updates run every 4 hours, and ACL (permission) sync runs every hour. |
| Multiple instances support | Multiple OneDrive connections can be configured in the Simpplr environment. |
| Search features |
Pre-ingestion filters
Filtering follows an after-scan approach, meaning the entire dataset is scanned first and then filtered based on the specified fields.
|
Objects and content supported
- Objects - List the object types that are indexed, for example:
- Files
- Folder
- Metadata - For each indexed item, OneDrive captures:
- Title
- URL/link
- Owner
- Created time and Updated time
- Parent Details
- Folder name and path
- File type, extension and size
- Mime type
- Permissions (users and groups level access)
- Permissions model - Permissions are read from OneDrive and enforced in Simpplr Enterprise Search:
- How user and group permissions are synchronized
- OneDrive user and group memberships are fetched and stored in the ACL index.
- When a user is added to or removed from a OneDrive group, the ACL index is updated the next time the ACL sync runs (by default, every hour).
- How public or link-shared content is handled
- Content that is only available via anonymous or public shared links is not indexed in the current version.
- What happens when access is removed for a specific document
- When a user loses access to a file or folder in OneDrive, the updated permissions are applied during the next ACL sync.
- The file will no longer appear in that user’s Simpplr search results after the ACL sync completes.
Versions and editions supported
- Supports enabled OneDrive Storage Service.
Prerequisites
Before you begin, ensure the following:
- Source system access
- Access to Microsoft Entra user account
- Application/service account permissions
- Sufficient permissions to register an application with your Microsoft Entra tenant, and assign to the application a role in your Azure subscription. To complete these tasks, you'll need the Application.ReadWrite.All permission.
- Ability to grant the admin consent to the application from the Admin console (If you are not an admin, you need to request the Admin to grant consent via their Azure Portal).
OneDrive source documentation
Authentication and security
- Authentication mechanism - this describes how Simpplr Enterprise Search connects to OneDrive:
- Auth type: Application Authentication (Client credentials)
- Scopes or permissions required:
- User.Read.All,
- File.Read.All
- Admin Consent to the permissions
- Data security
- Data storage and residency: Indexed content and ACLs from OneDrive are stored within your Simpplr Enterprise Search environment, in the same region as your Simpplr tenant.
- Encryption in transit: Server-side encryption with Amazon S3 managed keys (SSE-S3), TLS encryption in Kafka.
- Encryption at rest: SSL (TLS 1.2 or higher), Auth: OAuth 2.0 client-credentials.
- Permission enforcement: OneDrive access controls (users and groups) are stored in the ACL index and applied at query time. Search results are always filtered by the signed-in user’s identity and OneDrive group memberships.
Setup and configuration
Step 1 - Prepare Microsoft OneDrive source
- Go to the Azure portal and sign in with your Azure account.
-
Search for and navigate to the App Registration service.
-
Click New registration to register a new application.
- Provide a name for your app, and optionally select the supported account types (e.g., single tenant, multi-tenant) based on your Entra-ID.
- Click Register to create the app registration.
- After the registration is complete, you will be redirected to the app’s overview page. Take note of (copy & paste) the Application (client) ID value and Directory (Tenant) ID somewhere you have easy access to, like a Notepad app, as you’ll need them later.
- Navigate to the Manage > API permissions section and click Add a permission.
- From the Request API permissions pane, select Microsoft Graph as the API.
- Choose the application permissions and select the following permissions under the Application tab: User.Read.All, Files.Read.All
-
Click Add permissions to add the selected permissions to your app. Finally, click Grant admin consent to grant the required permissions to the app. This step requires administrative privileges.
Note:
If you are not an admin, you need to request that your admin user grant consent via their Azure Portal.
- Navigate to Manage > Certificates & Secrets tab. Go to Client Secrets. Generate a new client secret and keep a note of the string present under the Value column.
Step 2 - Create the connector in Simpplr
- From your Simpplr intranet, go to Manage features > Enterprise search > Add source.
- Search for and select Microsoft OneDrive.
- Enter basic information:
- Connection Name: (Connector Name for this instance)
- Provide authentication details (Copied from the client Application):
- Azure Application Client ID
- Azure Application Client Secret
- Azure Application Tenant ID
- Click Save, then Confirm.
Step 3 - Define sync scope
- Configure folder-based rules:
- Include specific folders: Include the files belonging to specific folder (links)
- Exclude specific folders: Exclude the files belonging to specific folder (links)
- Configure common filters rules (Exclusion only):
- File extension (e.g., .zip, .exe)
- File size above a specified threshold
- Document age (e.g., older than specified date)
- Configure Audience-based filtering:
- Include audiences
- Exclude audiences
Step 4 - Configure sync schedule
- Default schedule: Full crawl at first setup and once in a week, incremental sync every 4 hours, ACL runs every hour
- Configuration options:
- No option to configure the sync schedule, however sync can be paused and resumed manually
Step 5 - Monitor the sync
- Monitor the initial full sync status (starts automatically) in the connector dashboard.
Crawling and sync behavior
This section explains how the connector works over .
- Initial full crawl
- All the content present in the OneDrive Storage account is indexed during the first run
- How long it may take: Depends on the size of the content
- Incremental updates
- Mechanism: Based on Timestamp of previous sync.
- What changes trigger reindexing:
- New items created
- Existing items updated
- Permissions changed
- Items moved or renamed
- Items deleted or archived
- Deletion and permission changes
- Deleted items are removed from index at next sync
- Permission changes are updated at the next sync cycle
- Expected latency
- With the default schedule (incremental sync every 4 hours and ACL sync every hour), changes made to OneDrive content are generally reflected in Simpplr search results within 4 hours of the update, and the permission lag in the system can be up to 4 hours. (as the incremental sync every 4 hours). On top of that, there can be certain cases, where the permission sync can take up to 7 days (when the full sync is run), subject to content volume and system load.
Field mapping and search experience
Default field mapping
Source field One Drive > Index field Simpplr
| title | title |
| url | url |
| owner/created by | createdBy.login |
| file type | type |
| Last modified | updated_at |
| Created data | created_at |
| size | size |
| permissions /access control | _allow_access_control |
Search experience - how content from this connector appears in search:
- Result layout: (Icon, Connector name, title (name) as link, body (excerpt), Created Date, File Type icon, file type)
- Available filters and facets:
- Sources = OneDrive
- File type
- Owner
- Created Date
- Participation in advanced features:
- Smart Answers / Q&A: Yes
- Autocomplete: Yes
- Recommendations / “Suggested for you”: N/A
- Trending / popular results: N/A
- Semantic / hybrid ranking: Yes
Limits and known limitations
| Maximum file size indexed | Files bigger than 10 MB won’t be extracted. |
| Unsupported file types |
Compressed files are not supported, e.g., an archive file containing a set of PDFs (The file content is not searchable, however, the users can still search via file title.) |
| Rate limits | N/A |
| Preview limitations | No preview available for excel, or media files. |
| Permission edge case | Permission changes are not synced unless ACL sync is run. |
| Other known limitations | The text from the PDF is extracted. However, If text is within an image, it is not extracted. |
Monitoring and troubleshooting
Connector health and monitoring - Below is how admins can see status information in the Simpplr intranet:
- Head to Manage features >Enterprise search > Connector name
- Available metrics:
- Last sync status (Success / Warning / Failed)
- Last sync time
- Next scheduled sync
- Sync Type
- Total items indexed count
- Available metrics:
Common issues and resolutions
- Issue: Authentication failed, failed to fetch the access token (invalid credentials or missing scopes).
Possible causes:- Incorrect client ID or secret
- App not granted the required permissions
- App not granted with the admin consent
- Resolution:
- Verify and re-enter credentials
- Confirm required permissions are granted
- Confirm if the App is granted with the Admin consent.
When to contact Simpplr Support
- Authentication error persists even after trying the above-mentioned resolutions
- Sync is stuck in the Pending state
- Sync is in progress but no documents are getting ingested
- Sync failure with cancelled error (when not cancelled manually)
- Incomplete or Partial sync
- When contacting Support, be sure to include:
- Connector name and instance ID (if available)
- Organization URL
- Approximate time and date of the issue
- Error messages or screenshots
- Steps you already tried
Frequently asked questions (FAQ)
Q1. Can I connect multiple OneDrive tenants or domains?
A. Multiple OneDrive connections can be configured in the Simpplr environment, but functionality to connect multiple tenants or domains in a single connector is not implemented yet.
Q2. How often does OneDrive sync data?
A. The connector runs a full crawl on first setup and then once per week. Incremental sync runs every 4 hours and ACL (permission) sync runs every hour by default.
Q3. Are comments, revisions, or version history indexed?
A. Comments and individual versions are not indexed as separate items. The connector indexes the latest file metadata, including the last updated time and updated-by user.
Q4. Does the connector index content from external guests or shared links?
A. This functionality has not been implemented yet.
Q5. What happens when a user loses access to an item in OneDrive Storage?
A. The updated access permissions will be indexed during the next sync.
Note: Though the access control syncs run every hour, the permission lag in the system can be up to 4 hours (as the incremental sync every 4 hours). On top of that, there can be certain cases where the permission sync can take up to 7 days (when the full sync is run).
Q6. Can I exclude certain sites/teams/folders from being indexed?
A. Documents can only be excluded based on file extension, size, and age. Additionally, documents can be included or excluded based on audiences.
Q7. How are deletions handled?
A. Objects deleted from the source are permanently deleted from the index.
Q8. Are image files searchable?
A. No, images are not searchable.
Comments
Please sign in to leave a comment.