AI & prompting

How Does Copilot Work? Models, Grounding and Your Data

Microsoft Copilot works by sending your prompt to a large language model (LLM), adding context from the web or from work data you are allowed to see, and returning the model's answer after safety filtering. The model writes text one piece at a time; the surrounding Microsoft system decides what information the model gets to read.

"Copilot" is the name of many Microsoft products, so the details below follow Microsoft's documentation for Microsoft Copilot and Microsoft 365 Copilot, as of November 2026. GitHub Copilot and Security Copilot are separate products. If you want to start using it rather than understand it, see How to use Copilot.

The three parts: model, data and apps

Microsoft describes Copilot as a processing and orchestration engine that coordinates three components:

  • Large language models. They handle understanding your request and generating the reply.
  • Content in Microsoft Graph. This is the work data you have permission to access: emails, chats, documents, calendar and meetings.
  • The Microsoft 365 apps. Word, PowerPoint and the others, where the result is shown or inserted.

Microsoft's overview page adds that every Copilot experience is powered by an LLM, grounded in web data, organizational data or both, and scoped by the user's permissions. The experiences differ in how much grounding and integration they get, which depends on your license.

What happens when you send a prompt

Microsoft does not publish a line-by-line pipeline, so this is a summary of the steps its documentation describes, not an internal diagram.

  1. You type a prompt in the Copilot app, a browser, or inside an app such as Word or Outlook.
  2. Safety checks run on the input. Microsoft says Copilot uses jailbreak and cross-prompt injection attack classifiers that analyze inputs and help block high-risk prompts before the model runs. It adds that these classifiers may not exist in every Copilot scenario.
  3. Grounding adds context. Grounding means attaching relevant information to your prompt so the model is not answering from memory alone. Depending on your account, that is public web results, your Microsoft Graph content, or only files you upload yourself.
  4. The model generates a response. By default Copilot uses a real-time router that picks the underlying model based on the prompt.
  5. The response is filtered and returned. Microsoft lists content harm filters (hate and fairness, sexual, violence, self-harm) and, where available, protected material detection for copyrighted text and licensed code.
  6. The exchange is stored. Your prompt, the response and citations to the grounding sources are saved as your Copilot activity history.

What "grounding" means in practice

A language model on its own only knows what was in its training data. It has no idea what is in your inbox or what your team decided last week. Grounding fixes that by retrieving content and placing it alongside your question before the model answers.

Microsoft documents three sources of grounding:

SourceHow it gets into the prompt
Public webCopilot identifies terms in your prompt where a web search would improve the answer, generates a search query and sends it to the Bing Search service.
Microsoft Graph and Work IQAutomatic for users with the Microsoft 365 Copilot (Premium) license. Semantic indexing of Graph data improves how relevant the retrieved items are.
Content you provideFor Copilot Chat (Basic) and Microsoft 365 Copilot (Basic): a pasted block of text, an uploaded or selected file, content open in Outlook or Teams, or a pay-as-you-go agent with access to organizational content.

On a work account with the Premium license, a Work IQ toggle controls the organizational part. With it off, Microsoft says responses are not grounded in Microsoft Graph and Work IQ, so they are not enriched with your emails, files, meetings or calendar. Answers still arrive, but they know less about you.

A practical consequence: if Copilot gives a vague answer about your own work, check which kind of grounding you actually have. A Basic license cannot reach your mailbox on its own, so asking it to "summarize my emails from Tuesday" will not work unless the content is open or supplied.

Why it only shows what you can already see

Microsoft states that Copilot surfaces only organizational data to which the individual user has at least view permission, through the same access controls used elsewhere in Microsoft 365. The semantic index honors the same user-identity boundary, so retrieval is limited to content the current user is authorized to read. Encryption from Microsoft Purview sensitivity labels and rights management is honored too: Copilot respects the usage rights granted to the user.

