Get instant, personalized insights on any SharePoint page. This Application Customizer leverages the Microsoft Graph Copilot API to analyze page content alongside your emails, chats, meetings, and files — surfacing key people, pending actions, decisions, and context that matter to you.
| Section | Description |
|---|---|
| My Role | How this page relates to you |
| Pending Actions | Items that may need your attention |
| TLDR | Key insights at a glance |
| Key Decisions | Important decisions made |
| Activity Timeline | Recent activity and events |
| People | Relevant people from your network |
| References | Sources and related content |
🤖 Built with GitHub Copilot — This solution was developed using a "vibe coding" approach with GitHub Copilot to accelerate development and focus on the meaningful aspects of the demo. The code has been reviewed and refined to ensure quality.
| Every SPFx version is optimally compatible with specific versions of Node.js. In order to be able to build this sample, you need to ensure that the version of Node on your workstation matches one of the versions listed in this section. This sample will not work on a different version of Node. |
| Refer to https://aka.ms/spfx-matrix for more information on SPFx compatibility. |
This sample is optimally compatible with the following environment configuration:
Get your own free development tenant by subscribing to Microsoft 365 developer program
| Version | Date | Comments |
|---|---|---|
| 1.0 | January 25, 2026 | Initial release |
- Microsoft 365 tenant with Copilot for Microsoft 365 licenses
- The following Microsoft Graph API permissions must be approved:
| Permission | Type |
|---|---|
Sites.Read.All |
Delegated |
Mail.Read |
Delegated |
People.Read.All |
Delegated |
OnlineMeetingTranscript.Read.All |
Delegated |
Chat.Read |
Delegated |
ChannelMessage.Read.All |
Delegated |
ExternalItem.Read.All |
Delegated |
- Clone this repository (or download this solution as a .ZIP file then unzip it)
- Ensure that you are at the solution folder
- In the command-line run:
npm installheft build
- To debug:
heft start
- To deploy:
- Bundle and package the solution:
heft build --production - Upload the
.sppkgfile to your SharePoint App Catalog - Approve the API permissions in the SharePoint Admin Center
- Bundle and package the solution:
This extension illustrates the following concepts:
- Using the Microsoft Graph Copilot API to create AI-powered conversations
⚠️ Beta API: This API is currently in beta and subject to changes. Always verify the latest documentation.- 📋 Known Limitations: Review the known limitations before implementation.
- 📜 Terms of Use: Always verify the terms and conditions for API usage.
- Prompt engineering for structured output — using advanced prompts to instruct Copilot to return JSON schemas that power custom interfaces
- Passing page context as resources to Copilot for contextual analysis
- Processing and displaying Copilot source citations with attribution
- Creating a floating side tab trigger button with FluentUI
- Implementing a responsive panel with animated loading states
- Separating API logic into a dedicated service layer (
CopilotService) - Using SCSS Modules with Fluent Design System variables
- Building SPFx solutions with the Heft toolchain
📖 For a deeper dive into the architecture, see the Architecture Documentation.
Here's a debug URL for testing around this sample:
?debugManifestsFile=https://localhost:4321/temp/build/manifests.js&noredir=true&loadSPFX=true&customActions={"48cf64ba-259f-4964-be91-efd229cd49c6":{"location":"ClientSideExtension.ApplicationCustomizer","properties":{"testMessage":"Test+message"}}}
THIS CODE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.







