This declarative agent is designed to assist users in finding more information about the PnP reusable React controls. It provides a user-friendly interface for users to ask questions and receive relevant answers based on the information available in the PnP documentation.
PnP Assistant helping user to find information about a specific control:

PnP Assistant helping user to find information about a specific control's properties:

PnP Assistant helping user to find a control that matches a specific requirement:

- Guido Zambarda - M365 Development MVP
| Version | Date | Comments |
|---|---|---|
| 1.0 | May 18, 2025 | Initial release |
Prerequisites
To run this app template from your local dev machine, you will need:
- A Microsoft 365 account for development.
- Teams Toolkit Visual Studio Code Extension version 5.0.0 and higher or Teams Toolkit CLI
- Microsoft 365 Copilot license
-
Clone this repository (or download solution as .ZIP file)
-
Rename the
.env.dev.examplefile to.env.devand update the following values:# Built-in environment variables TEAMSFX_ENV=" dev" APP_NAME_SUFFIX=" dev" TEAMS_APP_ID=aad90fc0-dbbc-42e2-b9c1-f30b8cc3894d TEAMS_APP_TENANT_ID=<tenant_id> M365_TITLE_ID= M365_APP_ID=
-
From the VSCode Teams Toolkit sign-in to your Microsoft 365 account.
-
From the VSCode Teams Toolkit provision the solution to create the Teams app.
-
Go to https://www.office.com/chat?auth=2 URL and select the agent.
-
Use one of the conversation starters to start trying the agent.
This sample demonstrates the following concepts:
- Build a declarative agent that uses one or multiple sites as knowledge base.
- Answer questions about the PnP reusable React controls and PnP reusable property controls.
We do not support samples, but this community is always willing to help, and we want to improve these samples. We use GitHub to track issues, which makes it easy for community members to volunteer their time and help resolve issues.
You can try looking at issues related to this sample to see if anybody else is having the same issues.
If you encounter any issues using this sample, create a new issue.
Finally, if you have an idea for improvement, make a suggestion.
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.