Join our Newsletter — 33% off our NHI Course
Home› Guides› Microsoft 365 Copilot Connectors Security: Stop ACL Mapping…
Guide AI Platforms

Microsoft 365 Copilot Connectors Security: Stop ACL Mapping Errors Oversharing External Content

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 27 November 2026 16 min read
On this page

Copilot connectors copy content from systems such as ServiceNow, Salesforce, Confluence or a file share into the Microsoft 365 index, and every item carries an access control list that decides who Copilot will answer for. If that list is wrong, Copilot can summarise a restricted HR article or a private case record for anyone in the tenant, with a citation. This guide covers the exposure path that sits between the source system's permissions and the Microsoft Graph index: access settings, identity mapping, external groups, crawl timing, the connector's own credentials and the newer federated (MCP based) connectors. It is written for Microsoft 365 administrators, AI administrators and security architects who already know the Copilot permission model for SharePoint and OneDrive and now need to bring outside content in safely.

This is an independent guide from NHI Mgmt Group, based on Microsoft's public documentation as of November 2026. It is not sponsored or reviewed by Microsoft. Product features change, so confirm settings against Microsoft's current documentation.

Key takeaways

  • The index trusts the ACL it is given. Search and Copilot show a synced item only to the identities in its ACL, so the accuracy of the mapping from source permissions to Entra identities is the whole control.
  • "Everyone in the organization" is a publishing decision. Choose it only for content that is meant to be public inside the tenant; the default "Only users with access to the content" should stay for anything else.
  • Incremental crawls do not process permission changes. Revoked access can stay in the index until the next full crawl, so the full crawl schedule is your revocation latency.
  • Connector-specific edge cases cause most oversharing. ServiceNow allow-path scripts skipped in the Simple flow and HR scoped criteria read without the right role are documented examples of restricted content indexed as open.
  • The connector is a non-human identity with broad read access. Its service account, OAuth client or app registration needs an owner, least privilege and credential hygiene like any other integration.

How connectors expose external content

Microsoft now documents two connector families. Synced connectors index external content into Microsoft Graph: each item holds content, metadata such as title and URL, and an ACL, joins the tenant's search index and is processed by semantic indexing. Federated connectors use the Model Context Protocol (MCP) to fetch data live from the source at question time and store nothing in Microsoft 365. Microsoft lists more than 100 prebuilt connectors, and custom connectors are built with the Microsoft 365 Agents Toolkit or the Copilot connectors REST API (formerly the Microsoft Graph connectors API). An on-premises agent, the Microsoft Graph connector agent, indexes local content.

Once synced, items surface in Microsoft 365 Copilot Chat, Copilot Search (automatically, with no extra setup), Microsoft Search across Office.com, SharePoint, Outlook and Teams, and in custom agents built in Copilot Studio or the Agents Toolkit that use the connection as a knowledge source. One wrong ACL therefore reaches every one of those surfaces at once. For the SharePoint and OneDrive side of the permission model, see the Microsoft 365 Copilot Security Deep Dive; for agents that use connectors as knowledge, see the Microsoft 365 Copilot Agents Security Guide.

Connector typeWhere data livesWhose identity reads the sourceMain exposure risk
Synced, tenant configuration (prebuilt)Copied into the tenant's indexAdmin-configured connection credentialACL or identity mapping errors, stale permissions between full crawls
Synced, self-serveLimited recent data in the indexThe user's own account and consentUsers connecting sources the organisation has not assessed; content removed when the user disconnects or an admin disables it
Synced, custom (Graph API)Copied into the indexYour app registrationYour code writes the ACL, so bugs in permission translation become oversharing
Federated (MCP)Stays in the source, fetched liveThe user, through OAuth 2.0Write, update and delete tools acting with the user's permissions; third-party data terms

The ACL model in detail

For custom connectors the acl property is required on every externalItem. Each entry has three properties: accessType (grant or deny), type and value. Deny takes precedence over grant, so a user denied on an item stays denied even when Everyone is granted.

