Module 12: OneDrive, SharePoint, Files, and Work Data
Lesson 12.4: How to Reference Files in Prompts
Lesson Promise
Reference files, folders, people, meetings, emails, and SharePoint context precisely so Copilot answers from the intended sources.
Real-World Scenario
A marketer wants Copilot to write a campaign brief using a brand guide, product FAQ, customer research, and launch timeline.
Core Concept
Context IQ lets users insert references such as Microsoft 365 files, images, people, meetings, chats, and emails, with experiences varying by license.
Microsoft Support notes cloud and local file reference paths, SharePoint site scoping, supported file formats, and limits such as referencing up to ten files or pages within a SharePoint site.
A strong file-reference prompt tells Copilot which sources to use, what task to perform, what not to use, and how to report missing or conflicting information.
Step-By-Step Workflow
- Choose the fewest files needed for the task.
- Check supported format, access, location, and file complexity.
- Insert or attach the files using available Copilot reference tools.
- Name the source role for each file.
- Ask Copilot to cite or identify which source supports each claim.
- Ask it to flag missing, outdated, or conflicting source material.
Prompt Lab
Bad Prompt
Use these files to make a campaign brief.
Better Prompt
Use the brand guide, product FAQ, customer research, and launch timeline to draft a campaign brief. Flag missing or conflicting information.
Expert Prompt
Use only these referenced files: brand guide for voice, product FAQ for approved claims, customer research for audience pains, and launch timeline for dates. Draft a campaign brief with source notes for each section, [VERIFY] markers for unsupported claims, conflicts between sources, and questions for the project owner.
Hands-On Exercise
Create a four-source prompt using safe mock files and define each file's role.
Deliverable
A source-grounded prompt with file roles, unsupported-claim markers, and verification questions.
Work Data Review Checklist
Common Mistakes
- Assuming Copilot can only find files you personally meant to share instead of files your permissions allow.
- Leaving old, duplicated, ownerless, or overshared files in project folders and expecting Copilot to ignore them.
- Using broad SharePoint sites or folders as context when a few specific files would be safer and clearer.
- Referencing unsupported, local-only, too-large, or overly complex files without converting or simplifying them.
- Sharing Copilot-ready folders externally without reviewing links, edit permissions, block-download settings, and sensitive content.
Quiz / Checkpoint
Why define each file's role in a prompt?
It tells Copilot which source should govern tone, facts, dates, claims, or decisions.
Official Sources To Verify
- Microsoft 365 Copilot privacy
- Microsoft 365 Copilot data and compliance readiness
- Configure a secure and governed foundation for Microsoft 365 Copilot
- Secure and govern Copilot
- Refer to specific files and more in Microsoft 365 Copilot
- File formats supported by Microsoft 365 Copilot
- Share files and folders in Microsoft OneDrive
- External or guest sharing in OneDrive, SharePoint, and Lists
- Manage sharing settings for SharePoint and OneDrive
- Frequently asked questions about Copilot in OneDrive
Want your AI product explained to a large AI-native audience?
Kingy AI helps AI companies turn complex products into clear, useful YouTube videos that drive awareness, product understanding, demos, clicks, and search visibility.

