Skip to content

Guide

Rolling out Microsoft 365 Copilot securely: risks and configuration

By Lucas Weber, CyberSec42 · Updated 28 Oct 2026

CyberSec42

Microsoft 365 Copilot only shows each person content they could already open. The biggest security risk is therefore usually not Copilot itself, but overly broad permissions in SharePoint, OneDrive and Teams that Copilot surfaces in seconds. A secure rollout starts by cleaning up permissions, classifying confidential data with sensitivity labels, restricting agents and connectors and turning on audit logging before licences are handed out widely.

In short.

Permissions and oversharing

Copilot sees what the user may see.

Go to section

Classification and labels

Mark what is confidential, control processing.

Go to section

Prompt injection via content

Emails and documents as an attack path.

Go to section

Agents and connectors

Copilot Studio, sign-in, data egress.

Go to section

Web search and privacy

What leaves the Microsoft 365 boundary.

Go to section

Logging and audit

Trace what Copilot accesses.

Go to section

How Copilot reaches your data

Microsoft 365 Copilot (which Microsoft has since renamed "Microsoft Copilot") connects a language model to the content a person can access in Microsoft 365: email, chats, meetings, files in SharePoint and OneDrive. Microsoft states the principle plainly: Copilot only surfaces organisational data to which the individual user has at least view permissions. According to Microsoft, prompts, responses and data accessed through Microsoft Graph are not used to train the underlying foundation models.

For a security assessment this means Copilot grants no new rights. It does, however, exploit existing rights faster and more thoroughly than any person could. A salary spreadsheet that has sat for years in a Teams folder shared with the whole company was practically invisible. With Copilot, a question about "sales team salaries" is enough.

The layers that shape a Copilot answer

Answer to the userwhat Copilot summarises and cites · section 6
Agents, connectors, web searchadditional data sources and actions · sections 4, 5
Content from emails and documentsincluding untrusted third-party text · section 3
Classification and DLPlabels, encryption, processing restrictions · section 2
Permissions in Microsoft 365SharePoint, OneDrive, Teams, Exchange · section 1

The bottom layer matters most. What is too open there can only be softened in the layers above, not fixed.

1. Permissions and oversharing

Oversharing is the most common reason Copilot rollouts stall. Typical causes are "People in your organization" sharing links, the "Everyone except external users" group on entire sites, broken permission inheritance in libraries, ownerless sites and old project folders that nobody maintains.

Microsoft's deployment guidance recommends a three-step approach that also works well for smaller companies:

To stop the problem from growing back, add secure defaults: restrict or disable "Anyone" links at tenant level, apply Restricted Access Control to business-critical sites at creation, and require a sensitivity label for every new site.

2. Data classification and sensitivity labels

Permissions decide who may open a file. Sensitivity labels from Microsoft Purview Information Protection add how confidential a file is, and can encrypt it. For encrypted content, Microsoft states that Copilot honours the usage rights granted to the user.

Three building blocks are particularly effective for Copilot:

One limitation is worth knowing: according to Microsoft, DLP cannot scan the content of files uploaded directly into a prompt. Only the typed prompt text is checked. That belongs in your usage policy and training.

3. Prompt injection through documents and emails

Copilot reads not only your own content, but also external emails, documents shared by partners and web content. These can hide instructions aimed at the language model rather than the human reader. We cover the mechanism of indirect prompt injection and the structural countermeasures in our guide to prompt injection and tool poisoning. This section focuses on what matters specifically in Microsoft 365.

Germany's Federal Office for Information Security (BSI) warned about indirect prompt injection as an intrinsic vulnerability of application-integrated language models as early as July 2023. Its assessment: language models have no clear separation between data and instructions, and there is no known reliable mitigation that does not also significantly limit functionality.

A publicly documented case shows that this applies to Copilot as well: CVE-2025-32711, published by Microsoft in June 2025 as "M365 Copilot Information Disclosure Vulnerability". Microsoft describes it as AI command injection that allowed an unauthorised attacker to disclose information over a network, and rates it CVSS 9.3 (critical). The researchers who found it published it as "EchoLeak" and described an attack path via a crafted email. According to MSRC, Microsoft fully mitigated the flaw on the service side, customers had no action to take, and the advisory lists no known exploitation.

The takeaway for your rollout is not that Copilot is insecure, but that the trust boundary between external content and your data needs deliberate design:

4. Copilot Studio, agents and connectors

With Copilot Studio, business teams build their own agents that use knowledge from SharePoint, websites or databases and take actions through connectors, REST APIs or MCP servers. That turns an assistant that reads into a system that acts. Our overview of AI agent security covers the general risks of acting agents. For Copilot Studio, four settings are decisive:

For third-party agents in Microsoft 365 Copilot, admins can review the requested permissions, terms of use and privacy statement under "Integrated apps" in the Microsoft 365 admin center and decide which agents are allowed. Data brought in from other systems through Microsoft Graph connectors only appears in answers if the user has access to it. That makes it all the more important that connector permissions accurately mirror the rights in the source system.