ACL typevalue holdsWho it coversUse with care because
userEntra user object IDOne personPer-user ACLs on many items create heavy update churn when people move
groupEntra group object IDMembers of an Entra groupGroup sprawl in Entra now also controls external content
everyoneTenant object IDAll users in the tenantA default or fallback to everyone in connector code is the most common route to oversharing
everyoneExceptGuestsTenant object IDAll users except guestsStill very broad; prefer it to everyone where broad access is intended
externalGroupID of an external group in the connectionMembers synced from a non-Entra group constructMembership must be kept in sync by your own job

External groups

Source systems often grant access through constructs Entra does not know about: Salesforce profiles, roles and permission sets, Dynamics business units and teams, ServiceNow or Confluence local groups, SharePoint groups. Microsoft's guidance is to model these as external groups, which belong to one connection and can contain Entra users, Entra groups and other external groups, then reference them in item ACLs. Do not expand group membership straight into each item's ACL: every membership change then triggers a large volume of item updates. Microsoft also states that a user should have fewer than 2,049 external security group memberships (direct and indirect), beyond which results become unpredictable, and queries from users in more than 10,000 external groups fail with HTTP 400. Non-Entra users must be translated to Entra users before they go into an ACL.

Admin settings that decide exposure

Prebuilt connectors are deployed in the Microsoft 365 admin center under Copilot > Connectors > Gallery. Choosing Create starts indexing with default settings; Custom setup exposes three tabs, and the security-relevant choices are on all three.

  • Users tab, Access Permissions: "Only users with access to the content" or "Everyone in the organization". Some connector guides word these as "Only people with access to this data source" (the default) and "Everyone".
  • Users tab, Map Identities: by default the source email is matched to UserPrincipalName or Mail in Entra ID. When source identities are not Entra identities, choose Non-Entra ID and build a mapping with one regular expression per source property and a formula such as {0}.{1}@contoso.com, targeting UPN, Entra ID or object ID.
  • Content tab, schema attributes: SEARCH, QUERY, RETRIEVE and REFINE decide what is full-text indexed and what can appear in results. RETRIEVE cannot be removed and REFINE cannot be changed after setup, and changing URL expressions on an existing connection is not supported, so design the schema before go-live.
  • Sync tab: full and incremental crawl recurrence, days and a frequency from 15 minutes to 12 hours.
  • Validation audience: Microsoft's setup flow recommends deploying to a subset of users for validation before a broad rollout.
  • Copilot Visibility toggle: per connection, hides the connector from Copilot Search and Copilot Chat while crawling continues; changes can take up to 30 minutes to apply.

Two identity mapping traps are documented. The Preview button samples only five random users, and you can publish a connection while some sample mappings show Failed, so a formula that fails for part of the population can still go live. And the mapping cannot be changed after the connection is published, and only one mapping applies to all users. Test the formula against a full export of source identities, not the preview.

Crawl timing is revocation latency

A full crawl syncs everything, detects deleted items and updates ACLs. An incremental crawl syncs only new or changed items since the last success and, per Microsoft's setup documentation, does not process permission updates. Microsoft advises running full crawls periodically even when incremental crawls are frequent. System load can delay a crawl start by up to an hour, and when delete detection cannot run reliably, items not rediscovered for 28 days are removed automatically.

The ServiceNow Knowledge connector shows how this plays out. Its defaults are a daily full crawl and an incremental crawl every 15 minutes; the incremental crawl recomputes permissions for changed articles but does not update identities or knowledge base level permissions. The Advanced flow adds an incremental identity sync every 30 minutes for users, roles, group memberships and user criteria. Without it, someone removed from a knowledge base can keep seeing its content through Copilot until the next full crawl.

Change in the sourcePicked up by incremental crawl?Picked up by full crawl?Practical response
New or edited itemYesYesNormal operation
Item-level permission change on an edited itemConnector dependent (ServiceNow recomputes for changed articles)YesCheck the connector's own deployment guide
Container or parent level permission changeNo (ServiceNow knowledge base level)YesTrigger an on-demand full crawl after sensitive permission changes
Leaver or role changeNo, unless an identity sync existsYesAlign full crawl frequency with your leaver revocation SLA
Deleted itemNoYesFull crawl, or delete the connection for urgent removal

Connector-specific oversharing traps

