// guide 02

Ground it in your data

"Grounding" means giving Copilot real source material to work from. A grounded answer is built from your documents, email, meetings or code. An ungrounded one relies on the model's general knowledge, which is where generic and made-up answers come from.

How Microsoft 365 Copilot finds your content

Microsoft 365 Copilot retrieves relevant content from Microsoft Graph (your files, mail, chats, calendar and meetings) before it generates a response. It only retrieves content the signed-in user already has permission to see. Microsoft's Copilot overview explains this flow in detail.

Retrieval is good, but it isn't psychic. If several documents could match, Copilot may pick the wrong one. Naming the source removes the guesswork.

Point to a specific source

Grounding GitHub Copilot

In the editor, context comes from the code around your cursor, your open files and anything you explicitly reference in chat. To keep suggestions on track:

Grounding your own agents

If you build agents in Copilot Studio, you choose the knowledge sources yourself, such as SharePoint sites, public websites or uploaded files. Narrow, well-maintained sources produce more reliable agents than "everything we have."

Grounding only works if the source is right. Outdated or duplicate documents produce confident answers built on stale facts, so good file hygiene pays off.