Preview unavailableThe idea behind the sample
People Directory is a SharePoint Framework Copilot Component that brings Microsoft 365 people search directly into the Copilot canvas. A declarative agent calls the component as a tool and it renders a live, interactive people search experience in both inline and fullscreen display modes.
The sample reads real tenant directory data through the SPFx-brokered Microsoft Graph client using /users (beta), supports internal-only and active-only filters, shows profile photos and key identity details, and provides direct actions to start a Teams chat or send email to selected users.
Make it your own
Start with the author's setup instructions, explore the implementation, and adapt the pattern to your environment. Sample code stays in its original repository, together with its requirements, license and contribution history.
Read the source documentationA closer look
Preview unavailable
Preview unavailableKeep exploring
- Getting started with SharePoint Framework — Set up your development environment and start building SharePoint Framework solutions.
- Microsoft Copilot extensibility — Build and extend experiences for Microsoft Copilot with agents and tools.
- Use Microsoft Graph in your solution — Use Microsoft Graph from SharePoint Framework solutions to access Microsoft 365 data.
