Skip to content

Lesson 14 ยท Search, Files and Notebooks

Grounding and Copilot Search

Learn how Copilot grounds answers in permitted work data, how Copilot Search differs from chat, why content quality matters and how to ask for good sources.

When Copilot answers a question about your work, it first has to find relevant material. If it finds the wrong file, even an excellent model gives a poor answer. Understanding grounding and search helps you diagnose bad answers and ask in ways that find the right sources.

The automatic work grounding in this lesson mostly requires the Microsoft 365 Copilot (Premium) license. Without it, you provide the content yourself.

How grounding works

At a high level:

flowchart TD
  Q["Your question"] --> R["Retrieve content you may access"]
  R --> M["Model writes an answer from that content"]
  M --> C["Answer with references"]

Retrieval comes before writing, and both steps can fail.

Microsoft describes a semantic index that improves search by understanding Microsoft 365 data in lexical and semantic ways, and Microsoft Graph and Work IQ as sources of work context such as emails, files, meetings, calendars, teams and relationships. The general pattern is called retrieval-augmented generation, introduced in retrieval-augmented generation basics.

Permissions come first

Microsoft states that Copilot only surfaces organizational data that you have at least permission to view. It does not give you new access. But permission is not the same as appropriate. If a sensitive file was shared too widely by mistake, Copilot can make it much easier to find. That is why many organizations review sharing before a rollout.

If you see content you should not be able to access, do not use it or pass it on. Report it to the owner or to IT.

Python Stand-in: permission-trimmed retrieval

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Notice two things. The employee never sees the salary file. And the old 2023 policy scores as highly as the 2026 one. In this toy model, nothing says which document is current. Real systems use many more signals, but you should still check dates yourself.

Copilot Search and chat

Copilot Search is a universal search experience across Microsoft 365 apps and connected non-Microsoft data sources. Microsoft says it is for users with a Microsoft Copilot license, and you can move from search results into chat to explore further or complete a task.

Use search when Use chat when
You want a specific file or message You want an explanation or a draft
You will open and read the source You need several sources combined
You remember a name, date or owner You have a question in your own words

A good habit is: find first, then ask. Locate the correct document, confirm it is current, then ask chat about that document.

Better source requests

TEXT
Using only "Travel policy 2026", what approval do I need for a train trip
over 300 EUR? Quote the sentence.
Find the latest version of the onboarding checklist. Tell me when it was
last changed and who owns it.
Search my emails and chats with Sam from November about the pilot.

Name files, people, dates and projects. When you ask for the latest version, check the date yourself.

Connected sources

Organizations can add Copilot connectors so that Copilot can use content from outside systems, such as wikis or ticket tools. An admin must enable them. Microsoft says data from connectors appears only if the user has permission to access it. Ask your admin which connectors exist before you assume that Copilot can see a system.

Why answers go wrong

Symptom Possible cause
Old facts Outdated documents look relevant
"I could not find it" No permission, new content or unusual wording
Mixed-up projects Similar names
Missing detail It is in an image, a call or someone's memory
Confident but wrong The model filled a gap

When an answer is wrong, first check which sources it used. Fixing a file often helps more than rewording the prompt.

Improve content quality

Content quality is a team job: clear titles, current owners, archived old versions and one authoritative copy.

TEXT
For each important team document:
[ ] A title that says what it is
[ ] An owner
[ ] A review date
[ ] Old versions moved to an archive
[ ] Sharing set to the people who need it

If your team owns policies, add a "Current version" note and a review date to each one. It helps people and tools alike.

A diagnosis example

Suppose you ask about the current expense limit and get an old figure. Work through the problem like this:

  1. Open the references in the answer. You find that it used a slide deck from two years ago.
  2. Search for the current policy. You find a newer document with a vague title, such as "Finance update final v2".
  3. Ask again and name the newer document. The answer now matches it.
  4. Report the problem to the policy owner: give the file a clear title, mark it as current and archive the old deck.

Step 4 is the one people skip, but it fixes the issue for everyone. Your colleagues, and any agents using the same content, will meet the same confusion until someone cleans it up.

What to tell your team

When you share an answer that came from work grounding, say which documents it relied on. A colleague can then open them, spot an outdated source and correct you early. This habit takes one line and builds trust: "Based on Travel policy 2026 and the finance team's note; please check the dates." It also teaches others to look for sources instead of accepting a confident paragraph.

Do not assume that Copilot searched everything. It works with what it can access and retrieve for this question. A missing result is not proof that a document does not exist.

Check your understanding

Quick check ยท 3 questions

of 3 answered You scored / 3 ยท perfect!

  1. 1. What does permission-based grounding mean?

    It respects existing permissions instead of adding access.
  2. 2. Copilot gives a policy answer from 2023. What should you check first?

    Old files are a common cause of outdated answers.
  3. 3. Why is 'Copilot could not find it' not proof that something does not exist?

    Retrieval has limits, so search elsewhere before you conclude.

Summary

  • Grounding retrieves permitted content, then a model writes from it.
  • Permissions apply, but oversharing makes sensitive content easier to find.
  • Search is good for finding; chat is good for explaining and combining.
  • Name sources and check versions and dates.
  • Fix content quality and sharing, not only prompts.

Next: Web Search and Citations in Copilot

Your progress is saved in this browser. No account needed.