Agent for Copilot for Microsoft 365, is designed to assist users with PowerShell scripts related to PnP Script Samples. This agent reviews existing scripts, analyzes them for potential improvements, and helps build supporting documentation.
By leveraging the capabilities of Microsoft 365 Copilot, the agent provides insightful suggestions and streamlines the development process, ensuring scripts are optimized and well-documented.
| Version | Date | Comments |
|---|---|---|
| 1.0 | August 7th, 2025 | Initial release |
- Microsoft 365 tenant with Microsoft 365 Copilot
- First, select the Microsoft 365 Agents Toolkit icon on the left in the VS Code toolbar.
- In the Account section, sign in with your Microsoft 365 account if you haven't already.
- Create app by clicking
Provisionin "Lifecycle" section. - Select
Preview in Copilot (Edge)orPreview in Copilot (Chrome)from the launch configuration dropdown. - Once the Copilot agent is loaded in the browser, click on the "…" menu and select "See all agents". You will see your declarative agent on the left rail. Clicking on it will change the experience to showcase the logo and name of your declarative agent.
- Ask a question to your declarative agent and it should respond based on the instructions provided.
Extended description of the contents of the sample. What elements does it include? What concepts does illustrate?
Using this sample you can extend Microsoft 365 Copilot with an agent that:
- How to Contribute
- Ask questions about the repo
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.