Enterprise search: connect repositories while preserving source permissions
Learn how synced indexes and federated queries differ, prepare a bounded pilot, map identities and source permissions, and test that restricted titles, snippets, and content never appear to unauthorized users.
Enterprise search: connect repositories while preserving source permissions
Enterprise search is a search layer that helps people find material across separate company systems, such as a wiki, document store, or business application. Its central challenge is not merely gathering content: results must still respect each source's access rules. A connector may copy content into an index or query a source at search time, but if it cannot determine the searcher's real permissions, even a title or preview can disclose information.
Scope and date checked: This is product-neutral design and pilot guidance. Product examples below are based on official documentation checked November 19, 2026. Features, availability, and preview status vary; confirm current documentation before adoption.
What does the search layer connect?
Repositories hold content plus information such as titles, source links, owners, update times, and which users or groups may read each item. Enterprise search connects these sources by synchronizing content and permission data into a searchable index, or by querying source systems when a person searches. An index is a structured search copy; it does not replace the source of truth. The source repository should remain authoritative for the content and its permissions.
This differs from a team knowledge base or wiki. Those are ways to create and maintain content: what to write, who updates it, and when to review it. Enterprise search is a retrieval and integration layer for finding material already held in several systems and deciding which results each person may see. Making an outdated or incorrect page searchable does not make it accurate.
Compare synchronized indexes and federated queries
Product terminology varies, but two common designs are:
| Design | How retrieval works | Advantage | Main responsibility |
|---|---|---|---|
| Synchronized/indexed | A connector periodically copies or updates content and permission data in a search index. | Can combine sources and use the search service's relevance features. | Manage sync delays, deletion, permission changes, and copies stored in the index. |
| Federated/query-time | A search request goes to each source, which returns results for that user's access. | Can keep content in its source and retrieve current information. | Depends on source availability, response time, and search features; connect each source's authentication and query. |
Microsoft 365 Copilot connector documentation describes its synced connectors as indexing external data into Microsoft Graph and its federated connectors as fetching data at query time. It says these Microsoft connectors respect source permissions; that is a product-specific description, not a guarantee for every search platform. Google Cloud Agent Search documentation also describes filtering results using user identity and access-control data, but the access-control feature was marked Preview when checked. Do not confuse a vendor's current feature status with a universal capability. Microsoft 365 Copilot connectors overview, Google Agent Search: data source access control
Consider synchronized indexing when you can keep the index's access-control list (ACL)—the users or groups allowed to read each item—in step with the source. Consider federated queries when content should remain at the source and be checked there at query time. Neither design removes the need to verify permissions. A hybrid can work, but specify the retrieval path and permission model for each source.
Check the boundary with a hypothetical example
This fictional example explains the design; it is not a real organization or search result. Suppose a product team keeps release procedures in a wiki, customer proposals in a shared drive, and salary policy in an HR system. A product employee searching for “new employee onboarding” may find the release procedure, but must not see the title, summary, or text of salary policy restricted to HR staff.
If an administrator account retrieves everything and the index omits ACLs, content available to the administrator may be exposed to ordinary searchers. A safe connector maps source users and groups into the search system's identity model and limits results for the requesting user's identity. The Microsoft Graph connectors API describes submitting ACL information with each external item to state who may access it. Microsoft Graph connectors API overview
Set scope and permissions before connecting sources
1. Narrow the work and content
Instead of “search every company document,” list recurring questions or tasks, such as setting up a new employee's account and equipment, handling customer requests, or preparing a release. These questions give the pilot a practical way to judge whether search works.
For each source, record:
| Record | Check |
|---|---|
| Source and owner | System, business owner, and connector operator |
| Included content | Item types, sensitive exclusions, and authoritative location |
| User identity | User/group identifiers, login system, and how group changes propagate |
| Permission rules | Item-level and inherited access, restrictions, denials, and guest exceptions |
| Updates and deletion | Sync interval or live query, and how edits/deletions are reflected |
| Source link | Canonical URL users should open from a result |
Exclude items with unclear permissions or no accountable owner from the pilot. It is easier to resolve uncertain inheritance or sharing links before indexing than to discover them after broad rollout.
2. Review retrieval and identity mapping
Check whether a connector exists, whether it supports per-user authentication, and whether it collects only through an administrator account. For indexed search, ask when permission and group changes or deletions reach the index. For federated search, check what happens when a source is unavailable and whether the request uses the searcher's identity. Compare freshness, whether copies may leave the source, response-time needs, and connector maintenance.
Do not map identities merely because names look alike. Confirm that each employee's source account maps to the correct company account, and check support for nested groups, inherited permissions, guests, and explicit denials. A connector account's broad read access is not the same as every user's permission. Check the product's default when permission data is missing or cannot be mapped. If unclear, exclude the item until the issue is resolved.
Test a small pilot for leaks and omissions
Start with one source and a limited set of item types, but include the actual mix of public and restricted items and individual and group permissions. First establish what a few approved test users can access at the source, then compare search results. Use approved test content and accounts; do not copy sensitive live material for ad hoc testing.
| Test condition | Check in search |
|---|---|
| An authorized user searches for public material | Are the title, summary, and content visible, and does the source link open correctly? |
| An unauthorized user searches for restricted material | Are the result, title, snippet, summary, autocomplete, and answer all hidden? |
| A group gains or loses permission | Is access added or revoked within the product's documented time? |
| A source item changes, moves, or is deleted | Does the index or live result reflect it, and are broken links handled? |
| A connector or identity mapping fails | Is the failure detected and logged instead of defaulting to broad visibility? |
This is a proposed readiness checklist, not a claim that a product was tested. Try representative synonyms, abbreviations, and document titles instead of relying on one query. If allowed material is missing, check source scope, indexing state, identity mapping, and query wording in that order. If unauthorized material appears even once, stop the affected search path immediately and isolate the connector or item. Correct the ACL and group mapping against the source of truth. Do not expand the pilot until a test identity without permission can no longer see the result, preview, or answer.
Keep the index aligned with its sources
Connections need ongoing ownership. If a source policy changes while an index is stale, search may disagree with the source. Set expectations for how long file-name, location, and group-membership changes take to appear, and define who is alerted when updates fail. The search owner should review connection status, ingestion errors, last successful update, and deletion handling; the source owner should confirm that content still matches actual work.
Provide a way for users to report denied access or stale results. Diagnose against the source's permission and update time, then compare what the connector read, the indexed ACL, and the requester's identity mapping. Do not conceal the problem by granting access directly in the search engine. Fix the authoritative source, then confirm the change reached the index or federated query.
If native search across a few sources already handles recurring tasks, or source owners and permission data cannot be verified, do not add an enterprise-wide search layer yet. Clarify source access, ownership, updates, and deletion first. Safe enterprise search is not about indexing the most material; it is about finding what people need without revealing what the source does not allow them to see.
References
Microsoft Learn, [Copilot connectors overview](https://learn.microsoft.com/en-us/microsoft-365/copilot/connectors/overview) — Microsoft-specific synced and federated connectors and source permissions.
Microsoft Learn, [Use the Microsoft 365 Copilot connectors API](https://learn.microsoft.com/en-us/graph/api/resources/connectors-api-overview?view=graph-rest-1.0) — indexing external items with ACL information.
Google Cloud Documentation, [Set up data source access control for Agent Search](https://docs.cloud.google.com/generative-ai-app-builder/docs/data-source-access-control) — identity-based filtering of search results; marked Preview when checked.