Preview unavailableThe idea behind the sample
SharePoint Photos Copilot Agent brings natural-language photo discovery to Microsoft Copilot. It searches SharePoint document libraries and, when requested, personal OneDrive by using Microsoft Graph Search, then presents matching images in an interactive gallery.
The gallery supports responsive layouts, fullscreen browsing, pagination, zoom, thumbnails, slideshow controls, date filtering, and relevance, modified-date, or name sorting. Search scopes can target a SharePoint site, document library, folder, or explicitly requested OneDrive content.
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 unavailable
Preview unavailableKeep exploring
- Build agents for Microsoft Copilot — Extend Microsoft Copilot with declarative agents, plugins, and connectors.
- Overview of the SharePoint Framework — Learn about the SharePoint Framework client-side development model.
- Use Microsoft Graph in your solution — Use Microsoft Graph from SharePoint Framework solutions to access Microsoft 365 data.