Every prebuilt connector translates a different permission model, so read its deployment guide for the permission section before enabling it. The ServiceNow Knowledge connector documentation is a useful model because it lists its edge cases plainly.

  • Simple versus Advanced flow: the default Simple flow does not evaluate script-based user criteria. A script on the Cannot Read path is treated as deny all (fail-safe), but a script on the Can Read path is skipped, which Microsoft notes can result in oversharing. Use the Advanced flow, which calls a scripted REST API in ServiceNow, if your instance uses advanced scripts in user criteria.
  • HR scoped content: without sn_hr_core.content_reader or sn_hr_core.admin, HR scoped user criteria return empty results and the connector may treat restricted HR articles as unrestricted and index them for all users.
  • Articles with no criteria: if an article and its knowledge base have no Can Read criteria and glide.knowman.block_access_with_no_user_criteria is false, the article is visible to everyone in the organisation. If the service account cannot read sys_properties, the connector treats the property as true and blocks them.
  • Query filter scope: the default filter active=true^workflow_state=published limits indexing to published, active articles; widening it brings drafts and retired content into scope.

Apply the same review to other connectors: which source permission constructs are supported, what happens to items with no permissions, and which roles the connector account needs to read permissions correctly. A connector account that can read content but not the permission data is the pattern behind both ServiceNow traps above.

Where identity fits: the connector's own credentials

A tenant-configured connector reads the source as a single non-human identity with access to everything it indexes, so that identity is a high-value target. For ServiceNow, Microsoft lists four authentication options: Federated Auth (recommended, OIDC with a Microsoft first-party app, no client secret stored), Basic authentication, OAuth 2.0 (with a documented refresh token lifespan of 31,536,000 seconds, one year) and Entra ID OpenID Connect with a single-tenant app registration and client secret. The Federated Auth integration user is documented with the knowledge_admin, user_criteria_admin and user_admin roles, so treat it as a privileged account.

  • Prefer secretless options: where a connector offers federated or OIDC authentication without a stored secret, use it in place of passwords or long-lived refresh tokens.
  • Least privilege for custom connectors: the item write API's least privileged application permission is ExternalItem.ReadWrite.OwnedBy; ExternalItem.ReadWrite.All is the higher privileged option. Grant the OwnedBy scope so one connector app cannot overwrite another connection's items and ACLs.
  • Ownership and inventory: record an owner, purpose and credential expiry for each connector identity, and include it in service account reviews. See How to Run an Access Review for Service Accounts and How to detect new credentials added to an app registration.

Federated connectors and actions

Federated connectors change the risk rather than remove it. Users sign in to each source with their own credentials, the source enforces permissions and nothing is copied into Microsoft 365, so there is no ACL translation to get wrong. The new questions are about agency. Where a connector exposes the tools, Copilot can create, update or delete data in the third-party system with the user's permissions. Read tools run without approval; write, update and delete tools default to Needs approval, with Allow once, Allow for conversation, Always allow or Cancel, and new or changed write-capable tools from a publisher also default to Needs approval.

Admin controls sit under Agents > Settings and the connector list: Agent and plugin access by publisher type (Microsoft, organisation, external), a tenant-wide User access ceiling, per-connector Enable and Staged rollout, and tool-level block and unblock. If the MCP server filters by source IP, Microsoft documents static egress IP addresses for Microsoft 365 Copilot. For the protocol itself, see the API Security vs MCP Security guide.

Rollout and testing approach

  1. Classify the source first: decide whether the content is tenant-public, restricted or confidential, and refuse "Everyone" for anything but tenant-public.
  2. Map the permission model: list every construct the source uses (roles, local groups, criteria scripts, inherited container permissions) and confirm from the connector's deployment guide that each is supported. Anything unsupported is excluded with a filter or handled by a custom connector.
  3. Grant the connector account the roles it needs to read permissions, not only content, and nothing wider.
  4. Validate identity mapping at full scale: export source identities, apply the formula offline and count unresolved users before you publish, since the mapping is fixed afterwards.
  5. Pilot with test users: deploy to the validation subset, then run paired queries as a user who should see a known restricted item and one who should not. Repeat for an item with no permissions and for a deny entry.
  6. Set crawl schedules from your revocation SLA, enable identity sync where offered, and test a revocation end to end with timing recorded.
  7. Widen the rollout and keep the paired query tests as a scheduled regression check.
  8. Rollback: turn off Copilot Visibility for fast suppression in Copilot (up to 30 minutes), pause the connection to stop crawling, and delete the connection to remove indexed content. To change what is indexed, Microsoft recommends deleting and recreating the connection with an exclusion filter.