This means Copilot does not create new access. It does make existing access easier to use. A document shared with the whole company by mistake was hard to find before; a plain-language question can now surface it. Microsoft's overview page points administrators to tools such as SharePoint Advanced Management for reducing oversharing, for that reason.

Which model answers you

Microsoft says the models behind Copilot change as new ones become available, without changing your security, compliance or privacy settings. In the model selector you can choose between three modes, according to Microsoft's overview page:

  • Auto: Copilot decides which model to use. This is the default.
  • Quick response: a high-throughput model for routine questions, prioritizing speed.
  • Think deeper: a deeper reasoning model for complex questions, which makes a plan, gathers context and checks its work before answering.

Microsoft's privacy documentation also mentions OpenAI and Anthropic as subprocessors in some Copilot experiences, with administrators deciding whether to use them, and says Microsoft may deploy its own models too. Anthropic models are currently excluded from the EU Data Boundary, so an organization with strict residency needs should read that page before enabling them.

What happens to your data

These points come from Microsoft's privacy page for work and school accounts. Consumer accounts follow different terms, so check the privacy statement for the app you use.

  • No training on your content. Prompts, responses and data accessed through Microsoft Graph are not used to train foundation LLMs.
  • Stored as activity history. The prompt, response and citations are stored in line with the contractual commitments for your other Microsoft 365 content, and encrypted at rest. Administrators can search and set retention through Microsoft Purview. Users can delete their own history from the My Account portal.
  • No human abuse review. Abuse monitoring with human review exists in Azure OpenAI, and Microsoft says Copilot services have opted out of it.
  • Region. Calls to the LLM go to the closest data centers but can use other regions during high demand. EU traffic stays inside the EU Data Boundary, while worldwide traffic can be processed in the EU and elsewhere.

Why Copilot still gets things wrong

Retrieval narrows what the model reads, but the model still generates text by predicting likely words. Microsoft says plainly that responses are not guaranteed to be 100% factual and that users should use their own judgment before sending the output to others. Common failure points follow from how the system works:

  • Nothing relevant was retrieved. If the right email or file is not found, the model fills the gap with plausible text.
  • The source is wrong or old. Grounding in an outdated document produces a confident answer based on it.
  • The prompt is vague. The model cannot ask what you meant. Give the audience, the format and the files to use.
  • The feature is licensed differently than you think. The same prompt can behave differently in Copilot Chat and inside Word, because the grounding differs.

Treat citations as a starting point: open the cited source and confirm that it says what the answer claims.

Agents: when Copilot calls something else

When agents are enabled, Copilot decides whether a specific agent is needed to answer. If so, it generates a query for that agent based on your prompt, your Copilot activity history and data you can access in Microsoft 365. The agent's own privacy statement and terms then apply, and administrators choose which agents are allowed. Graph connectors work similarly for external tools: their data can appear in responses only if you have permission to see it.

Frequently asked questions

Does Microsoft Copilot train on my prompts and files?
For Microsoft 365 Copilot, Microsoft's documentation says prompts, responses and data accessed through Microsoft Graph are not used to train the foundation large language models, including those Copilot uses. Optional feedback you submit can be used to improve the service, but Microsoft says it is not used to train the foundation models.
Can Copilot read files I don't have access to?
No. Microsoft documents that Copilot only surfaces organizational data the individual user has at least view permission for, using the same access controls as other Microsoft 365 services. The practical risk is files that are shared more widely than their owners intended, because Copilot can surface those to anyone with access.
Which AI model does Copilot use?
It depends on the experience and changes over time. Microsoft says Copilot uses a real-time router in its default Auto mode, and offers Quick response and Think deeper options. Microsoft also lists OpenAI and Anthropic models as options in some experiences, which administrators can allow or block.
Is Copilot the same as ChatGPT?
No. Copilot is a Microsoft product that coordinates a language model, your Microsoft Graph content and Microsoft 365 apps. It can use OpenAI models among others, but the grounding, permissions, storage and admin controls around the model are Microsoft's.

Sources