5. Web search, data flows and privacy

When web search is enabled, Copilot derives a short search query from the prompt and sends it to Bing. According to Microsoft, it contains neither the full prompt (except for very short prompts) nor whole documents or Microsoft Entra ID identifiers. These generated queries are, however, governed differently from the rest of your Microsoft 365 data: Microsoft's documentation states that the Data Protection Addendum and the EU Data Boundary do not apply to them and that Microsoft acts as a data controller for them.

That leads to three decisions you should make deliberately:

For EU users, Microsoft states that Copilot traffic stays within the EU Data Boundary. Involve your data protection officer early all the same: your configuration of web search, models and retention determines which data flows you need to document.

6. Logging and audit

According to Microsoft, Copilot interactions are logged automatically as part of Audit (Standard) in Microsoft Purview, provided auditing is enabled in the tenant. CopilotInteraction records show who used Copilot, when and in which app, and reference the files, sites and emails Copilot accessed to answer, including their sensitivity label. Interactions with custom Copilot Studio agents appear there too.

The rollout checklist

A phased rollout has proven itself: first a pilot group whose storage you know well, then the departments whose permissions are cleaned up, and finally everyone else. That way usage does not outpace the clean-up.

AreaMeasure
PermissionsOvershared sites identified with DSPM data risk assessment and Content Management Assessment
PermissionsCritical sites shielded in the interim with Restricted Content Discovery
PermissionsOrganisation-wide links and "Everyone except external users" cleaned up, an owner set for every site
Defaults"Anyone" links restricted, new sites only with a sensitivity label
ClassificationLabel scheme with default and automatic labelling in place
ClassificationDLP policy for Copilot: highly confidential labels excluded from processing
Prompt injectionHandling of external email decided, usage policy on reviewing output
AgentsPower Platform data policies, mandatory sign-in, confirmation before write actions
AgentsTools with maker-provided credentials inventoried and justified, third-party agents approved or blocked
Data flowsWeb search and allowed models configured deliberately, data protection officer involved
AuditAuditing on, retention set, review of Copilot records scheduled
RolloutPilot group, training, a contact for reported wrong answers

What configuration alone cannot answer

The settings on this checklist can be checked in the admin portals. Whether they hold up together only shows in behaviour: does a crafted email reach an agent that writes to another system with the author's rights? Does a connector expose data that only a few people can see in the source system? Does Copilot give a test user content from a site that is supposed to be shielded? No automated scan answers these questions, because the weakness does not sit in a single setting but in the path between external content, model and tool.

That is where our AI and MCP security testing comes in. Within a scope agreed in writing and using test accounts in your tenant, we test your Copilot configuration, your custom agents and their connectors for the attacks an automated scan misses, and back every finding with a reproducible proof of concept. If you also need evidence for customer questionnaires, ISO 42001 or the EU AI Act, see our compliance readiness service.

How robust is your Copilot rollout?

In a free initial call we assess where your tenant stands: permissions, classification, custom agents and connectors. You will learn which items you can handle yourself and where a test makes sense.

Request a Copilot check

CyberSec42 provides independent technical security testing. It is not an accredited certification body and does not provide legal advice. All product details are based on Microsoft's public documentation as of 28 Oct 2026.

Frequently asked questions

Is Microsoft 365 Copilot a security risk?

Copilot follows the existing permissions in Microsoft 365 and grants no new rights. The risk arises mainly where permissions are too broad, where confidential data is not classified and where custom agents run with too many rights. With cleaned-up permissions, labels, DLP rules and active logging, Copilot can be rolled out in a controlled way.

Can Copilot see data an employee has no access to?

No. According to Microsoft, Copilot only surfaces organisational data to which the individual user has at least view permissions. Many employees, however, unknowingly have access to far more than they need, for example through organisation-wide sharing links. Copilot makes that content easy to find.

Does Microsoft use our data to train Copilot?

According to Microsoft, prompts, responses and data accessed through Microsoft Graph are not used to train foundation models, including those used by Copilot. Independently of that, you should configure web search, allowed models and retention deliberately.

What is oversharing in Copilot?

Oversharing means content is shared with more people than necessary, for example through links for the whole organisation or the "Everyone except external users" group. Before Copilot, such shares rarely stood out. With Copilot, the right question is enough to find the content.

Are sensitivity labels enough on their own?

No. Labels only work on content that is actually labelled, and they do not replace cleaned-up permissions. What works is the combination: tidy permissions, default and automatic labelling and a DLP policy that defines which labels Copilot may not process.

What should I watch for with custom agents in Copilot Studio?

Agents should require sign-in through Microsoft Entra ID, run tools with the user's credentials wherever possible and ask before write or send actions. Admins use Power Platform data policies to define which connectors and knowledge sources are allowed.

Further reading

Sources