Detection and measurement

The admin center shows each connection's state (Syncing, Ready, Paused, Failed, Delete failed) and the last sync time. Permanent failures post to the Service Health dashboard, and up to two addresses can subscribe to email alerts for issues that require action. Export configuration downloads a CSV of connection settings, which is a simple baseline to diff over time. For federated connectors Microsoft states that activity can be audited in Microsoft Purview; for Copilot interaction records see the Microsoft 365 Copilot Audit Log Guide.

  • Connections set to Everyone: count and list, each with a recorded business justification (target: none without one).
  • Identity mapping coverage: percentage of source users resolving to an Entra identity (target: above 99 per cent, with the remainder reviewed).
  • Revocation latency: measured time from a source permission removal to the item disappearing from Copilot answers, against your SLA.
  • Full crawl success age: hours since the last successful full crawl per connection.
  • Paired access test pass rate: share of scheduled positive and negative test queries returning the expected result (target: 100 per cent).
  • Connector credential age: days since rotation for any secret or refresh token based connection.

Common failure patterns

  • Choosing Everyone to make a pilot work and never switching back once the pilot becomes production.
  • Trusting the five-user preview for identity mapping, leaving part of the population unmapped or, worse, a custom connector that falls back to everyone when a user cannot be resolved.
  • Daily permission changes with a weekly full crawl, so leavers and moved staff keep reading content through Copilot for days.
  • Under-privileged connector accounts that can read articles but not permission data, the documented cause of HR scoped content being indexed for all users.
  • Custom connectors granted ExternalItem.ReadWrite.All and secrets with no owner or expiry, so one compromised app can rewrite ACLs on every connection.
  • Treating federated connectors as read-only after write actions arrive, and allowing Always allow on write tools without a policy.

Framework mapping

Connector controlNIST SP 800-53 Rev 5NIST CSF 2.0ISO/IEC 27001:2022 Annex AOWASP Top 10 for LLM 2025
Accurate ACLs and identity mappingAC-3 Access EnforcementPR.AA-05A.8.3 Information access restrictionLLM02:2025 Sensitive Information Disclosure
Connector account least privilegeAC-6 Least Privilege, AC-2 Account ManagementPR.AA-05A.5.15 Access controlLLM06:2025 Excessive Agency (federated write tools)
Connection inventory and data classificationCM-8 System Component InventoryID.AM-07A.5.12 Classification of informationLLM02:2025
Monitoring and access testingAU-6, SI-4 System MonitoringDE.CM-09A.8.16 Monitoring activitiesLLM08:2025 Vector and Embedding Weaknesses (permission-aware retrieval)

Practitioner checklist

  • Inventory every connection, its type (synced, self-serve, custom, federated), owner, access setting and data classification.
  • Remove "Everyone" from any connection that is not tenant-public, or record the justification.
  • Read each prebuilt connector's permission section and confirm every source permission construct is supported.
  • Give connector accounts the roles needed to read permission data, and no admin roles beyond what the connector guide requires.
  • Validate identity mapping against a full identity export before publishing.
  • Use external groups for non-Entra group constructs and keep their membership sync monitored.
  • Set full crawl frequency, or identity sync, to meet your revocation SLA and test it.
  • Prefer secretless authentication and ExternalItem.ReadWrite.OwnedBy for custom connectors.
  • Keep write tools on Needs approval for federated connectors and restrict publisher types.
  • Schedule paired positive and negative access queries as a regression test.

Standards and references

Related NHI Mgmt Group resources: Microsoft 365 Copilot Security Deep Dive · Microsoft 365 Copilot Agents Security Guide · Microsoft 365 Copilot Audit Log Guide · AI data access review

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.