Add M365 Data Management agent with MCP and GraphicArt#54
Add M365 Data Management agent with MCP and GraphicArt#54
Conversation
|
First merged complete v1 of SharePoint Pharma Data Manager, for copilot dev camp.A specialized Microsoft Copilot agent that combines Microsoft 365 data management with pharmaceutical regulatory compliance expertise. This agent helps users organize SharePoint content, manage permissions, generate analytics, and access regulatory guidance from FDA, EMA, WHO, and ICH sources. It provides real-time access to pharmaceutical documentation standards, GxP compliance requirements, and clinical trial data management best practices while leveraging Microsoft 365's powerful content management capabilities. |
waldekmastykarz
left a comment
There was a problem hiding this comment.
Thank you for the submission @KatT-AI. I suggest we update the description of the agent. Since it only reads files from OneDrive and SharePoint, and does web search, I suppose that we remove the bits about:
- permission management: no ability to read or change permissions
- filtering by permissions: not possible, given all returned information is already security trimmed
- analytics and reporting: this agent doesn't have access to the necessary information to do this
- data governance: this agent doesn't have access to the necessary information to do this
- Pharmaceutical Regulatory Compliance: unless you upload specific content to your site, this won't work
Please update the description of the agent so that it correctly reflects the agent's capabilities. I'll mark this PR as draft until you've changed it.
|
Hi @waldekmastykarz , • Removed references to permission management, permission-based filtering, analytics & reporting, and data governance to reflect the agent’s actual capabilities. Let me know if anything else needs tweaking. |
| - Search for information from trusted sources | ||
| - Up-to-date guidance from official documentation | ||
|
|
||
| ### Pharmaceutical Manufacturing Intelligence |
There was a problem hiding this comment.
This seems out of scope if the agent is named "Data Manager". Let's remove it because it doesn't seem related to the agent's functionality, not even looking at the agent's conversation starters.
|
@KatT-AI are you able to provide an update? When you have resolved the comments, please mark this PR as ready for review, thank you! |
- Remove Pharmaceutical Manufacturing Intelligence section from README per reviewer request - Remove pharma/regulatory references (FDA, EMA, WHO, ICH) from instruction.txt - Restructure README to match latest pnp/copilot-pro-dev-samples template - Update tracking image to markdown format per declarative-agent-sample-review checklist - Update app manifest schema from v1.19 to v1.24 - Update declarative agent schema from v1.3 to v1.5 - Add assets/sample.json metadata file for gallery listing - Fix Help section issue label from da-qna-graphapi-plugin to da-sharepoint-data-manager - Clear tenant-specific IDs from env/.env.dev - Normalize URLs to remove mixed locale prefixes (en-us, en-gb) - Update contributor GitHub account to KatT-AI for consistency with PR author
- Add ai-plugin.json with Microsoft Learn MCP server (search and fetch) - Update declarativeAgent.json: add MCP action, GraphicArt capability, behavior_overrides with discourage_model_knowledge, disclaimer, updated conversation starters - Update instruction.txt: add MCP tool usage guidelines, fallback behavior, Sources section requirement, GraphicArt instructions - Update manifest.json: schema v1.24 - Update README.md: reflect MCP, GraphicArt, and grounded responses features - Update sample.json: set API-PLUGIN to Yes, update descriptions for MCP - Clear .env.dev tenant-specific IDs
|
Hi @garrytrinder @waldekmastykarz, All requested changes have been addressed:
Ready for review. Thank you! |
There was a problem hiding this comment.
Pull request overview
Adds a new Teams Toolkit sample (“da-sharepoint-data-manager”) for a declarative Microsoft 365 Copilot agent that helps users organize and find SharePoint/OneDrive content, including an MCP-based Microsoft Learn search plugin and supporting app package assets/config.
Changes:
- Introduces Teams Toolkit lifecycle config (
teamsapp.yml) plus environment and VS Code launch/settings for local provisioning and preview. - Adds the Teams app package + declarative agent definition (manifest, instructions, conversation starters, and MCP plugin).
- Adds sample documentation and metadata (README +
assets/sample.json) and associated images.
Reviewed changes
Copilot reviewed 12 out of 16 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| samples/da-sharepoint-data-manager/teamsapp.yml | Teams Toolkit provision/publish lifecycle for the sample app package. |
| samples/da-sharepoint-data-manager/README.md | Sample documentation, setup steps, and feature overview. |
| samples/da-sharepoint-data-manager/env/.env.dev | Dev environment defaults for Teams Toolkit provisioning. |
| samples/da-sharepoint-data-manager/assets/sample.json | Sample catalog metadata entry for the repo/gallery. |
| samples/da-sharepoint-data-manager/assets/prompts.png | Sample image asset. |
| samples/da-sharepoint-data-manager/appPackage/outline.png | Teams app icon (outline). |
| samples/da-sharepoint-data-manager/appPackage/color.png | Teams app icon (color). |
| samples/da-sharepoint-data-manager/appPackage/manifest.json | Teams app manifest referencing the declarative agent. |
| samples/da-sharepoint-data-manager/appPackage/instruction.txt | Agent instruction prompt (tool usage + response guidelines). |
| samples/da-sharepoint-data-manager/appPackage/declarativeAgent.json | Declarative agent definition (capabilities, starters, plugin action). |
| samples/da-sharepoint-data-manager/appPackage/ai-plugin.json | MCP plugin definition for Microsoft Learn search/fetch. |
| samples/da-sharepoint-data-manager/.vscode/settings.json | VS Code debug/schema settings for Teams Toolkit workflow. |
| samples/da-sharepoint-data-manager/.vscode/launch.json | VS Code launch configs for “Preview in Copilot” (Edge/Chrome). |
| samples/da-sharepoint-data-manager/.vscode/extensions.json | Recommended VS Code extension for Teams Toolkit. |
| samples/da-sharepoint-data-manager/.gitignore | Ignores Teams Toolkit local env/user files and build output. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| @@ -0,0 +1,55 @@ | |||
| { | |||
| "$schema": "https://aka.ms/json-schemas/copilot-extensions/v2.1/plugin.schema.json", | |||
| "schema_version": "v2.4", | |||
| ## Summary | ||
|
|
||
| A declarative agent for Microsoft 365 Copilot that helps users manage and organize their SharePoint sites and OneDrive content. The agent leverages OneDrive and SharePoint access, Microsoft Learn MCP integration for official documentation, and GraphicArt for visual diagrams to provide document search, organization guidance, and best practices for content management. | ||
|
|
|
@KatT-AI please review the latest comments, the PR has been marked as draft, mark it as ready to review when you have reviewed the comments. |
Align schema_version with $schema URL (v2.4 → v2.1) and restore empty tenant-specific values in .env.dev.
5c9e531 to
23ee6dc
Compare
Summary
Adds a new Teams Toolkit sample (
da-sharepoint-data-manager) — a declarative Microsoft 365 Copilot agent that helps users organize and find SharePoint/OneDrive content.learn.microsoft.com/api/mcp) for searching and fetching official documentationdiscourage_model_knowledgebehavior override to prioritize user data and official docs over general model knowledgeChanges
teamsapp.yml) + environment and VS Code launch/settingsassets/sample.json) with images